projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
506ab33
)
drm/amd/display: Use the maximum link setting which EDP reported.
author
Hugo Hu
<
[email protected]
>
Thu, 7 Dec 2017 07:33:22 +0000
(15:33 +0800)
committer
Alex Deucher
<
[email protected]
>
Wed, 20 Dec 2017 19:47:25 +0000
(14:47 -0500)
Signed-off-by: Hugo Hu <
[email protected]
>
Reviewed-by: Tony Cheng <
[email protected]
>
Acked-by: Harry Wentland <
[email protected]
>
Signed-off-by: Alex Deucher <
[email protected]
>
drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c
b/drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c
index 00528b214a9fefa0be61429537670375335bdef8..61e8c3e02d1696bf08f53bb24cefdc074a74cf10 100644
(file)
--- a/
drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c
+++ b/
drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c
@@
-1470,6
+1470,12
@@
void decide_link_settings(struct dc_stream_state *stream,
return;
}
+ /* EDP use the link cap setting */
+ if (stream->sink->sink_signal == SIGNAL_TYPE_EDP) {
+ *link_setting = link->verified_link_cap;
+ return;
+ }
+
/* search for the minimum link setting that:
* 1. is supported according to the link training result
* 2. could support the b/w requested by the timing