All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm cleanup patches
@ 2012-02-01 10:38 Sascha Hauer
  2012-02-01 10:38 ` [PATCH 01/20] drm crtc: use drm_mode_destroy instead of kfree in drm_mode_remove Sascha Hauer
                   ` (20 more replies)
  0 siblings, 21 replies; 40+ messages in thread
From: Sascha Hauer @ 2012-02-01 10:38 UTC (permalink / raw)
  To: dri-devel; +Cc: kernel

The following patches contain some fixes and cleanups for the drm
core.

- fix memory holes
- make some initialization / deinitialization more symmetric
- add convenience functions for creating properties
- remove DRM_CONNECTOR_MAX_PROPERTY limitation

All patches tested on a GeForce 6200 LE with the nouveau driver and
a DELL E6220 Laptop using the intel driver.

Please review and consider applying

Sascha

Sascha Hauer (20):
      drm crtc: use drm_mode_destroy instead of kfree in drm_mode_remove
      drm crtc: add forgotten idr cleanup functions
      drm drm_edit: drm modes have to be free with drm_mode_destroy
      drm drm_fb_helper: destroy modes
      drm: add proper return value for drm_mode_crtc_set_gamma_size
      drm fb helper: use drm_helper_connector_dpms to do dpms
      drm fb helper: remove unused variable conn_limit
      drm fb helper: remove unused variable crtc_id
      drm fb_helper: use lists for crtcs.
      drm: remove now unused crtc_count parameter from drm_fb_helper_init
      drm fb helper: add the connectors inside drm_fb_helper_initial_config
      drm crtc_helper: use list_for_each_entry
      drm crtc: Fix locking comments
      drm: add convenience function to create an enum property
      drm: add convenience function to create an range property
      drm: store connector properties in list
      drm: remove checks for same value in set_prop
      drm: do not call drm_connector_property_set_value from drivers
      drm exynos: use drm_fb_helper_set_par directly
      drm: do not set fb_info->pixmap fields

 drivers/gpu/drm/drm_crtc.c                  |  315 +++++++++++++--------------
 drivers/gpu/drm/drm_crtc_helper.c           |   12 +-
 drivers/gpu/drm/drm_edid.c                  |    2 +-
 drivers/gpu/drm/drm_fb_helper.c             |  216 +++++++------------
 drivers/gpu/drm/exynos/exynos_drm_fbdev.c   |   49 +----
 drivers/gpu/drm/gma500/cdv_intel_hdmi.c     |    4 -
 drivers/gpu/drm/gma500/cdv_intel_lvds.c     |   33 +---
 drivers/gpu/drm/gma500/framebuffer.c        |   15 +-
 drivers/gpu/drm/gma500/psb_intel_lvds.c     |   36 +---
 drivers/gpu/drm/gma500/psb_intel_sdvo.c     |   45 +----
 drivers/gpu/drm/i2c/ch7006_drv.c            |    5 +-
 drivers/gpu/drm/i915/intel_dp.c             |   11 -
 drivers/gpu/drm/i915/intel_fb.c             |   11 +-
 drivers/gpu/drm/i915/intel_hdmi.c           |    5 -
 drivers/gpu/drm/i915/intel_modes.c          |   28 +--
 drivers/gpu/drm/i915/intel_sdvo.c           |   35 +---
 drivers/gpu/drm/i915/intel_tv.c             |   31 +---
 drivers/gpu/drm/nouveau/nouveau_connector.c |   32 +--
 drivers/gpu/drm/nouveau/nouveau_display.c   |   20 +-
 drivers/gpu/drm/nouveau/nouveau_fbcon.c     |   11 +-
 drivers/gpu/drm/radeon/radeon_connectors.c  |   24 +--
 drivers/gpu/drm/radeon/radeon_display.c     |   70 ++-----
 drivers/gpu/drm/radeon/radeon_fb.c          |   11 +-
 drivers/gpu/drm/vmwgfx/vmwgfx_fb.c          |   14 --
 drivers/video/nvidia/nvidia.c               |    6 -
 include/drm/drm_crtc.h                      |   24 ++-
 include/drm/drm_fb_helper.h                 |    9 +-
 27 files changed, 356 insertions(+), 718 deletions(-)

