Skip to content

drm: Test for primary plane in new drm_atomic_helper_check_crtc_state()

Thomas Zimmermann dri-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3drm/atomic-helper: Add helper drm_atomic_helper_check_crtc_state()drivers/gpu/drm/drm_atomic_helper.c include/drm/drm_atomic_helper.h+57 -00 replies
2/3drm/simple-kms: Use drm_atomic_helper_check_crtc_state()drivers/gpu/drm/drm_simple_kms_helper.c+6 -80 replies
3/3drm/ast: Enable primary plane with CRTCdrivers/gpu/drm/ast/ast_mode.c+9 -40 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] drm: Test for primary plane in new drm_atomic_helper_check_crtc_state()

Provide drm_atomic_helper_check_crtc_state() for validating a CRTC state against common constraints. As many CRTC need a primary plane to work correctly, add this as the first test.

The simple-KMS helpers already contain related code. Convert it to the new helper. Also add this test to ast.

The simple-kms changes were tested with simpledrm. The ast changes were tested in AST2300 hardware.

Thomas Zimmermann (3):
drm/atomic-helper: Add helper drm_atomic_helper_check_crtc_state() drm/simple-kms: Use drm_atomic_helper_check_crtc_state() drm/ast: Enable primary plane with CRTC

 drivers/gpu/drm/ast/ast_mode.c          | 13 ++++--
 drivers/gpu/drm/drm_atomic_helper.c     | 55 +++++++++++++++++++++++++
 drivers/gpu/drm/drm_simple_kms_helper.c | 14 +++----
 include/drm/drm_atomic_helper.h         |  2 +
 4 files changed, 72 insertions(+), 12 deletions(-)

base-commit: 822a8442835012ce405080cb40f6317ef1e854ac

Signature · 1 line
2.36.1