diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2018-03-09 22:32:31 +0200 |
---|---|---|
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2018-03-12 17:07:57 +0200 |
commit | 89b915f5aa465d5c3498b170b1572fae20460491 (patch) | |
tree | 52853251a126f5f988fc1f0f2aecbb279c581c0f /tests/kms_plane_multiple.c | |
parent | 8732f0ac3bda3ea32b32fa935e5681600e186c88 (diff) |
tests/pm_rpm: Don't try to create an X-tiled ARGB8888 framebuffer
On most platforms ARGB8888 is only supported by the cursor plane,
which doesn't support tiled buffers. Hence the kernel is under no
obligation to accept the request to create a tiled ARGB888
framebuffer. Apparently we've been letting this slip through so
far, but that is about to change.
Fortunately the resulting fb was neer actually used (in fact the
kernel would have rejected the setplane/atomic ioctl with such
a framebuffer). All we're really interested here is the gem BO
which we feed to the kernel via the setcursor ioctl after changing
the tiling to linear. To avoid changing the test drastically we
can simply change the fb to XRGB8888, which combined with X-tiling
is supported on all platforms.
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'tests/kms_plane_multiple.c')
0 files changed, 0 insertions, 0 deletions