Skip to content

drm: Introduce drm_crtc_index() and drm_crtc_mask()

Thierry Reding dri-devel intel-gfx 2 versions In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest3 patches 1 replyIn review
  2. v12 patches 6 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3drm: provide a helper for the encoder possible_crtcs maskdrivers/gpu/drm/drm_crtc.c drivers/gpu/drm/drm_crtc_helper.c include/drm/drm_crtc.h+37 -170 replies
2/3drm: Move drm_encoder_crtc_ok() to coredrivers/gpu/drm/drm_crtc_helper.c include/drm/drm_crtc.h+13 -130 replies
3/3drm/i915: Use drm_encoder_crtc_ok()drivers/gpu/drm/i915/intel_display.c+2 -241 reply

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchDavid HerrmannJani NikulaDaniel Vetter
1/3R-b R-b
2/3
3/3R-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v3 thread

Cover letter [PATCH v3 0/3] drm: Introduce drm_crtc_index() and drm_crtc_mask()

This series is a continuation of a patch posted earlier by Russell. It addresses some comments from the initial posting as well as from some discussion on IRC.

Patch 2 moves the drm_encoder_crtc_ok() function from the CRTC helpers into the core so that patch 3 can reuse it to get rid of the duplicate implementation in the i915 driver.

Note that I have a pair of patches that rely on this to fix a bug in the Tegra driver that was exposed by the addition of the panel support, so I would like to take these two patches through the Tegra tree.

Thierry

Russell King (1):
drm: provide a helper for the encoder possible_crtcs mask

Thierry Reding (2):
drm: Move drm_encoder_crtc_ok() to core
drm/i915: Use drm_encoder_crtc_ok()

 drivers/gpu/drm/drm_crtc.c           | 23 +++++++++++++++++++++++
 drivers/gpu/drm/drm_crtc_helper.c    | 29 -----------------------------
 drivers/gpu/drm/i915/intel_display.c | 26 ++------------------------
 include/drm/drm_crtc.h               | 26 ++++++++++++++++++++++++++
 4 files changed, 51 insertions(+), 53 deletions(-)
Signature · 1 line
1.8.4.2