summaryrefslogtreecommitdiff
path: root/src/radeon_driver.c
diff options
context:
space:
mode:
authorVille Syrjala <syrjala@sci.fi>2011-05-04 23:51:27 +0300
committerAlex Deucher <alexander.deucher@amd.com>2011-08-01 09:53:46 -0400
commitd29bab632e9ecccba518d4107d52620bf75eb1cf (patch)
treef7511225f302dd59b79675888ced783fc2d5770b /src/radeon_driver.c
parent9493563c1ef4b51af0ee8a44cb4e7c5bb280347e (diff)
kms: Move flip_count and co. to a per swap structure
If multiple drawables are doing page flipping, the global drmmode structure can't be used to keep per swap information. For example flip_count can increase prematurely due to another swap request, and then the previous swap request never gets completed, leading to a stuck client. Move the relevant pieces of data to a strucuture that gets allocated once per swap request and shared by all involved CRTCs. Signed-off-by: Ville Syrjala <syrjala@sci.fi>
Diffstat (limited to 'src/radeon_driver.c')
0 files changed, 0 insertions, 0 deletions