diff options
author | Gwan-gyeong Mun <gwan-gyeong.mun@intel.com> | 2019-05-21 15:17:21 +0300 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2019-05-23 09:49:44 +0300 |
commit | 47d0ccecc9fdf0c0bae32e591749cc4357546f05 (patch) | |
tree | e2d3aa15fd3725a0646602558d17a3690e9d2c63 /drivers/gpu/drm/i915/intel_dp.c | |
parent | 16668f486ffb12603355aa5a020da57004f6a6f3 (diff) | |
download | linux-47d0ccecc9fdf0c0bae32e591749cc4357546f05.tar.gz linux-47d0ccecc9fdf0c0bae32e591749cc4357546f05.tar.bz2 linux-47d0ccecc9fdf0c0bae32e591749cc4357546f05.zip |
drm/i915/dp: Support DP ports YUV 4:2:0 output to GEN11
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 <gwan-gyeong.mun@intel.com>
Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190521121721.32010-7-gwan-gyeong.mun@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/intel_dp.c')
-rw-r--r-- | drivers/gpu/drm/i915/intel_dp.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/intel_dp.c b/drivers/gpu/drm/i915/intel_dp.c index d62f0898360e..24b56b2a76c8 100644 --- a/drivers/gpu/drm/i915/intel_dp.c +++ b/drivers/gpu/drm/i915/intel_dp.c @@ -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); |