[PATCH 2/2] drm/exynos: Fix build after removal of DRM_WAKUP

Daniel Vetter daniel at ffwll.ch
Tue Jan 7 08:14:42 PST 2014


On Tue, Jan 07, 2014 at 01:59:12PM +0000, Mark Brown wrote:
> From: Mark Brown <broonie at 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 at 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 at 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


More information about the dri-devel mailing list