projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
94f54f5
)
drm/nouveau: fix regression in vblanking
author
Maarten Lankhorst
<
[email protected]
>
Tue, 5 Mar 2013 13:59:26 +0000
(14:59 +0100)
committer
Ben Skeggs
<
[email protected]
>
Sun, 10 Mar 2013 22:43:00 +0000
(08:43 +1000)
nv50_vblank_enable/disable got switched from NV50_PDISPLAY_INTR_EN_1_VBLANK_CRTC_0 (4) << head to 1 << head, which is wrong.
4 << head is the correct value.
Fixes regression with vblanking since
1d7c71a3e2f77
"drm/nouveau/disp: port vblank handling to event interface"
Signed-off-by: Maarten Lankhorst <
[email protected]
>
Signed-off-by: Ben Skeggs <
[email protected]
>
drivers/gpu/drm/nouveau/core/engine/disp/nv50.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/nouveau/core/engine/disp/nv50.c
b/drivers/gpu/drm/nouveau/core/engine/disp/nv50.c
index 5fa13267bd9f427b7f83251f22e6bd13a80683b3..02e369f80449a2d222375349aa4937623f2ac9e7 100644
(file)
--- a/
drivers/gpu/drm/nouveau/core/engine/disp/nv50.c
+++ b/
drivers/gpu/drm/nouveau/core/engine/disp/nv50.c
@@
-544,13
+544,13
@@
nv50_disp_curs_ofuncs = {
static void
nv50_disp_base_vblank_enable(struct nouveau_event *event, int head)
{
- nv_mask(event->priv, 0x61002c, (
1 << head), (1
<< head));
+ nv_mask(event->priv, 0x61002c, (
4 << head), (4
<< head));
}
static void
nv50_disp_base_vblank_disable(struct nouveau_event *event, int head)
{
- nv_mask(event->priv, 0x61002c, (
1 << head), (0 << head)
);
+ nv_mask(event->priv, 0x61002c, (
4 << head), 0
);
}
static int