drm/radeon: Don't generate new fence for page flip.
authorMichel Dänzer <michel.daenzer@amd.com>
Wed, 13 Jul 2011 15:18:09 +0000 (15:18 +0000)
committerDave Airlie <airlied@redhat.com>
Thu, 14 Jul 2011 06:14:42 +0000 (07:14 +0100)
commitfcc485d6672952f0ec6d077ea92f703670075323
tree74689c7a2cf5c73d15d29fa06a7263e5a8be9c4e
parent5762a179b64cf37305d1d4d624e1b6ad9ee80602
drm/radeon: Don't generate new fence for page flip.

Use the fence of the new frontbuffer, if any.

Generating a new fence could cause us to wait for completely unrelated
rendering to finish before performing the flip.

Signed-off-by: Michel Dänzer <michel.daenzer@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/radeon_display.c