drm/exynos: Fix build after removal of DRM_HZ
Subsystems (3)
PATCH 1/2 drm/exynos: Fix build after removal of DRM_HZ
From: Mark Brown <[email protected]>
Commit bfd8303af0c46 (drm: Kill DRM_HZ) removed the definition of DRM_HZ but did not remove its use in the Exynos DRM driver causing it to fail to build. Fix that.
--- drivers/gpu/drm/exynos/exynos_drm_fimd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/exynos/exynos_drm_fimd.c +1 -1
@@ -347,7 +347,7 @@ static void fimd_wait_for_vblank(struct device *dev)*/ if (!wait_event_timeout (ctx->wait_vsync_queue, !atomic_read (&ctx->wait_vsync_event), -DRM_HZ /20 )) +HZ /20 ))DRM_DEBUG_KMS ("vblank wait timed out.\n" ); }
Signature · 1 line
1.8.5.2
PATCH 2/2 drm/exynos: Fix build after removal of DRM_WAKUP
From: Mark Brown <[email protected]>
Commit 57ed0f7b4375 (drm: Kill DRM_WAKUP and DRM_INIT_WAITQUEUE) removed the definition of DRM_WAKUP but did not remove the use of it in the Exynos DRM driver causing it to fail to build. Fix that.
--- drivers/gpu/drm/exynos/exynos_drm_fimd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/exynos/exynos_drm_fimd.c +1 -1
@@ -706,7 +706,7 @@ static irqreturn_t fimd_irq_handler(int irq, void *dev_id)/* set wait vsync event to zero and wake up queue. */ if (atomic_read (&ctx->wait_vsync_event)) {atomic_set (&ctx->wait_vsync_event,0 ); -DRM_WAKEUP (&ctx->wait_vsync_queue); +wake_up (&ctx->wait_vsync_queue); } out:return IRQ_HANDLED ;
Signature · 1 line
1.8.5.2
Re: [PATCH 2/2] drm/exynos: Fix build after removal of DRM_WAKUP
Quoted 7 lines · Mark Brown
From: Mark Brown <[email protected]>
Commit
57ed0f7b4375(drm: KillDRM_WAKUPandDRM_INIT_WAITQUEUE) removed the definition ofDRM_WAKUPbut did not remove the use of it in the Exynos DRM driver causing it to fail to build. Fix that.Signed-off-by Mark Brown <[email protected]>
Oops, looks like something slipped past between me making the patches and them getting merged. Thanks for taking care of this. Both patches are
Quoted 20 lines
--- drivers/gpu/drm/exynos/exynos_drm_fimd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/gpu/drm/exynos/exynos_drm_fimd.c +1
-1@@ -706,7 +706,7 @@ static irqreturn_t fimd_irq_handler(int irq, void *dev_id)/* set wait vsync event to zero and wake up queue. */ if (atomic_read (&ctx->wait_vsync_event)) {atomic_set (&ctx->wait_vsync_event,0 ); -DRM_WAKEUP (&ctx->wait_vsync_queue); +wake_up (&ctx->wait_vsync_queue); } out:return IRQ_HANDLED ;Signature · 1 line
1.8.5.2
Signature · 3 lines
Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch
Inki Dae
maintainerRe: [PATCH 2/2] drm/exynos: Fix build after removal of DRM_WAKUP
Hi,
2014/1/8 Daniel Vetter <[email protected]>:
Quoted 12 lines · Mark Brown
Quoted 7 lines
From: Mark Brown <[email protected]>
Commit
57ed0f7b4375(drm: KillDRM_WAKUPandDRM_INIT_WAITQUEUE) removed the definition ofDRM_WAKUPbut did not remove the use of it in the Exynos DRM driver causing it to fail to build. Fix that.Signed-off-by Mark Brown <[email protected]>Oops, looks like something slipped past between me making the patches and them getting merged. Thanks for taking care of this. Both patches are
These patches already were posted by Seung-Woo link below, and I merged already them to exynos-drm-next.
http://www.spinics.net/lists/dri-devel/msg50921.html
Thanks,
Inki Dae
Quoted 30 lines
Reviewed-by Daniel Vetter <[email protected]>Quoted 18 lines
--- drivers/gpu/drm/exynos/exynos_drm_fimd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/gpu/drm/exynos/exynos_drm_fimd.c +1
-2@@ -706,7 +706,7 @@ static irqreturn_t fimd_irq_handler(int irq, void *dev_id)/* set wait vsync event to zero and wake up queue. */ if (atomic_read (&ctx->wait_vsync_event)) {atomic_set (&ctx->wait_vsync_event,0 ); -DRM_WAKEUP (&ctx->wait_vsync_queue); +wake_up (&ctx->wait_vsync_queue); } out:return IRQ_HANDLED ; --Quoted 2 lines
1.8.5.2
--
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
Re: [PATCH 2/2] drm/exynos: Fix build after removal of DRM_WAKUP
Quoted 8 lines · Inki Dae
2014/1/8 Daniel Vetter <[email protected]>:
Quoted 2 lines
Oops, looks like something slipped past between me making the patches and them getting merged. Thanks for taking care of this. Both patches are
These patches already were posted by Seung-Woo link below, and I merged already them to exynos-drm-next.
http://www.spinics.net/lists/dri-devel/msg50921.html
Are you sure? I still need those patches in -next as of today.
Seung-Woo Kim
maintainerRe: [PATCH 2/2] drm/exynos: Fix build after removal of DRM_WAKUP
Hello,
Quoted 12 lines · Mark Brown
Quoted 8 lines · Inki Dae
2014/1/8 Daniel Vetter <[email protected]>:
Quoted 2 lines
Oops, looks like something slipped past between me making the patches and them getting merged. Thanks for taking care of this. Both patches are
These patches already were posted by Seung-Woo link below, and I merged already them to exynos-drm-next.
http://www.spinics.net/lists/dri-devel/msg50921.htmlAre you sure? I still need those patches in -next as of today.
Yes, at least for exynos-drm-next tree of Inki. Inki sent pull request including my patch yesterday.
Best Regards,
- Seung-Woo Kim
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel