Commit 9856bf7f authored by Uma Shankar's avatar Uma Shankar Committed by Ville Syrjälä
Browse files

drm/i915/icl: Fix Y pre-offset for Full Range YCbCr

parent 27ee7247
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -516,6 +516,9 @@ icl_program_input_csc(struct intel_plane *plane,

	I915_WRITE_FW(PLANE_INPUT_CSC_PREOFF(pipe, plane_id, 0),
		      PREOFF_YUV_TO_RGB_HI);
	if (plane_state->base.color_range == DRM_COLOR_YCBCR_FULL_RANGE)
		I915_WRITE_FW(PLANE_INPUT_CSC_PREOFF(pipe, plane_id, 1), 0);
	else
		I915_WRITE_FW(PLANE_INPUT_CSC_PREOFF(pipe, plane_id, 1),
			      PREOFF_YUV_TO_RGB_ME);
	I915_WRITE_FW(PLANE_INPUT_CSC_PREOFF(pipe, plane_id, 2),