drm/amd/display: disable stream if pixel clock changed with link active
[Why] Vbios uses preferred timing to turn on edp but OS could use other timing. If change pixel clock when link active, there is unexpected garbage on monitor. [How] Once pixel clock changed, the driver needs to disable stream. Signed-off-by: Chiawen Huang <chiawen.huang@amd.com> Reviewed-by: Tony Cheng <Tony.Cheng@amd.com> Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
d9beecfc79
commit
8353d30e74
1 changed files with 0 additions and 1 deletions
|
@ -864,7 +864,6 @@ static void disable_vbios_mode_if_required(
|
||||||
if (stream->link->local_sink &&
|
if (stream->link->local_sink &&
|
||||||
stream->link->local_sink->sink_signal == SIGNAL_TYPE_EDP) {
|
stream->link->local_sink->sink_signal == SIGNAL_TYPE_EDP) {
|
||||||
link = stream->link;
|
link = stream->link;
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (link != NULL) {
|
if (link != NULL) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue