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

Configure Feed

Select the types of activity you want to include in your feed.

drm/amdgpu: set family for GC 11.5.4

Set the family for GC 11.5.4

Fixes: 47ae1f938d12 ("drm/amdgpu: add support for GC IP version 11.5.4")
Cc: Tim Huang <tim.huang@amd.com>
Cc: Pratik Vishwakarma <Pratik.Vishwakarma@amd.com>
Cc: Roman Li <Roman.Li@amd.com>
Reviewed-by: Tim Huang <tim.huang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

+4 -1
+3 -1
drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
··· 2988 2988 case IP_VERSION(11, 5, 1): 2989 2989 case IP_VERSION(11, 5, 2): 2990 2990 case IP_VERSION(11, 5, 3): 2991 - case IP_VERSION(11, 5, 4): 2992 2991 adev->family = AMDGPU_FAMILY_GC_11_5_0; 2992 + break; 2993 + case IP_VERSION(11, 5, 4): 2994 + adev->family = AMDGPU_FAMILY_GC_11_5_4; 2993 2995 break; 2994 2996 case IP_VERSION(12, 0, 0): 2995 2997 case IP_VERSION(12, 0, 1):
+1
include/uapi/drm/amdgpu_drm.h
··· 1667 1667 #define AMDGPU_FAMILY_GC_10_3_6 149 /* GC 10.3.6 */ 1668 1668 #define AMDGPU_FAMILY_GC_10_3_7 151 /* GC 10.3.7 */ 1669 1669 #define AMDGPU_FAMILY_GC_11_5_0 150 /* GC 11.5.0 */ 1670 + #define AMDGPU_FAMILY_GC_11_5_4 154 /* GC 11.5.4 */ 1670 1671 #define AMDGPU_FAMILY_GC_12_0_0 152 /* GC 12.0.0 */ 1671 1672 1672 1673 #if defined(__cplusplus)