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.
This commit is contained in:
Tobias Jakobi 2015-02-23 18:33:38 +01:00
parent 415d9e0d73
commit dab91b0c73

View File

@ -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);