summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/powerplay/inc/smu_v11_0.h
diff options
context:
space:
mode:
authorKevin Wang <Kevin1.Wang@amd.com>2018-12-10 13:31:56 +0800
committerAlex Deucher <alexander.deucher@amd.com>2019-03-19 15:03:55 -0500
commit7b0031b6ea2b31f945eb32ae9f3191d8e8b15e1b (patch)
treeac31b869f99d66ccb70cc7e7632321df5e80949a /drivers/gpu/drm/amd/powerplay/inc/smu_v11_0.h
parentb0b4b413a9be3d497f706217c37da150201c43ff (diff)
downloadlinux-7b0031b6ea2b31f945eb32ae9f3191d8e8b15e1b.tar.bz2
drm/amd/powerplay: implement check_fw_status function for smu11
Add function of check firmware status funtions for smu11 Signed-off-by: Kevin Wang <Kevin1.Wang@amd.com> Reviewed-by: Huang Rui <ray.huang@amd.com> Acked-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/powerplay/inc/smu_v11_0.h')
-rw-r--r--drivers/gpu/drm/amd/powerplay/inc/smu_v11_0.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/powerplay/inc/smu_v11_0.h b/drivers/gpu/drm/amd/powerplay/inc/smu_v11_0.h
index b5c5bca59d30..6ba5bde134a0 100644
--- a/drivers/gpu/drm/amd/powerplay/inc/smu_v11_0.h
+++ b/drivers/gpu/drm/amd/powerplay/inc/smu_v11_0.h
@@ -25,6 +25,17 @@
#include "amdgpu_smu.h"
+/* MP Apertures */
+#define MP0_Public 0x03800000
+#define MP0_SRAM 0x03900000
+#define MP1_Public 0x03b00000
+#define MP1_SRAM 0x03c00004
+
+/* address block */
+#define smnMP1_FIRMWARE_FLAGS 0x3010024
+#define smnMP0_FW_INTF 0x30101c0
+#define smnMP1_PUB_CTRL 0x3010b14
+
void smu_v11_0_set_smu_funcs(struct smu_context *smu);
#endif