OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
44357a1
)
drm/amdgpu: correct MMSCH 1.0 version
author
Zhigang Luo
<zhigang.luo@amd.com>
Thu, 12 Aug 2021 15:00:17 +0000
(11:00 -0400)
committer
Alex Deucher
<alexander.deucher@amd.com>
Wed, 18 Aug 2021 22:22:25 +0000
(18:22 -0400)
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>
drivers/gpu/drm/amd/amdgpu/mmsch_v1_0.h
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/amdgpu/mmsch_v1_0.h
b/drivers/gpu/drm/amd/amdgpu/mmsch_v1_0.h
index
2095863
..
2cdab80
100644
(file)
--- 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,