drm/amdgpu: read harvest info from harvest table for gfx950
Subsystems (2)
Alex Deucher
maintainerPATCH 1/2 drm/amdgpu: read harvest info from harvest table for gfx950
From: Le Ma <[email protected]>
Harvest table is applied for gfx950.
Signed-off-by Le Ma <[email protected]>
Reviewed-by Hawking Zhang <[email protected]>
Signed-off-by Alex Deucher <[email protected]>
--- drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c +2 -1
@@ -1470,7 +1470,8 @@ static void amdgpu_discovery_harvest_ip(struct amdgpu_device *adev)*/ if (amdgpu_ip_version (adev,GC_HWIP ,0 ) <IP_VERSION (10 ,2 ,0 ) &&amdgpu_ip_version (adev,GC_HWIP ,0 ) !=IP_VERSION (9 ,4 ,3 ) && -amdgpu_ip_version (adev,GC_HWIP ,0 ) !=IP_VERSION (9 ,4 ,4 )) { +amdgpu_ip_version (adev,GC_HWIP ,0 ) !=IP_VERSION (9 ,4 ,4 ) && +amdgpu_ip_version (adev,GC_HWIP ,0 ) !=IP_VERSION (9 ,5 ,0 )) { if ((adev->pdev->device == 0x731E && (adev->pdev->revision == 0xC6 || adev->pdev->revision == 0xC7)) ||
Signature · 1 line
2.47.1
Alex Deucher
maintainerPATCH 2/2 drm/amdgpu: Set noretry default for GC 9.5.0
From: Amber Lin <[email protected]>
Set GC 9.5.0 noretry default as 1 for better performance. It can be changed by the administrator using amdgpu.noretry=0 or by the user using HSA_XNACK=1 environment variable.
Signed-off-by Amber Lin <[email protected]>
Reviewed-by Harish Kasiviswanathan <[email protected]>
Signed-off-by Alex Deucher <[email protected]>
--- drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c | 1 + 1 file changed, 1 insertion(+)
drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c +1 -0
@@ -888,6 +888,7 @@ void amdgpu_gmc_noretry_set(struct amdgpu_device *adev) gc_ver ==IP_VERSION (9 ,4 ,2 ) || gc_ver ==IP_VERSION (9 ,4 ,3 ) || gc_ver ==IP_VERSION (9 ,4 ,4 ) || + gc_ver ==IP_VERSION (9 ,5 ,0 ) || gc_ver >= IP_VERSION(10, 3, 0));if (!amdgpu_sriov_xnack_support (adev))
Signature · 1 line
2.47.1