linux/drivers/gpu/drm/amd/display/dc/virtual
Michael Strauss 2681bf4ae8 drm/amd/display: Move setup_stream_attribute
[WHY]
If symclk RCO is enabled, stream encoder may not be receiving an ungated
clock by the time we attempt to set stream attributes when setting dpms
on. Since the clock is gated, register writes to the stream encoder fail.

[HOW]
Move set_stream_attribute call into enable_stream, just after the point
where symclk32_se is ungated.
Logically there is no need to set stream attributes as early as is
currently done in link_set_dpms_on, so this should have no impact beyond
the RCO fix.

Reviewed-by: Ovidiu (Ovi) Bunea <ovidiu.bunea@amd.com>
Signed-off-by: Michael Strauss <michael.strauss@amd.com>
Signed-off-by: Ivan Lipski <ivan.lipski@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2025-07-28 16:40:07 -04:00
..
Makefile drm/amd/display: move link_hwss to link folder and break down to files 2022-02-02 18:26:32 -05:00
virtual_link_encoder.c drm/amd/display: Move all linux includes into OS types 2022-07-05 16:16:49 -04:00
virtual_link_encoder.h
virtual_link_hwss.c drm/amd/display: make virtual_disable_link_output static 2022-10-11 11:32:59 -04:00
virtual_link_hwss.h drm/amd/display: add virtual_setup_stream_attribute decl to header 2022-04-19 13:58:32 -04:00
virtual_stream_encoder.c drm/amd/display: Move setup_stream_attribute 2025-07-28 16:40:07 -04:00
virtual_stream_encoder.h