mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-23 14:23:03 +00:00
lib/display: Wait for a vblank after SetPlane()
Let's be testing friendly and gently wait for the next vblank before returning from commit() when needed. After igt_display_commit() one can safely look at the CRC. Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
This commit is contained in:
+3
-2
@@ -136,8 +136,9 @@ typedef struct {
|
||||
struct igt_pipe {
|
||||
igt_display_t *display;
|
||||
enum pipe pipe;
|
||||
unsigned int need_set_crtc : 1;
|
||||
unsigned int need_set_cursor : 1;
|
||||
unsigned int need_set_crtc : 1;
|
||||
unsigned int need_set_cursor : 1;
|
||||
unsigned int need_wait_for_vblank : 1;
|
||||
#define IGT_MAX_PLANES 4
|
||||
int n_planes;
|
||||
igt_plane_t planes[IGT_MAX_PLANES];
|
||||
|
||||
Reference in New Issue
Block a user