diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2017-02-26 15:34:42 -0500 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2017-02-26 15:34:42 -0500 |
commit | 8e22e1b3499a446df48c2b26667ca36c55bf864c (patch) | |
tree | 5329f98b3eb3c95a9dcbab0fa4f9b6e62f0e788d /drivers/gpu/drm/omapdrm/omap_crtc.c | |
parent | 00d3c14f14d51babd8aeafd5fa734ccf04f5ca3d (diff) | |
parent | 64a577196d66b44e37384bc5c4d78c61f59d5b2a (diff) |
Merge airlied/drm-next into drm-misc-next
Backmerge the main pull request to sync up with all the newly landed
drivers. Otherwise we'll have chaos even before 4.12 started in
earnest.
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Diffstat (limited to 'drivers/gpu/drm/omapdrm/omap_crtc.c')
-rw-r--r-- | drivers/gpu/drm/omapdrm/omap_crtc.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/drivers/gpu/drm/omapdrm/omap_crtc.c b/drivers/gpu/drm/omapdrm/omap_crtc.c index bd18e8c4f1d0..2fe735c269fc 100644 --- a/drivers/gpu/drm/omapdrm/omap_crtc.c +++ b/drivers/gpu/drm/omapdrm/omap_crtc.c | |||
@@ -410,13 +410,7 @@ static void omap_crtc_atomic_flush(struct drm_crtc *crtc, | |||
410 | dispc_mgr_set_gamma(omap_crtc->channel, lut, length); | 410 | dispc_mgr_set_gamma(omap_crtc->channel, lut, length); |
411 | } | 411 | } |
412 | 412 | ||
413 | /* | 413 | /* Only flush the CRTC if it is currently enabled. */ |
414 | * Only flush the CRTC if it is currently enabled. CRTCs that require a | ||
415 | * mode set are disabled prior plane updates and enabled afterwards. | ||
416 | * They are thus not active (regardless of what their CRTC core state | ||
417 | * reports) and the DRM core could thus call this function even though | ||
418 | * the CRTC is currently disabled. Do nothing in that case. | ||
419 | */ | ||
420 | if (!omap_crtc->enabled) | 414 | if (!omap_crtc->enabled) |
421 | return; | 415 | return; |
422 | 416 | ||