Commit 2c8a7ca1 authored by Prike Liang's avatar Prike Liang Committed by Alex Deucher

drm/amdgpu: add new AMDGPU_FAMILY definition

add GC 11.5.0 family
Signed-off-by: default avatarPrike Liang <Prike.Liang@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent f56c1941
...@@ -2359,6 +2359,9 @@ int amdgpu_discovery_set_ip_blocks(struct amdgpu_device *adev) ...@@ -2359,6 +2359,9 @@ int amdgpu_discovery_set_ip_blocks(struct amdgpu_device *adev)
case IP_VERSION(11, 0, 4): case IP_VERSION(11, 0, 4):
adev->family = AMDGPU_FAMILY_GC_11_0_1; adev->family = AMDGPU_FAMILY_GC_11_0_1;
break; break;
case IP_VERSION(11, 5, 0):
adev->family = AMDGPU_FAMILY_GC_11_5_0;
break;
default: default:
return -EINVAL; return -EINVAL;
} }
...@@ -2375,6 +2378,7 @@ int amdgpu_discovery_set_ip_blocks(struct amdgpu_device *adev) ...@@ -2375,6 +2378,7 @@ int amdgpu_discovery_set_ip_blocks(struct amdgpu_device *adev)
case IP_VERSION(10, 3, 7): case IP_VERSION(10, 3, 7):
case IP_VERSION(11, 0, 1): case IP_VERSION(11, 0, 1):
case IP_VERSION(11, 0, 4): case IP_VERSION(11, 0, 4):
case IP_VERSION(11, 5, 0):
adev->flags |= AMD_IS_APU; adev->flags |= AMD_IS_APU;
break; break;
default: default:
......
...@@ -1238,6 +1238,7 @@ struct drm_amdgpu_info_video_caps { ...@@ -1238,6 +1238,7 @@ struct drm_amdgpu_info_video_caps {
#define AMDGPU_FAMILY_GC_11_0_1 148 /* GC 11.0.1 */ #define AMDGPU_FAMILY_GC_11_0_1 148 /* GC 11.0.1 */
#define AMDGPU_FAMILY_GC_10_3_6 149 /* GC 10.3.6 */ #define AMDGPU_FAMILY_GC_10_3_6 149 /* GC 10.3.6 */
#define AMDGPU_FAMILY_GC_10_3_7 151 /* GC 10.3.7 */ #define AMDGPU_FAMILY_GC_10_3_7 151 /* GC 10.3.7 */
#define AMDGPU_FAMILY_GC_11_5_0 150 /* GC 11.5.0 */
#if defined(__cplusplus) #if defined(__cplusplus)
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment