mirror of
https://github.com/torvalds/linux.git
synced 2026-05-31 02:24:24 +02:00
drm/amd/display: Populate register address for dentist for dcn401
[WHY&HOW] Address was not previously populated which can result in incorrect clock frequencies being read on boot. Reviewed-by: Alvin Lee <alvin.lee2@amd.com> Signed-off-by: Dillon Varone <dillon.varone@amd.com> Signed-off-by: Wayne Lin <wayne.lin@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
ae36501515
commit
5f0d1ef6f1
|
|
@ -24,6 +24,8 @@
|
|||
|
||||
#include "dml/dcn401/dcn401_fpu.h"
|
||||
|
||||
#define DCN_BASE__INST0_SEG1 0x000000C0
|
||||
|
||||
#define mmCLK01_CLK0_CLK_PLL_REQ 0x16E37
|
||||
#define mmCLK01_CLK0_CLK0_DFS_CNTL 0x16E69
|
||||
#define mmCLK01_CLK0_CLK1_DFS_CNTL 0x16E6C
|
||||
|
|
|
|||
|
|
@ -221,6 +221,7 @@ enum dentist_divider_range {
|
|||
CLK_SF(CLK0_CLK_PLL_REQ, FbMult_frac, mask_sh)
|
||||
|
||||
#define CLK_REG_LIST_DCN401() \
|
||||
SR(DENTIST_DISPCLK_CNTL), \
|
||||
CLK_SR_DCN401(CLK0_CLK_PLL_REQ, CLK01, 0), \
|
||||
CLK_SR_DCN401(CLK0_CLK0_DFS_CNTL, CLK01, 0), \
|
||||
CLK_SR_DCN401(CLK0_CLK1_DFS_CNTL, CLK01, 0), \
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user