diff options
author | Imre Deak <[email protected]> | 2023-10-11 20:16:04 +0300 |
---|---|---|
committer | Imre Deak <[email protected]> | 2023-10-16 17:00:22 +0300 |
commit | 90780a633cec2c904adbd9027f003d7eea89254b (patch) | |
tree | ac767f9b8a7386fb58529aff1b1a33b1bb64f956 /drivers/fpga/fpga-mgr.c | |
parent | 34d8311f4a1c464ae0ce4470f2e3932c1a40d83e (diff) |
drm/i915/dp: Sanitize DPCD revision check in intel_dp_get_dsc_sink_cap()
Check only the eDP or the DP specific DPCD revision depending on the
sink type. Pass the corresponding revision to the function, which allows
getting the DSC caps of a branch device (in an MST topology, which has
its own DPCD and so DPCD revision).
While at it use DP_DPCD_REV_14 instead of open coding it and for clarity
add a separate function to read out the DSC capability on eDP.
v2:
- Use DP_DPCD_REV_14 instead of open coding it. (Stan)
- Check EDP_DCPD_REV/DPCD_REV in a clearer way. (Ville)
v3:
- Fix the read-out for eDP in intel_dp_detect().
Cc: Ville Syrjälä <[email protected]>
Reviewed-by: Stanislav Lisovskiy <[email protected]> (v1)
Reviewed-by: Ville Syrjälä <[email protected]> (v2)
Signed-off-by: Imre Deak <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions