Skip to content

Commit e872ef6

Browse files
committed
drm/i915: Do not check crtc_state->active in intel_color_load_luts.
This is already tested by its callers. Signed-off-by: Maarten Lankhorst <[email protected]> Reviewed-by: Lionel Landwerlin <[email protected]> Link: http://patchwork.freedesktop.org/patch/msgid/1459350996-4957-3-git-send-email-maarten.lankhorst@linux.intel.com
1 parent b95c532 commit e872ef6

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

drivers/gpu/drm/i915/intel_color.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -487,10 +487,6 @@ void intel_color_load_luts(struct drm_crtc_state *crtc_state)
487487
struct drm_device *dev = crtc_state->crtc->dev;
488488
struct drm_i915_private *dev_priv = dev->dev_private;
489489

490-
/* The clocks have to be on to load the palette. */
491-
if (!crtc_state->active)
492-
return;
493-
494490
dev_priv->display.load_luts(crtc_state);
495491
}
496492

0 commit comments

Comments
 (0)