aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/modules.py
diff options
context:
space:
mode:
authorJesse Barnes <[email protected]>2015-09-22 12:15:54 -0700
committerJani Nikula <[email protected]>2015-09-23 10:13:50 +0300
commit41b578fb0e8b930f2470d3f673b0fa279e77a7b8 (patch)
tree5dbeea2d098f6927701823083543fd589d44a100 /scripts/gdb/linux/modules.py
parent95d0be61286bcc3fc987043fe3a9553adca02919 (diff)
drm/i915: workaround bad DSL readout v3
On HSW at least (still testing other platforms, but should be harmless elsewhere), the DSL reg reads back as 0 when read around vblank start time. This ends up confusing the atomic start/end checking code, since it causes the update to appear as if it crossed a frame count boundary. Avoid the problem by making sure we don't return scanline_offset from the get_crtc_scanline function. In moving the code there, I add to add an additional delay since it could be called and have a legitimate 0 result for some time (depending on the pixel clock). v2: move hsw dsl read hack to get_crtc_scanline (Ville) v3: use break instead of goto (Ville) update comment with workaround details (Ville) References: https://bugs.freedesktop.org/show_bug.cgi?id=91579 Signed-off-by: Jesse Barnes <[email protected]> Reviewed-by: Ville Syrjälä <[email protected]> Signed-off-by: Jani Nikula <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions