summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/selftests/igt_reset.h
diff options
context:
space:
mode:
authorColin Xu <colin.xu@intel.com>2019-03-25 09:52:16 +0800
committerZhenyu Wang <zhenyuw@linux.intel.com>2019-03-29 11:09:57 +0800
commitd39af942822feaccc8559b18f0ca8215c739492e (patch)
tree4fbe822cd60173d9fdfbb9ccb1240c9dc387701e /drivers/gpu/drm/i915/selftests/igt_reset.h
parentaee183baaa3aadbf0d013d647b2e4cdaba66f872 (diff)
drm/i915/gvt: Enable synchronous flip on handling MI_DISPLAY_FLIP
According to Intel GFX PRM on 01.org, the MI_DISPLAY_FLIP command can either request display plane flip synchronously or asynchronously. In synchronous flip, flip will be hold until next vsync, which is not implemented yet in GVT. In asynchronous flip, flip will happen immediately, which is current implementation. The patch enables the sync flip on handling MI_DISPLAY_FLIP, and increment flip count correctly by only increment on primary plane. v2: Use bit operation definition for flip mode. (zhenyu) Reviewed-by: Zhenyu Wang <zhenyuw@linux.intel.com> Signed-off-by: Colin Xu <colin.xu@intel.com> Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Diffstat (limited to 'drivers/gpu/drm/i915/selftests/igt_reset.h')
0 files changed, 0 insertions, 0 deletions