diff options
author | Ander Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com> | 2017-02-17 07:06:29 -0500 |
---|---|---|
committer | Ander Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com> | 2017-02-17 10:15:01 -0500 |
commit | 3bb56da78153150d72c67ceb8b7df49f36ae269c (patch) | |
tree | 5e0757073783ee47718c2dcb9f1217af52177083 /drivers/gpu/drm/i915/intel_sprite.c | |
parent | 8d371db4b0a7aa919df9be2be430187fe3e70399 (diff) |
drm/i915/glk: Enable pipe CSC
Now that the pre-csc degamma table is set up correctly in Geminilake,
pipe CSC can be enabled without causing a black screen.
v2: Rebase.
Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170217120630.6143-3-ander.conselvan.de.oliveira@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/intel_sprite.c')
-rw-r--r-- | drivers/gpu/drm/i915/intel_sprite.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/intel_sprite.c b/drivers/gpu/drm/i915/intel_sprite.c index b16a29591803..27e0752d1578 100644 --- a/drivers/gpu/drm/i915/intel_sprite.c +++ b/drivers/gpu/drm/i915/intel_sprite.c | |||
@@ -224,6 +224,7 @@ skl_update_plane(struct drm_plane *drm_plane, | |||
224 | if (IS_GEMINILAKE(dev_priv)) { | 224 | if (IS_GEMINILAKE(dev_priv)) { |
225 | I915_WRITE(PLANE_COLOR_CTL(pipe, plane_id), | 225 | I915_WRITE(PLANE_COLOR_CTL(pipe, plane_id), |
226 | PLANE_COLOR_PIPE_GAMMA_ENABLE | | 226 | PLANE_COLOR_PIPE_GAMMA_ENABLE | |
227 | PLANE_COLOR_PIPE_CSC_ENABLE | | ||
227 | PLANE_COLOR_PLANE_GAMMA_DISABLE); | 228 | PLANE_COLOR_PLANE_GAMMA_DISABLE); |
228 | } else { | 229 | } else { |
229 | plane_ctl |= | 230 | plane_ctl |= |