drm/nouveau: Use drm_crtc_vblank_off/on
authorDaniel Vetter <[email protected]>
Tue, 15 Nov 2016 21:58:19 +0000 (22:58 +0100)
committerDaniel Vetter <[email protected]>
Tue, 15 Nov 2016 22:33:37 +0000 (23:33 +0100)
commit9bc6db0d9127d60ed1fc7a548f813f957a3cfd28
treebe03a2b037dc2c4228a2319695d8b92edfe04557
parent778e1a5419ce2f535c71ec54f483703323a2462f
drm/nouveau: Use drm_crtc_vblank_off/on

With atomic nv50+ is already converted over to them, but the old
display code is still using it. Found in a 2 year old patch I have
lying around to un-export these old helpers!

v2: Drop the hand-rolled versions from resume/suspend code. Now that
crtc callbacks do this, we don't need a special case for s/r anymore.

v3: Remove unused variables.

v4: Don't remove drm_crtc_vblank_off from suspend paths, non-atomic
nouveau still needs that. But still switch to drm_crtc_vblank_off
since drm_vblank_off will disappear.

Cc: Mario Kleiner <[email protected]>
Cc: Ben Skeggs <[email protected]>
Reviewed-by: Alex Deucher <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
drivers/gpu/drm/nouveau/dispnv04/crtc.c
drivers/gpu/drm/nouveau/nouveau_display.c