OSDN Git Service
(root)
/
sagit-ice-cold
/
kernel_xiaomi_msm8998.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
afada5e
)
drm/nvd0/disp: remove unnecessary sync from flip_next
author
Ben Skeggs
<bskeggs@redhat.com>
Mon, 30 Apr 2012 00:56:09 +0000
(10:56 +1000)
committer
Ben Skeggs
<bskeggs@redhat.com>
Thu, 24 May 2012 06:32:03 +0000
(16:32 +1000)
This shouldn't be necessary, I believe this is just a bit of missed debug
code that got left over somehow.
Causes flips to be always synced to vblank, regardless of swap interval,
which we don't want..
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nvd0_display.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/nouveau/nvd0_display.c
b/drivers/gpu/drm/nouveau/nvd0_display.c
index
ccc20dc
..
7307d3f
100644
(file)
--- a/
drivers/gpu/drm/nouveau/nvd0_display.c
+++ b/
drivers/gpu/drm/nouveau/nvd0_display.c
@@
-284,8
+284,6
@@
nvd0_display_flip_next(struct drm_crtc *crtc, struct drm_framebuffer *fb,
u32 *push;
int ret;
- evo_sync(crtc->dev, EVO_MASTER);
-
swap_interval <<= 4;
if (swap_interval == 0)
swap_interval |= 0x100;