summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2015-12-20 08:51:34 +1000
committerDave Airlie <airlied@redhat.com>2015-12-20 08:51:34 +1000
commit1957d62c29be413d77da2e69737f4251e5449fbd (patch)
tree22488a4c08adf182091fbad9a8e1d071cf70e251
parent6545f3189707c9105fcf160c2da2ddd2dacca331 (diff)
parentc4e074074c142bb21b8c3283066d8e6c1fd2baba (diff)
downloadop-kernel-dev-1957d62c29be413d77da2e69737f4251e5449fbd.zip
op-kernel-dev-1957d62c29be413d77da2e69737f4251e5449fbd.tar.gz
Merge branch 'exynos-drm-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/daeinki/drm-exynos into drm-fixes
just one regression fix. * 'exynos-drm-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/daeinki/drm-exynos: drm/exynos: atomic check only enabled crtc states
-rw-r--r--drivers/gpu/drm/exynos/exynos_drm_crtc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/exynos/exynos_drm_crtc.c b/drivers/gpu/drm/exynos/exynos_drm_crtc.c
index b3ba27f..e693571 100644
--- a/drivers/gpu/drm/exynos/exynos_drm_crtc.c
+++ b/drivers/gpu/drm/exynos/exynos_drm_crtc.c
@@ -55,6 +55,9 @@ static int exynos_crtc_atomic_check(struct drm_crtc *crtc,
{
struct exynos_drm_crtc *exynos_crtc = to_exynos_crtc(crtc);
+ if (!state->enable)
+ return 0;
+
if (exynos_crtc->ops->atomic_check)
return exynos_crtc->ops->atomic_check(exynos_crtc, state);
OpenPOWER on IntegriCloud