Skip to content

Universal plane testing

Matt Roper intel-gfx 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3kms: Add universal plane supportlib/igt_kms.c lib/igt_kms.h+107 -300 replies
2/3kms_plane: Update for universal plane changestests/kms_plane.c+8 -30 replies
3/3kms_universal_plane: Universal plane testingtests/Makefile.sources tests/kms_universal_plane.c+212 -02 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH i-g-t 0/3] Universal plane testing

Now that the DRM core supports universal planes, we should update intel-gpu-tools to exercise this new functionality.

The first patch here reworks some of the igt_kms library internals to handle primary and cursor planes coming from the DRM plane list. This breaks a few invariants that i-g-t previously relied upon (primary plane must be first in the plane list, cursor plane must be last), so the second patch here updates the existing kms_plane test to allow it to continue working with these changes (that's the only test I noticed that made assumptions about plane order). Finally, the third patch adds a new test for Intel-specific primary plane handling via the universal plane API. Note that this new test depends on i915 patch "drm/i915: Intel-specific primary plane handling" to allow the primary plane to be disabled independently of the CRTC. This test will fail if the DRM's primary plane helper is used rather than the Intel-specific support from that patch.

Matt Roper (3):
kms: Add universal plane support
kms_plane: Update for universal plane changes
kms_universal_plane: Universal plane testing

 lib/igt_kms.c               | 132 ++++++++++++++++++++-------
 lib/igt_kms.h               |   5 ++
 tests/Makefile.sources      |   1 +
 tests/kms_plane.c           |  11 ++-
 tests/kms_universal_plane.c | 211 ++++++++++++++++++++++++++++++++++++++++++++
 5 files changed, 327 insertions(+), 33 deletions(-)
 create mode 100644 tests/kms_universal_plane.c
Signature · 1 line
1.8.5.1