[igt-dev] [PATCH i-g-t v1 0/3] Add helper method to get primary plane assigned by driver
Jessica Zhang
quic_jesszhan at quicinc.com
Fri May 6 18:14:29 UTC 2022
This patch series introduces a helper method to get the primary plane
assigned to a pipe by the driver.
Currently, IGT will use igt_pipe_get_plane_type to get the primary
plane of a pipe and assumes that this is also the plane being assigned
to the pipe by the driver. This isn't necessarily true in cases where
there are multiple primary planes and causes a mismatch between IGT
and driver.
To address this issue, this patch series introduces a helper method to
get the primary plane being assigned to a pipe by the driver and adds
calls to the method within some KMS subtests.
Jessica Zhang (3):
lib/igt_kms: Add helper method to get assigned primary plane from pipe
tests/kms_universal_plane: Use igt_get_assigned_primary to get the
primary plane
tests/kms_rotation_crc: Use igt_get_assigned_primary to get the
primary plane
lib/igt_kms.c | 47 +++++++++++++++++++++++++++++++++++++
lib/igt_kms.h | 1 +
tests/kms_rotation_crc.c | 6 ++++-
tests/kms_universal_plane.c | 2 +-
4 files changed, 54 insertions(+), 2 deletions(-)
--
2.31.0
More information about the igt-dev
mailing list