Skip to content

Commit

Permalink
drm/i915: Do not check crtc_state->active in intel_color_load_luts.
Browse files Browse the repository at this point in the history
This is already tested by its callers.

Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1459350996-4957-3-git-send-email-maarten.lankhorst@linux.intel.com
  • Loading branch information
Maarten Lankhorst committed Mar 31, 2016
1 parent b95c532 commit e872ef6
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions drivers/gpu/drm/i915/intel_color.c
Original file line number Diff line number Diff line change
Expand Up @@ -487,10 +487,6 @@ void intel_color_load_luts(struct drm_crtc_state *crtc_state)
struct drm_device *dev = crtc_state->crtc->dev;
struct drm_i915_private *dev_priv = dev->dev_private;

/* The clocks have to be on to load the palette. */
if (!crtc_state->active)
return;

dev_priv->display.load_luts(crtc_state);
}

Expand Down

0 comments on commit e872ef6

Please sign in to comment.