diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2010-05-14 17:51:42 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2010-05-14 17:52:22 +0100 |
commit | a21297d7cc5945704d8cbd28ad0a2a3f6096fa47 (patch) | |
tree | a2417e7572f3d5e7561bb2c5e13584adf9e454b9 /src/drmmode_display.c | |
parent | 7ee73d2c6f373f3d6829cb1876b1940db62be452 (diff) |
drm: Remove pin(); unpin() sync
GEM handles serialisation of the new front buffer with respect to page
flipping and rendering and reports back when the flip is complete.
Adding a sync point here is then redundant.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/drmmode_display.c')
-rw-r--r-- | src/drmmode_display.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/drmmode_display.c b/src/drmmode_display.c index 69f369ca..358baf47 100644 --- a/src/drmmode_display.c +++ b/src/drmmode_display.c @@ -1370,9 +1370,6 @@ drmmode_do_pageflip(ScreenPtr screen, dri_bo *new_front, void *data) } } - dri_bo_pin(new_front, 0); - dri_bo_unpin(new_front); - drmmode->old_fb_id = old_fb_id; return TRUE; |