diff options
author | Rodrigo Vivi <rodrigo.vivi@intel.com> | 2015-07-23 16:35:50 -0700 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2015-08-14 18:16:29 +0200 |
commit | aabc95dcf200908993573b2019ff5210121bcba9 (patch) | |
tree | 8925c09e52c8af69a38823d0a854271c02fcc636 /drivers/gpu/drm/i915/i915_gem_gtt.c | |
parent | 621d4c76fd4ce7f648fa59a26e3eb6b2346cf873 (diff) |
drm/i915: Dont -ETIMEDOUT on identical new and previous (count, crc).
By Vesa DP 1.2 spec TEST_CRC_COUNT is a "4 bit wrap counter which
increments each time the TEST_CRC_x_x are updated."
However if we are trying to verify the screen hasn't changed we get
same (count, crc) pair twice. Without this patch we would return
-ETIMEOUT in this case.
So, if in 6 vblanks the pair (count, crc) hasn't changed we
return it anyway instead of returning error and let test case decide
if it was right or not.
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Reviewed-by: Rafael Antognolli <rafael.antognolli@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_gem_gtt.c')
0 files changed, 0 insertions, 0 deletions