^ permalink raw reply	[flat|nested] 40+ messages in thread

end of thread, other threads:[~2012-02-06 11:08 UTC | newest]

Thread overview: 40+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-01 10:38 [PATCH] drm cleanup patches Sascha Hauer
2012-02-01 10:38 ` [PATCH 01/20] drm crtc: use drm_mode_destroy instead of kfree in drm_mode_remove Sascha Hauer
2012-02-01 10:38 ` [PATCH 02/20] drm crtc: add forgotten idr cleanup functions Sascha Hauer
2012-02-01 10:38 ` [PATCH 03/20] drm drm_edit: drm modes have to be free with drm_mode_destroy Sascha Hauer
2012-02-01 10:38 ` [PATCH 04/20] drm drm_fb_helper: destroy modes Sascha Hauer
2012-02-01 10:38 ` [PATCH 05/20] drm: add proper return value for drm_mode_crtc_set_gamma_size Sascha Hauer
2012-02-01 10:38 ` [PATCH 06/20] drm fb helper: use drm_helper_connector_dpms to do dpms Sascha Hauer
2012-02-01 10:38 ` [PATCH 07/20] drm fb helper: remove unused variable conn_limit Sascha Hauer
2012-02-01 10:38 ` [PATCH 08/20] drm fb helper: remove unused variable crtc_id Sascha Hauer
2012-02-01 10:38 ` [PATCH 09/20] drm fb_helper: use lists for crtcs Sascha Hauer
2012-02-03 10:04   ` Dave Airlie
2012-02-04 10:47     ` Sascha Hauer
2012-02-04 11:21       ` Dave Airlie
2012-02-06 11:08         ` Sascha Hauer
2012-02-01 10:38 ` [PATCH 10/20] drm: remove now unused crtc_count parameter from drm_fb_helper_init Sascha Hauer
2012-02-01 10:38 ` [PATCH 11/20] drm fb helper: add the connectors inside drm_fb_helper_initial_config Sascha Hauer
2012-02-01 10:38 ` [PATCH 12/20] drm crtc_helper: use list_for_each_entry Sascha Hauer
2012-02-01 10:38 ` [PATCH 13/20] drm crtc: Fix locking comments Sascha Hauer
2012-02-01 10:38 ` [PATCH 14/20] drm: add convenience function to create an enum property Sascha Hauer
2012-02-01 11:48   ` Chris Wilson
2012-02-01 11:53     ` Sascha Hauer
2012-02-01 12:55     ` David Airlie
2012-02-01 13:05       ` Sascha Hauer
2012-02-01 14:00         ` Daniel Vetter
2012-02-03 10:08         ` Dave Airlie
2012-02-03 23:40           ` Sascha Hauer
2012-02-01 10:38 ` [PATCH 15/20] drm: add convenience function to create an range property Sascha Hauer
2012-02-01 11:34   ` Chris Wilson
2012-02-01 10:38 ` [PATCH 16/20] drm: store connector properties in list Sascha Hauer
2012-02-01 10:38 ` [PATCH 17/20] drm: remove checks for same value in set_prop Sascha Hauer
2012-02-01 11:55   ` Chris Wilson
2012-02-01 12:13     ` Sascha Hauer
2012-02-01 12:23       ` Chris Wilson
2012-02-01 10:38 ` [PATCH 18/20] drm: do not call drm_connector_property_set_value from drivers Sascha Hauer
2012-02-01 10:38 ` [PATCH 19/20] drm exynos: use drm_fb_helper_set_par directly Sascha Hauer
2012-02-02  2:25   ` Inki Dae
2012-02-01 10:38 ` [PATCH 20/20] drm: do not set fb_info->pixmap fields Sascha Hauer
2012-02-01 12:00   ` Chris Wilson
2012-02-02 14:13 ` [PATCH] drm cleanup patches Sascha Hauer
2012-02-03 10:21   ` Dave Airlie

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.