summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/mmsch_v1_0.h
diff options
context:
space:
mode:
authorZhigang Luo <zhigang.luo@amd.com>2021-08-12 18:00:17 +0300
committerAlex Deucher <alexander.deucher@amd.com>2021-08-19 01:22:25 +0300
commit424f2b2e263e851cc4a470faaaeb46b70d703876 (patch)
tree5918f97133c6dadd4868d8794286e4710f7e7b06 /drivers/gpu/drm/amd/amdgpu/mmsch_v1_0.h
parent44357a1bd5f5a1012024a127a4653c2dfa4af18a (diff)
downloadlinux-424f2b2e263e851cc4a470faaaeb46b70d703876.tar.xz
drm/amdgpu: correct MMSCH 1.0 version
MMSCH 1.0 doesn't have major/minor version, only verison. Signed-off-by: Zhigang Luo <zhigang.luo@amd.com> Reviewed by Shaoyun.liu <Shaoyun.liu@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/mmsch_v1_0.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/mmsch_v1_0.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/mmsch_v1_0.h b/drivers/gpu/drm/amd/amdgpu/mmsch_v1_0.h
index 20958639b601..2cdab8062c86 100644
--- a/drivers/gpu/drm/amd/amdgpu/mmsch_v1_0.h
+++ b/drivers/gpu/drm/amd/amdgpu/mmsch_v1_0.h
@@ -24,9 +24,7 @@
#ifndef __MMSCH_V1_0_H__
#define __MMSCH_V1_0_H__
-#define MMSCH_VERSION_MAJOR 1
-#define MMSCH_VERSION_MINOR 0
-#define MMSCH_VERSION (MMSCH_VERSION_MAJOR << 16 | MMSCH_VERSION_MINOR)
+#define MMSCH_VERSION 0x1
enum mmsch_v1_0_command_type {
MMSCH_COMMAND__DIRECT_REG_WRITE = 0,