summaryrefslogtreecommitdiff
path: root/lib/intel_batchbuffer.h
diff options
context:
space:
mode:
authorPaulo Zanoni <paulo.r.zanoni@intel.com>2014-12-05 13:40:00 -0200
committerPaulo Zanoni <paulo.r.zanoni@intel.com>2015-05-05 17:28:18 -0300
commit26ff2c7daac88e12969530a62703913ba9ee0fe3 (patch)
treef4ad198a8af444499841af8109ae20479d99a954 /lib/intel_batchbuffer.h
parent9bb04d3aa6a2b1b86e091967e312a19ce337df4d (diff)
tests/kms_fbc_crc: add wait_for_fbc_enabled()
The code has a common pattern of "wait 300ms, then check if FBC is enabled". Most of the time FBC is enabled in either 50ms or 0ms, so introduce wait_for_fbc_enabled(), which can return much earlier if FBC is actually enabled before the 300ms timeout. Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Diffstat (limited to 'lib/intel_batchbuffer.h')
0 files changed, 0 insertions, 0 deletions