[PATCH v3 0/9] drm: Give crtcs and planes actual names (v3)

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

 



From: Ville Syrjälä <ville.syrjala@xxxxxxxxxxxxxxx>

Another attempt to give crtcs and planes human friendly names. This time I
pulled out coccinelle and added a 'name' parameter to all the crtc and plane
init functions. Third time's the charm, eh?

Previous series at:
http://lists.freedesktop.org/archives/dri-devel/2015-November/094331.html
http://lists.freedesktop.org/archives/dri-devel/2015-November/094359.html

Pushed to:
git://github.com/vsyrjala/linux.git crtc_plane_name_3

Ville Syrjälä (9):
  drm: Pass 'name' to crtc and plane init functions
  drm: Add crtc->name and use it in debug messages
  drm: Add plane->name and use it in debug prints
  drm/i915: Use crtc->name in debug messages
  drm/i915: Use plane->name in debug prints
  drm/i915: Set crtc->name to "pipe A", "pipe B", etc.
  drm/i915: Fix plane init failure paths
  drm/i915: Don't leak primary/cursor planes on crtc init failure
  drm/i915: Give meaningful names to all the planes

 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c          |   3 +-
 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c          |   3 +-
 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c           |   3 +-
 drivers/gpu/drm/armada/armada_crtc.c            |   4 +-
 drivers/gpu/drm/armada/armada_overlay.c         |   2 +-
 drivers/gpu/drm/ast/ast_mode.c                  |   2 +-
 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c  |   2 +-
 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c |   2 +-
 drivers/gpu/drm/bochs/bochs_kms.c               |   2 +-
 drivers/gpu/drm/cirrus/cirrus_mode.c            |   2 +-
 drivers/gpu/drm/drm_atomic.c                    |  53 +++----
 drivers/gpu/drm/drm_atomic_helper.c             |  60 ++++----
 drivers/gpu/drm/drm_crtc.c                      |  35 ++++-
 drivers/gpu/drm/drm_crtc_helper.c               |  24 +--
 drivers/gpu/drm/drm_plane_helper.c              |   7 +-
 drivers/gpu/drm/exynos/exynos_drm_crtc.c        |   2 +-
 drivers/gpu/drm/exynos/exynos_drm_plane.c       |   2 +-
 drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_crtc.c      |   2 +-
 drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_plane.c     |   2 +-
 drivers/gpu/drm/gma500/psb_intel_display.c      |   2 +-
 drivers/gpu/drm/i915/intel_display.c            | 196 +++++++++++++++---------
 drivers/gpu/drm/i915/intel_fbdev.c              |   5 +-
 drivers/gpu/drm/i915/intel_sprite.c             |  45 ++++--
 drivers/gpu/drm/imx/imx-drm-core.c              |   2 +-
 drivers/gpu/drm/imx/ipuv3-plane.c               |   2 +-
 drivers/gpu/drm/mgag200/mgag200_mode.c          |   2 +-
 drivers/gpu/drm/msm/mdp/mdp4/mdp4_crtc.c        |   3 +-
 drivers/gpu/drm/msm/mdp/mdp4/mdp4_plane.c       |   3 +-
 drivers/gpu/drm/msm/mdp/mdp5/mdp5_crtc.c        |   3 +-
 drivers/gpu/drm/msm/mdp/mdp5/mdp5_plane.c       |   2 +-
 drivers/gpu/drm/nouveau/dispnv04/crtc.c         |   2 +-
 drivers/gpu/drm/nouveau/dispnv04/overlay.c      |   4 +-
 drivers/gpu/drm/nouveau/nv50_display.c          |   2 +-
 drivers/gpu/drm/omapdrm/omap_crtc.c             |   2 +-
 drivers/gpu/drm/omapdrm/omap_plane.c            |   2 +-
 drivers/gpu/drm/qxl/qxl_display.c               |   2 +-
 drivers/gpu/drm/radeon/radeon_display.c         |   2 +-
 drivers/gpu/drm/rcar-du/rcar_du_crtc.c          |   2 +-
 drivers/gpu/drm/rcar-du/rcar_du_plane.c         |   2 +-
 drivers/gpu/drm/rockchip/rockchip_drm_vop.c     |   6 +-
 drivers/gpu/drm/shmobile/shmob_drm_crtc.c       |   2 +-
 drivers/gpu/drm/shmobile/shmob_drm_plane.c      |   2 +-
 drivers/gpu/drm/sti/sti_crtc.c                  |   2 +-
 drivers/gpu/drm/sti/sti_cursor.c                |   2 +-
 drivers/gpu/drm/sti/sti_gdp.c                   |   2 +-
 drivers/gpu/drm/sti/sti_hqvdp.c                 |   2 +-
 drivers/gpu/drm/tegra/dc.c                      |  10 +-
 drivers/gpu/drm/tilcdc/tilcdc_crtc.c            |   2 +-
 drivers/gpu/drm/udl/udl_modeset.c               |   2 +-
 drivers/gpu/drm/vc4/vc4_crtc.c                  |   2 +-
 drivers/gpu/drm/vc4/vc4_plane.c                 |   2 +-
 drivers/gpu/drm/virtio/virtgpu_display.c        |   2 +-
 drivers/gpu/drm/virtio/virtgpu_plane.c          |   2 +-
 drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c             |   2 +-
 drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c            |   2 +-
 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c            |   2 +-
 include/drm/drm_crtc.h                          |  12 +-
 include/drm/drm_plane_helper.h                  |   2 +-
 58 files changed, 329 insertions(+), 228 deletions(-)

-- 
2.4.10

_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux