From dab91b0c736f0b4ef2cd9a96b212add317abbdf3 Mon Sep 17 00:00:00 2001 From: Tobias Jakobi Date: Mon, 23 Feb 2015 18:33:38 +0100 Subject: [PATCH] exynos_gfx: actually turn off the crtc during cleanup Disabling the crtc is completly independent of the used connectors. Use the correct parameters so that the drm core actually disables the crtc. --- gfx/drivers/exynos_gfx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gfx/drivers/exynos_gfx.c b/gfx/drivers/exynos_gfx.c index 7b45351951..5fcb98ee5f 100644 --- a/gfx/drivers/exynos_gfx.c +++ b/gfx/drivers/exynos_gfx.c @@ -903,7 +903,7 @@ static void exynos_free(struct exynos_data *pdata) /* Disable the CRTC. */ if (drmModeSetCrtc(pdata->fd, pdata->drm->crtc_id, 0, - 0, 0, &pdata->drm->connector_id, 1, NULL)) + 0, 0, NULL, 0, NULL)) RARCH_WARN("video_exynos: failed to disable the crtc\n"); clean_up_pages(pdata->pages, pdata->num_pages);