summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/display/dmub
diff options
context:
space:
mode:
authorMartin Leung <Martin.Leung@amd.com>2022-02-20 21:44:26 -0500
committerAlex Deucher <alexander.deucher@amd.com>2022-06-03 16:45:01 -0400
commit80fb7a409c64ef304e4040320e87dbb2f10968ca (patch)
tree1f98609fe37e8bcde1ec483fd993bbeac94ae399 /drivers/gpu/drm/amd/display/dmub
parent214d72f62978c28fe27d22d0d498d04493e9ce86 (diff)
downloadlinux-stable-80fb7a409c64ef304e4040320e87dbb2f10968ca.tar.gz
linux-stable-80fb7a409c64ef304e4040320e87dbb2f10968ca.tar.bz2
linux-stable-80fb7a409c64ef304e4040320e87dbb2f10968ca.zip
drm/amd/display: cleaning up smu_if to add future flexibility
This commit cleans up code that uses old variables and adds some SMU interfaces for future flexibility. Signed-off-by: Martin Leung <Martin.Leung@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dmub')
-rw-r--r--drivers/gpu/drm/amd/display/dmub/src/dmub_dcn32.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/display/dmub/src/dmub_dcn32.c b/drivers/gpu/drm/amd/display/dmub/src/dmub_dcn32.c
index d298f6016e0b..a76da0131add 100644
--- a/drivers/gpu/drm/amd/display/dmub/src/dmub_dcn32.c
+++ b/drivers/gpu/drm/amd/display/dmub/src/dmub_dcn32.c
@@ -39,7 +39,10 @@
const struct dmub_srv_dcn32_regs dmub_srv_dcn32_regs = {
#define DMUB_SR(reg) REG_OFFSET_EXP(reg),
- { DMUB_DCN32_REGS() },
+ {
+ DMUB_DCN32_REGS()
+ DMCUB_INTERNAL_REGS()
+ },
#undef DMUB_SR
#define DMUB_SF(reg, field) FD_MASK(reg, field),