summaryrefslogtreecommitdiff
path: root/tests/kms_plane.c
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2019-03-28 19:40:07 +0200
committerVille Syrjälä <ville.syrjala@linux.intel.com>2019-03-29 22:20:00 +0200
commitd8bd4d72039a5dd805818bad68dfb16501e34731 (patch)
tree90cc8f85d850897a83a2adf7f259e89c0af80cab /tests/kms_plane.c
parent80eb61459791a1ea494ae005f9fd90a01cacb0e3 (diff)
tests/kms_plane: Reduce the plane size 64x64
Reduce the plane size further to speed up the test. 64x64 is the universal i915 minimum cursor size so we'll use that. And since we chose wisely we'll make cursors use the reduced size as well. Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Diffstat (limited to 'tests/kms_plane.c')
-rw-r--r--tests/kms_plane.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/kms_plane.c b/tests/kms_plane.c
index 143bc5e6..4007c894 100644
--- a/tests/kms_plane.c
+++ b/tests/kms_plane.c
@@ -499,12 +499,12 @@ static bool test_format_plane(data_t *data, enum pipe pipe,
IGT_FORMAT_ARGS(format),
kmstest_pipe_name(pipe), plane->index);
- if (plane->type != DRM_PLANE_TYPE_CURSOR && data->display.is_atomic) {
+ if (data->display.is_atomic) {
struct igt_fb test_fb;
int ret;
- igt_create_fb(data->drm_fd, 256, 256, format,
- LOCAL_DRM_FORMAT_MOD_NONE, &test_fb);
+ igt_create_fb(data->drm_fd, 64, 64, format,
+ LOCAL_DRM_FORMAT_MOD_NONE, &test_fb);
igt_plane_set_fb(plane, &test_fb);