drm/exynos: update crtc to plane safely
authorInki Dae <inki.dae@samsung.com>
Fri, 17 Aug 2012 08:58:38 +0000 (17:58 +0900)
committerInki Dae <inki.dae@samsung.com>
Thu, 4 Oct 2012 01:06:00 +0000 (10:06 +0900)
commit1b85a0715f4615f953733c4afa6ec59cd0e73b52
treef6048a7139c5415b6758426a7dba59a51f5e3403
parent01ed812671c1163b35bf6ce9be221bd371bf9a8f
drm/exynos: update crtc to plane safely

if old_crtc isn't same as encoder->crtc then it means that
user changed crtc id to another one so a plane to old_crtc
should be disabled so that current plane can be updated safely
and plane->crtc should be set to new crtc(encoder->crtc)

Signed-off-by: Inki Dae <inki.dae@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
drivers/gpu/drm/exynos/exynos_drm_encoder.c