aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorDaniel Vetter <[email protected]>2012-01-28 14:49:24 +0100
committerDaniel Vetter <[email protected]>2012-02-10 17:28:46 +0100
commit0529a0d9f0e702fd5215a493b7440be73f5941af (patch)
tree561dd80b323017959892fd98063dd5eb300ae42b /lib/memory-notifier-error-inject.c
parentdbb025757a30cd225c5587685ae0971ecf301718 (diff)
drm/i915: correctly program the VSYNCSHIFT register
The hw seems to use this to correctly insert the required delay before/after an even/odd interlaced field. This might also explain why we need to substract 1 half-line from vtotal - if the hw just adds the delay programmend in VSYNCSHIFT the total frame time would be about that too long. These registers seems to only exist on gen4 and later. For paranoia also program it to 0 for progressive modes, but according to documentation the hw should just ignore it in this case. Reviewed-by: Paulo Zanoni <[email protected]> Tested-by: Paulo Zanoni <[email protected]> Tested-by: Alfonso Fiore <[email protected]> Signed-Off-by: Daniel Vetter <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions