summaryrefslogtreecommitdiff
path: root/tests/kms_plane_multiple.c
diff options
context:
space:
mode:
authorNicholas Kazlauskas <nicholas.kazlauskas@amd.com>2018-11-30 09:21:27 -0500
committerHarry Wentland <harry.wentland@amd.com>2019-01-08 09:57:58 -0500
commitdc97f6ed7522b4d2e5a375bbd573f122abe91325 (patch)
tree03a5c51b86e2eeddc7b93310daf91e4a85e858c4 /tests/kms_plane_multiple.c
parente7b6c813e188cdf2ba73acd85e632d80783ffa98 (diff)
tests/kms_plane_lowres: Don't fail tests when missing format/mod support
The kms_plane_lowres subtests will fail on non-i915 hardware because of the devid lookups and tiling format requirements. This patch makes use of the igt_display_has_format_mod() helper to check for support before failing fb creation. The tests still won't fully run yet on i915 hardware because they'll skip during calls to igt_assert_plane_visible - those require an i915 extension to get the CRTC/plane set for a given pipe. v2: Use igt_display_has_format_mod helper (Ville) v3: Move variable declarations to loop scope (Ville) Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com> Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Diffstat (limited to 'tests/kms_plane_multiple.c')
0 files changed, 0 insertions, 0 deletions