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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

-- 
1.8.5.1

_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux