lib/kms: Track need for vblank wait locally

The need to wait for a vblank after programming is due to the way we
actually program the hardware.  Move need_wait_for_vblank out of the
pipe and into a local variable in preparation for future programming
styles (e.g., atomic pageflip) that will need different logic.

Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
This commit is contained in:
Matt Roper
2014-06-30 16:44:23 -07:00
committed by Damien Lespiau
parent 3cc60bab46
commit 2a3e212acc
2 changed files with 10 additions and 6 deletions
-1
View File
@@ -120,7 +120,6 @@ typedef struct {
struct igt_pipe {
igt_display_t *display;
enum pipe pipe;
unsigned int need_wait_for_vblank : 1;
#define IGT_MAX_PLANES 4
int n_planes;
igt_plane_t planes[IGT_MAX_PLANES];