Skip to content

Commit 57d0081

Browse files
committed
drm/amdgpu: set family for GC 11.5.4
Set the family for GC 11.5.4 Fixes: 47ae1f9 ("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>
1 parent 49fe2c5 commit 57d0081

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2988,9 +2988,11 @@ int amdgpu_discovery_set_ip_blocks(struct amdgpu_device *adev)
29882988
case IP_VERSION(11, 5, 1):
29892989
case IP_VERSION(11, 5, 2):
29902990
case IP_VERSION(11, 5, 3):
2991-
case IP_VERSION(11, 5, 4):
29922991
adev->family = AMDGPU_FAMILY_GC_11_5_0;
29932992
break;
2993+
case IP_VERSION(11, 5, 4):
2994+
adev->family = AMDGPU_FAMILY_GC_11_5_4;
2995+
break;
29942996
case IP_VERSION(12, 0, 0):
29952997
case IP_VERSION(12, 0, 1):
29962998
case IP_VERSION(12, 1, 0):

include/uapi/drm/amdgpu_drm.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1667,6 +1667,7 @@ struct drm_amdgpu_info_uq_metadata {
16671667
#define AMDGPU_FAMILY_GC_10_3_6 149 /* GC 10.3.6 */
16681668
#define AMDGPU_FAMILY_GC_10_3_7 151 /* GC 10.3.7 */
16691669
#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 */
16701671
#define AMDGPU_FAMILY_GC_12_0_0 152 /* GC 12.0.0 */
16711672

16721673
#if defined(__cplusplus)

0 commit comments

Comments
 (0)