Skip to content

Commit

Permalink
drm/i915/dp: Support DP ports YUV 4:2:0 output to GEN11
Browse files Browse the repository at this point in the history
Bspec describes that GEN10 only supports capability of YUV 4:2:0 output to
HDMI port and GEN11 supports capability of YUV 4:2:0 output to both DP and
HDMI ports.

v2: Minor style fix.

Signed-off-by: Gwan-gyeong Mun <[email protected]>
Reviewed-by: Maarten Lankhorst <[email protected]>
Signed-off-by: Jani Nikula <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
  • Loading branch information
elongbug authored and jnikula committed May 23, 2019
1 parent 16668f4 commit 47d0cce
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions drivers/gpu/drm/i915/intel_dp.c
Original file line number Diff line number Diff line change
Expand Up @@ -7395,6 +7395,9 @@ intel_dp_init_connector(struct intel_digital_port *intel_dig_port,
connector->interlace_allowed = true;
connector->doublescan_allowed = 0;

if (INTEL_GEN(dev_priv) >= 11)
connector->ycbcr_420_allowed = true;

intel_encoder->hpd_pin = intel_hpd_pin_default(dev_priv, port);

intel_dp_aux_init(intel_dp);
Expand Down

0 comments on commit 47d0cce

Please sign in to comment.