drm/nouveau: fix regression in vblanking
authorMaarten Lankhorst <maarten.lankhorst@canonical.com>
Tue, 5 Mar 2013 13:59:26 +0000 (14:59 +0100)
committerBen Skeggs <bskeggs@redhat.com>
Sun, 10 Mar 2013 22:43:00 +0000 (08:43 +1000)
commitc8f28f89566321842afb81d3ddd79d611e3587ce
tree7feab3b5ce9277ee8ca9779281dbf59732ec7e8c
parent94f54f5336aac6801f2a14dcb12467e41b35456a
drm/nouveau: fix regression in vblanking

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 <maarten.lankhorst@canonical.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/core/engine/disp/nv50.c