Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Zhigang Luo and committed by
Alex Deucher
424f2b2e 44357a1b

+1 -3
+1 -3
drivers/gpu/drm/amd/amdgpu/mmsch_v1_0.h
··· 24 24 #ifndef __MMSCH_V1_0_H__ 25 25 #define __MMSCH_V1_0_H__ 26 26 27 - #define MMSCH_VERSION_MAJOR 1 28 - #define MMSCH_VERSION_MINOR 0 29 - #define MMSCH_VERSION (MMSCH_VERSION_MAJOR << 16 | MMSCH_VERSION_MINOR) 27 + #define MMSCH_VERSION 0x1 30 28 31 29 enum mmsch_v1_0_command_type { 32 30 MMSCH_COMMAND__DIRECT_REG_WRITE = 0,