Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1436669

[PATCH 4/6] drm/nouveau: use drm_crtc_handle_vblank()

From Gustavo Padovan <gustavo@padovan.org>
Newsgroups linux.kernel
Subject [PATCH 4/6] drm/nouveau: use drm_crtc_handle_vblank()
Date 2016-07-05 02:10 +0200
Message-ID <rRm65-3W9-15@gated-at.bofh.it> (permalink)
References <rRm65-3W9-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: Gustavo Padovan <gustavo.padovan@collabora.co.uk>

Remove legacy usage of drm_handle_vblank()

Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
---
 drivers/gpu/drm/nouveau/nouveau_display.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/nouveau/nouveau_display.c b/drivers/gpu/drm/nouveau/nouveau_display.c
index bd8d5bb..6e97862 100644
--- a/drivers/gpu/drm/nouveau/nouveau_display.c
+++ b/drivers/gpu/drm/nouveau/nouveau_display.c
@@ -47,7 +47,7 @@ nouveau_display_vblank_handler(struct nvif_notify *notify)
 {
 	struct nouveau_crtc *nv_crtc =
 		container_of(notify, typeof(*nv_crtc), vblank);
-	drm_handle_vblank(nv_crtc->base.dev, nv_crtc->index);
+	drm_crtc_handle_vblank(&nv_crtc->base);
 	return NVIF_NOTIFY_KEEP;
 }
 
-- 
2.5.5

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 1/6] drm: make drm_vblank_count_and_time() static Gustavo Padovan <gustavo@padovan.org> - 2016-07-05 02:10 +0200
  [PATCH 3/6] drm/atmel: use drm_crtc_handle_vblank() Gustavo Padovan <gustavo@padovan.org> - 2016-07-05 02:10 +0200
  [PATCH 4/6] drm/nouveau: use drm_crtc_handle_vblank() Gustavo Padovan <gustavo@padovan.org> - 2016-07-05 02:10 +0200
  [PATCH 6/6] drm/tilcdc: use drm_crtc_handle_vblank() Gustavo Padovan <gustavo@padovan.org> - 2016-07-05 02:10 +0200

csiph-web