[PATCH v2 0/4] drm: add more primary/cursor plane checks

Simon Ser contact at emersion.fr
Fri Dec 11 10:38:59 UTC 2020


This is the same series as v1, but with a new patch appended. I've tried
coming up with a wording that isn't too confusing, while still accepting
configurations like amdgpu's.

Each patch changes the docs and the drm_mode_config_validate at the same
time, so that we can easily revert a patch if needed.

Simon Ser (4):
  drm: rework description of primary and cursor planes
  drm: validate possible_crtcs for primary and cursor planes
  drm: require a non_NULL drm_crtc.primary
  drm: require each CRTC to have a unique primary plane

 drivers/gpu/drm/drm_crtc.c        |  3 +++
 drivers/gpu/drm/drm_mode_config.c | 40 +++++++++++++++++++++++++++++++
 drivers/gpu/drm/drm_plane.c       | 22 +++++++++++------
 3 files changed, 58 insertions(+), 7 deletions(-)

-- 
2.29.2




More information about the dri-devel mailing list