summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMika Kahola <mika.kahola@intel.com>2019-04-08 13:52:50 +0300
committerMika Kahola <mika.kahola@intel.com>2019-04-08 16:46:43 +0300
commitfef5706e11dcfc72cc759242842d36e7c8dc5e31 (patch)
tree829d57dde173c64f2ddb4d953350cc6a5b088b25 /lib
parent08cf63a8fac11e3594b57580331fb319241a0d69 (diff)
tests/kms_plane_scaling: Check supported format for rotation
Let's check if 90/270 rotation is supported for the format that we are trying to test. Currently, if we try to test unsupported format the kernel complains with the following message. "[drm:skl_plane_check [i915]] Unsupported pixel format Y210 little-endian (0x30313259) for 90/270!" v2: Use igt_plane_has_format_mod() function to select formats that are capable of 90/270 rotation (Ville) Suggested-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Signed-off-by: Mika Kahola <mika.kahola@intel.com> Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions