diff options
author | Dave Airlie <airlied@redhat.com> | 2015-12-20 08:51:34 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2015-12-20 08:51:34 +1000 |
commit | 1957d62c29be413d77da2e69737f4251e5449fbd (patch) | |
tree | 22488a4c08adf182091fbad9a8e1d071cf70e251 /drivers | |
parent | 6545f3189707c9105fcf160c2da2ddd2dacca331 (diff) | |
parent | c4e074074c142bb21b8c3283066d8e6c1fd2baba (diff) |
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
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpu/drm/exynos/exynos_drm_crtc.c | 3 |
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 b3ba27fd9a6b..e69357172ffb 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); |