[PATCH 0/3] drm: Test for primary plane in new drm_atomic_helper_check_crtc_state()
Jocelyn Falempe
jfalempe at redhat.com
Fri Jun 24 08:09:39 UTC 2022
On 17/06/2022 12:32, Thomas Zimmermann wrote:
> 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
the whole serie looks good to me,
Acked-by Jocelyn Falempe <jfalempe at redhat.com>
More information about the dri-devel
mailing list