aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/powerplay/inc/smu11_driver_if.h
diff options
context:
space:
mode:
authortiancyin <tianci.yin@amd.com>2019-08-08 11:57:28 +0800
committerAlex Deucher <alexander.deucher@amd.com>2019-08-12 12:47:47 -0500
commit1b41b769e137222eb003395ab2c76db50c799edd (patch)
tree660ca7114a9cb103d42aa9041c3a7450196a0ede /drivers/gpu/drm/amd/powerplay/inc/smu11_driver_if.h
parentdrm/amdgpu: add navi14 PCI ID (diff)
downloadlinux-dev-1b41b769e137222eb003395ab2c76db50c799edd.tar.xz
linux-dev-1b41b769e137222eb003395ab2c76db50c799edd.zip
drm/amd/powerplay: re-define smu interface version for smu v11
[why] navi14 share same defination of smu interface version with navi10, anyone of them update the version may break the other one's version checking. [how] create different version defination, so that they can update their version separately. Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com> Signed-off-by: tiancyin <tianci.yin@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/powerplay/inc/smu11_driver_if.h')
-rw-r--r--drivers/gpu/drm/amd/powerplay/inc/smu11_driver_if.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/powerplay/inc/smu11_driver_if.h b/drivers/gpu/drm/amd/powerplay/inc/smu11_driver_if.h
index 755d51f9c6a9..fdc6b7a57bc9 100644
--- a/drivers/gpu/drm/amd/powerplay/inc/smu11_driver_if.h
+++ b/drivers/gpu/drm/amd/powerplay/inc/smu11_driver_if.h
@@ -27,7 +27,9 @@
// *** IMPORTANT ***
// SMU TEAM: Always increment the interface version if
// any structure is changed in this file
-#define SMU11_DRIVER_IF_VERSION 0x13
+// Be aware of that the version should be updated in
+// smu_v11_0.h, rename is also needed.
+// #define SMU11_DRIVER_IF_VERSION 0x13
#define PPTABLE_V20_SMU_VERSION 3