mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] drm/mediatek: stop using drm_vblank_count() as the hw frame counter
@ 2016-09-30  6:45 YT Shen
  0 siblings, 0 replies; only message in thread
From: YT Shen @ 2016-09-30  6:45 UTC (permalink / raw)
  To: Philipp Zabel, CK Hu
  Cc: David Airlie, Matthias Brugger, Daniel Vetter, YT Shen,
	Jitao Shi, Maarten Lankhorst, Jie Qiu, Chris Wilson, dri-devel,
	linux-arm-kernel, linux-mediatek, linux-kernel, srv_heupstream

using drm_vblank_no_hw_counter() to eliminate kernel warning.

Signed-off-by: YT Shen <yt.shen@mediatek.com>
---
 drivers/gpu/drm/mediatek/mtk_drm_drv.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/mediatek/mtk_drm_drv.c b/drivers/gpu/drm/mediatek/mtk_drm_drv.c
index eebb7d8..e286193 100644
--- a/drivers/gpu/drm/mediatek/mtk_drm_drv.c
+++ b/drivers/gpu/drm/mediatek/mtk_drm_drv.c
@@ -239,7 +239,7 @@ static struct drm_driver mtk_drm_driver = {
 	.driver_features = DRIVER_MODESET | DRIVER_GEM | DRIVER_PRIME |
 			   DRIVER_ATOMIC,
 
-	.get_vblank_counter = drm_vblank_count,
+	.get_vblank_counter = drm_vblank_no_hw_counter,
 	.enable_vblank = mtk_drm_crtc_enable_vblank,
 	.disable_vblank = mtk_drm_crtc_disable_vblank,
 
-- 
1.9.1

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-09-30  6:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-30  6:45 [PATCH] drm/mediatek: stop using drm_vblank_count() as the hw frame counter YT Shen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®