mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-01-24 02:19:54 +07:00
drm/amd/display: Fix missing conditions in hw sequencer.
Signed-off-by: Zeyu Fan <Zeyu.Fan@amd.com> Acked-by: Harry Wentland <Harry.Wentland@amd.com> Reviewed-by: Tony Cheng <Tony.Cheng@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
8693049a89
commit
009432e581
@ -160,7 +160,7 @@ void dce_crtc_switch_to_clk_src(struct dce_hwseq *hws,
|
|||||||
struct clock_source *clk_src,
|
struct clock_source *clk_src,
|
||||||
unsigned int tg_inst)
|
unsigned int tg_inst)
|
||||||
{
|
{
|
||||||
if (clk_src->id == CLOCK_SOURCE_ID_DP_DTO) {
|
if (clk_src->id == CLOCK_SOURCE_ID_DP_DTO || clk_src->dp_clk_src) {
|
||||||
REG_UPDATE(PIXEL_RATE_CNTL[tg_inst],
|
REG_UPDATE(PIXEL_RATE_CNTL[tg_inst],
|
||||||
DP_DTO0_ENABLE, 1);
|
DP_DTO0_ENABLE, 1);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user