drm/bridge: analogix_dp: Add the basis of eDP enhanced mode setting in comment

Fixes: 5d2f3f959e ("drm/bridge: analogix_dp: Compliant with eDP receiver enhanced frame capability")
Change-Id: I0ff0f961155dcd78ce648725adf7b8f01f0dbf0c
Signed-off-by: Damon Ding <damon.ding@rock-chips.com>
This commit is contained in:
Damon Ding
2024-11-18 15:38:31 +08:00
committed by Tao Huang
parent 9c39c74a7a
commit 659eb2e8c4

View File

@@ -303,9 +303,17 @@ static int analogix_dp_set_enhanced_mode(struct analogix_dp_device *dp)
if (!data) {
/*
* As the Table 3-4 in eDP v1.2 spec:
* DPCD 0000Dh:
* Bit 1 = FRAMING_CHANGE_CAPABLE
* A setting of 1 indicates that this is an eDP device that
* uses only Enhanced Framing, independently of the setting by
* the source of ENHANCED_FRAME_EN
*
* And as the Table 3-3 in eDP v1.4 spec:
* DPCD 0000Dh:
* Bit 1 = RESERVED for eDP
* New to eDP v1.4.(Read all 0s)
*/
ret = drm_dp_dpcd_readb(&dp->aux, DP_EDP_CONFIGURATION_CAP,
&data);