[PATCH 00/17] drm: Start subclassing crtc_state.

Maarten Lankhorst maarten.lankhorst at linux.intel.com
Fri Mar 1 12:56:10 UTC 2019


When we want to start adding default values to crtc_state, it makes
sense fix all drivers to call __drm_atomic_helper_crtc_reset, like
we do for connectors and planes.

Maarten Lankhorst (17):
  drm/vc4: Fix memory leak during gpu reset.
  drm/atomic: Create __drm_atomic_helper_crtc_reset() for subclassing crtc_state.
  drm/docs: Fix typo in __drm_atomic_helper_connector_reset
  drm/amd: Convert to using __drm_atomic_helper_crtc_reset() for reset.
  drm/mali: Convert to using __drm_atomic_helper_crtc_reset() for reset.
  drm/atmel-hlcdc: Convert to using __drm_atomic_helper_crtc_reset() for reset.
  drm/i915: Use the new __drm_atomic_helper_crtc_reset() helper.
  drm/imx: Convert to using __drm_atomic_helper_crtc_reset() for reset.
  drm/mediatek: Convert to using __drm_atomic_helper_crtc_reset() for reset.
  drm/msm: Convert to using __drm_atomic_helper_crtc_reset() for reset.
  drm/omap: Convert to using __drm_atomic_helper_crtc_reset() for reset.
  drm/rcar-du: Convert to using __drm_atomic_helper_crtc_reset() for reset.
  drm/rockchip: Convert to using __drm_atomic_helper_crtc_reset() for reset.
  drm/tegra: Convert to using __drm_atomic_helper_crtc_reset() for reset.
  drm/vc4: Convert to using __drm_atomic_helper_crtc_reset() for reset.
  drm/vkms: Convert to using __drm_atomic_helper_crtc_reset() for reset.
  drm/vmwgfx: Convert to using __drm_atomic_helper_crtc_reset() for reset.

 .../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 10 ++----
 drivers/gpu/drm/arm/malidp_crtc.c             | 28 ++++++---------
 .../gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c    | 29 ++++++---------
 drivers/gpu/drm/drm_atomic_state_helper.c     | 36 +++++++++++++++----
 drivers/gpu/drm/i915/intel_display.c          |  5 ++-
 drivers/gpu/drm/imx/ipuv3-crtc.c              | 30 ++++++----------
 drivers/gpu/drm/mediatek/mtk_drm_crtc.c       | 29 ++++++---------
 drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c      |  6 ++--
 drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c     | 28 ++++++---------
 drivers/gpu/drm/nouveau/dispnv50/head.c       | 13 ++-----
 drivers/gpu/drm/omapdrm/omap_crtc.c           | 11 +++---
 drivers/gpu/drm/rcar-du/rcar_du_crtc.c        | 11 ++----
 drivers/gpu/drm/rockchip/rockchip_drm_vop.c   | 22 ++++++------
 drivers/gpu/drm/tegra/dc.c                    | 30 ++++++----------
 drivers/gpu/drm/vc4/vc4_crtc.c                |  9 ++---
 drivers/gpu/drm/vkms/vkms_crtc.c              | 33 +++++++----------
 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c           | 20 +++--------
 include/drm/drm_atomic_state_helper.h         |  2 ++
 18 files changed, 145 insertions(+), 207 deletions(-)

-- 
2.20.1



More information about the dri-devel mailing list