From: Mark Brown broonie@linaro.org
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.
Signed-off-by: Mark Brown broonie@linaro.org --- drivers/gpu/drm/exynos/exynos_drm_fimd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/exynos/exynos_drm_fimd.c b/drivers/gpu/drm/exynos/exynos_drm_fimd.c index 267aca91b70d..bdfe31fb731b 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_fimd.c +++ b/drivers/gpu/drm/exynos/exynos_drm_fimd.c @@ -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"); }
From: Mark Brown broonie@linaro.org
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.
Signed-off-by: Mark Brown broonie@linaro.org --- drivers/gpu/drm/exynos/exynos_drm_fimd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/exynos/exynos_drm_fimd.c b/drivers/gpu/drm/exynos/exynos_drm_fimd.c index bdfe31fb731b..05b72b07a134 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_fimd.c +++ b/drivers/gpu/drm/exynos/exynos_drm_fimd.c @@ -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;
On Tue, Jan 07, 2014 at 01:59:12PM +0000, Mark Brown wrote:
From: Mark Brown broonie@linaro.org
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.
Signed-off-by: Mark Brown broonie@linaro.org
Oops, looks like something slipped past between me making the patches and them getting merged. Thanks for taking care of this. Both patches are
Reviewed-by: Daniel Vetter daniel.vetter@ffwll.ch
drivers/gpu/drm/exynos/exynos_drm_fimd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/exynos/exynos_drm_fimd.c b/drivers/gpu/drm/exynos/exynos_drm_fimd.c index bdfe31fb731b..05b72b07a134 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_fimd.c +++ b/drivers/gpu/drm/exynos/exynos_drm_fimd.c @@ -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; -- 1.8.5.2
Hi,
2014/1/8 Daniel Vetter daniel@ffwll.ch:
On Tue, Jan 07, 2014 at 01:59:12PM +0000, Mark Brown wrote:
From: Mark Brown broonie@linaro.org
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.
Signed-off-by: Mark Brown broonie@linaro.org
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
Reviewed-by: Daniel Vetter daniel.vetter@ffwll.ch
drivers/gpu/drm/exynos/exynos_drm_fimd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/exynos/exynos_drm_fimd.c b/drivers/gpu/drm/exynos/exynos_drm_fimd.c index bdfe31fb731b..05b72b07a134 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_fimd.c +++ b/drivers/gpu/drm/exynos/exynos_drm_fimd.c @@ -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; -- 1.8.5.2
-- Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel
On Wed, Jan 08, 2014 at 10:15:25AM +0900, Inki Dae wrote:
2014/1/8 Daniel Vetter daniel@ffwll.ch:
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.
Hello,
On 2014년 01월 08일 21:03, Mark Brown wrote:
On Wed, Jan 08, 2014 at 10:15:25AM +0900, Inki Dae wrote:
2014/1/8 Daniel Vetter daniel@ffwll.ch:
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.
Yes, at least for exynos-drm-next tree of Inki. Inki sent pull request including my patch yesterday.
Best Regards, - Seung-Woo Kim
linaro-kernel@lists.linaro.org