Skip to content

Commit 2be5792

Browse files
vsyrjaladanvet
authored andcommitted
drm/i915: Fix CRC support for DP port D on CHV
Add the missing CRC control register value for DP port D on CHV. Untested as I don't have a CHV machine with DP on port D. Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> [danvet: Add a check to only allow DP D on chv, not vlv.] Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
1 parent eb73667 commit 2be5792

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

drivers/gpu/drm/i915/i915_debugfs.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3100,6 +3100,12 @@ static int vlv_pipe_crc_ctl_reg(struct drm_device *dev,
31003100
*val = PIPE_CRC_ENABLE | PIPE_CRC_SOURCE_DP_C_VLV;
31013101
need_stable_symbols = true;
31023102
break;
3103+
case INTEL_PIPE_CRC_SOURCE_DP_D:
3104+
if (!IS_CHERRYVIEW(dev))
3105+
return -EINVAL;
3106+
*val = PIPE_CRC_ENABLE | PIPE_CRC_SOURCE_DP_D_VLV;
3107+
need_stable_symbols = true;
3108+
break;
31033109
case INTEL_PIPE_CRC_SOURCE_NONE:
31043110
*val = 0;
31053111
break;

0 commit comments

Comments
 (0)