diff options
author | Maarten Lankhorst <maarten.lankhorst@linux.intel.com> | 2016-03-30 18:16:35 +0300 |
---|---|---|
committer | Maarten Lankhorst <maarten.lankhorst@linux.intel.com> | 2016-03-31 13:46:07 +0300 |
commit | e872ef6941ac302ec3e30974e84c9070eeec99ef (patch) | |
tree | 1ead19bf7864c4a71b13ab18e1a127a9b955d2a6 /drivers/gpu/drm/i915/intel_color.c | |
parent | b95c532148dd839d0cd362e469c9a37172427480 (diff) | |
download | linux-e872ef6941ac302ec3e30974e84c9070eeec99ef.tar.xz |
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 <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
Diffstat (limited to 'drivers/gpu/drm/i915/intel_color.c')
-rw-r--r-- | drivers/gpu/drm/i915/intel_color.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/gpu/drm/i915/intel_color.c b/drivers/gpu/drm/i915/intel_color.c index 9cffa638c351..1b3f97449395 100644 --- a/drivers/gpu/drm/i915/intel_color.c +++ b/drivers/gpu/drm/i915/intel_color.c @@ -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); } |