[PATCH] drm cleanup patches

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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(-)
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/dri-devel


[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux