drm/amdgpu/gfx10: Add GC 10.3.7 Support
Subsystems (3)
Alex Deucher
maintainerPATCH 1/1 drm/amdgpu/gfx10: Add GC 10.3.7 Support
From: Prike Liang <[email protected]>
Needed to properly initialize GC 10.3.7.
Signed-off-by Prike Liang <[email protected]>
Reviewed-by Alex Deucher <[email protected]>
Signed-off-by Alex Deucher <[email protected]>
--- drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c | 4 ++ drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c | 53 ++++++++++++++++++- include/uapi/drm/amdgpu_drm.h | 1 + 3 files changed, 57 insertions(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c +4 -0
@@ -1416,6 +1416,7 @@ static int amdgpu_discovery_set_gc_ip_blocks(struct amdgpu_device *adev)case IP_VERSION (10 ,3 ,4 ):case IP_VERSION (10 ,3 ,5 ):case IP_VERSION (10 ,3 ,3 ): +case IP_VERSION (10 ,3 ,7 ):amdgpu_device_ip_block_add (adev, &gfx_v10_0_ip_block);break ;default :
@@ -1757,6 +1758,9 @@ int amdgpu_discovery_set_ip_blocks(struct amdgpu_device *adev)case IP_VERSION (10 ,3 ,3 ): adev->family =AMDGPU_FAMILY_YC ;break ; +case IP_VERSION (10 ,3 ,7 ): + adev->family =AMDGPU_FAMILY_GC_10_3_7 ; +break ;default :return -EINVAL ; }
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c +52 -1
143 lines not on this page · raw message
include/uapi/drm/amdgpu_drm.h +1 -0
@@ -1151,6 +1151,7 @@ struct drm_amdgpu_info_video_caps {#define AMDGPU_FAMILY_NV 143/* Navi10 */ #define AMDGPU_FAMILY_VGH 144/* Van Gogh */ #define AMDGPU_FAMILY_YC 146/* Yellow Carp */ +#define AMDGPU_FAMILY_GC_10_3_7 151/* GC 10.3.7 */ #if defined(__cplusplus) }
Signature · 1 line
2.34.1