summaryrefslogtreecommitdiff
path: root/tests/modedemo/demo.c
diff options
context:
space:
mode:
authorJesse Barnes <jbarnes@nietzche.virtuousgeek.org>2008-01-24 08:57:04 -0800
committerJesse Barnes <jbarnes@nietzche.virtuousgeek.org>2008-01-24 08:57:04 -0800
commitc7ee6cc269c26d8e7ed98a16a272eca63daab201 (patch)
tree92a842d5d7989cf376e77339ab94831adbc8e811 /tests/modedemo/demo.c
parentb5a34f5da50e22ecb80853f0f422beb90857dc2d (diff)
Remove broken 'in vblank' accounting
We need to return an accurate vblank count to the callers of ->get_vblank_counter, and in the Intel case the actual frame count register isn't udpated until the next active line is displayed, so we need to return one more than the frame count register if we're currently in a vblank period. However, none of the various ways of doing this is working yet, so disable the logic for now. This may result in a few missed events, but should fix the hangs some people have seen due to the current code tripping the wraparound logic in drm_update_vblank_count.
Diffstat (limited to 'tests/modedemo/demo.c')
0 files changed, 0 insertions, 0 deletions