Skip to content

Commit 3bb56da

Browse files
author
Ander Conselvan de Oliveira
committed
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 <[email protected]> Reviewed-by: Ville Syrjälä <[email protected]> Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent 8d371db commit 3bb56da

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

drivers/gpu/drm/i915/intel_display.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3327,6 +3327,7 @@ static void skylake_update_primary_plane(struct drm_plane *plane,
33273327
if (IS_GEMINILAKE(dev_priv)) {
33283328
I915_WRITE(PLANE_COLOR_CTL(pipe, plane_id),
33293329
PLANE_COLOR_PIPE_GAMMA_ENABLE |
3330+
PLANE_COLOR_PIPE_CSC_ENABLE |
33303331
PLANE_COLOR_PLANE_GAMMA_DISABLE);
33313332
} else {
33323333
plane_ctl |=

drivers/gpu/drm/i915/intel_sprite.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,7 @@ skl_update_plane(struct drm_plane *drm_plane,
224224
if (IS_GEMINILAKE(dev_priv)) {
225225
I915_WRITE(PLANE_COLOR_CTL(pipe, plane_id),
226226
PLANE_COLOR_PIPE_GAMMA_ENABLE |
227+
PLANE_COLOR_PIPE_CSC_ENABLE |
227228
PLANE_COLOR_PLANE_GAMMA_DISABLE);
228229
} else {
229230
plane_ctl |=

0 commit comments

Comments
 (0)