mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-12 10:26:12 +00:00
tests/kms_cursor_crc: Review from Imre for Sagar's patch
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
parent
ba3a1a86b7
commit
701a755bde
@ -358,9 +358,8 @@ igt_main
|
|||||||
ret = drmGetCap(data.drm_fd, DRM_CAP_CURSOR_HEIGHT, &cursor_height);
|
ret = drmGetCap(data.drm_fd, DRM_CAP_CURSOR_HEIGHT, &cursor_height);
|
||||||
igt_assert(ret == 0);
|
igt_assert(ret == 0);
|
||||||
|
|
||||||
fprintf(stdout, "%d, %d\n", cursor_width, cursor_height);
|
|
||||||
/* We assume width and height are same so max is assigned width */
|
/* We assume width and height are same so max is assigned width */
|
||||||
cursor_max_size = (int)cursor_width;
|
igt_assert_cmpint(cursor_width, ==, cursor_height);
|
||||||
|
|
||||||
igt_set_vt_graphics_mode();
|
igt_set_vt_graphics_mode();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user