mirror of
https://github.com/torvalds/linux.git
synced 2026-07-28 10:09:10 +02:00
drm/i915/dp: Allow AS SDP only if v2 is supported
We do not support AS SDP version 1, so allow AS SDP only if AS SDP v2 is supported. Signed-off-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com> Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patch.msgid.link/20260527041050.601735-4-ankit.k.nautiyal@intel.com
This commit is contained in:
parent
24e16c142a
commit
f0ae530752
|
|
@ -3210,11 +3210,11 @@ static void intel_dp_compute_vsc_colorimetry(const struct intel_crtc_state *crtc
|
|||
static bool intel_dp_needs_as_sdp(struct intel_dp *intel_dp,
|
||||
struct intel_crtc_state *crtc_state)
|
||||
{
|
||||
if (!intel_dp->as_sdp_supported)
|
||||
if (!intel_dp->as_sdp_v2_supported)
|
||||
return false;
|
||||
|
||||
/*
|
||||
* #TODO Implement AS SDP for DP branch device.
|
||||
* #TODO: Add AS SDP v1 support for PCONs (DP branch devices).
|
||||
*/
|
||||
if (drm_dp_is_branch(intel_dp->dpcd))
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user