summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/powerplay/inc
diff options
context:
space:
mode:
authorAaron Liu <aaron.liu@amd.com>2019-08-21 16:45:52 -0500
committerAlex Deucher <alexander.deucher@amd.com>2019-08-22 17:37:53 -0500
commitb5604512088bd096ccb5dc49b7779ed99afdeff0 (patch)
treecdb959572683292e5961352c642ba57253cc9c21 /drivers/gpu/drm/amd/powerplay/inc
parenta31b059b0385dae98e95d6074950c5d47de34661 (diff)
drm/amd/powerplay: using valid mapping check for rn
Check whether the message mapping is valid Signed-off-by: Aaron Liu <aaron.liu@amd.com> Reviewed-by: Kenneth Feng <kenneth.feng@amd.com> Reviewed-by: Evan Quan <evan.quan@amd.com> Reviewed-by: Kevin Wang <kevin1.wang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/powerplay/inc')
-rw-r--r--drivers/gpu/drm/amd/powerplay/inc/smu_v12_0.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/powerplay/inc/smu_v12_0.h b/drivers/gpu/drm/amd/powerplay/inc/smu_v12_0.h
index 278cdc2c0d47..acf3db12f59f 100644
--- a/drivers/gpu/drm/amd/powerplay/inc/smu_v12_0.h
+++ b/drivers/gpu/drm/amd/powerplay/inc/smu_v12_0.h
@@ -32,6 +32,11 @@
#define MP1_SRAM 0x03c00004
+struct smu_12_0_cmn2aisc_mapping {
+ int valid_mapping;
+ int map_to;
+};
+
void smu_v12_0_set_smu_funcs(struct smu_context *smu);
#endif