exynos_gfx: set connector_id in exynos_init

The connector ID is only used for initial setup of the CRTC
and when deinitializing the backend, so this bug probably
wasn't noticed at all.
This commit is contained in:
Tobias Jakobi 2015-02-20 10:44:54 +01:00
parent 5574d95add
commit 551123d4d6

View File

@ -743,6 +743,7 @@ static int exynos_init(struct exynos_data *pdata, unsigned bpp)
}
drm->crtc_id = drm->encoder->crtc_id;
drm->connector_id = drm->connector->connector_id;
drm->orig_crtc = drmModeGetCrtc(fd, drm->crtc_id);
if (!drm->orig_crtc)
RARCH_WARN("video_exynos: cannot find original crtc\n");