mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-23 06:13:04 +00:00
kms_flip: Exercise flip-vs-render
For machine with split BCS/RCS rings, we also need to test whether we correctly wait upon outstanding render work before flipping and changing modes. This should also serve to exercise the ring selection code for flips. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
@@ -1304,6 +1304,7 @@ unsigned int kmstest_create_fb(int fd, int width, int height, int bpp,
|
||||
|
||||
fb->width = width;
|
||||
fb->height = height;
|
||||
fb->tiling = tiled;
|
||||
fb->drm_format = bpp_depth_to_drm_format(bpp, depth);
|
||||
|
||||
return fb->fb_id;
|
||||
@@ -1352,6 +1353,7 @@ unsigned int kmstest_create_fb2(int fd, int width, int height, uint32_t format,
|
||||
|
||||
fb->width = width;
|
||||
fb->height = height;
|
||||
fb->tiling = tiled;
|
||||
fb->drm_format = format;
|
||||
fb->fb_id = fb_id;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user