diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c index a066c5eda..c6776a0fc 100644 --- a/drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c +++ b/drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c @@ -4397,6 +4397,7 @@ static void gfx_v7_0_gpu_early_init(struct amdgpu_device *adev) (adev->pdev->device == 0x130A) || (adev->pdev->device == 0x130D) || (adev->pdev->device == 0x1313) || + (adev->pdev->device == 0x1315) || (adev->pdev->device == 0x131D)) { adev->gfx.config.max_cu_per_sh = 6; adev->gfx.config.max_backends_per_se = 2; @@ -4404,7 +4405,7 @@ static void gfx_v7_0_gpu_early_init(struct amdgpu_device *adev) (adev->pdev->device == 0x1307) || (adev->pdev->device == 0x130B) || (adev->pdev->device == 0x130E) || - (adev->pdev->device == 0x1315) || + (adev->pdev->device == 0x1318) || (adev->pdev->device == 0x131B)) { adev->gfx.config.max_cu_per_sh = 4; adev->gfx.config.max_backends_per_se = 1;diff --git a/drivers/gpu/drm/radeon/cik.c b/drivers/gpu/drm/radeon/cik.c index d3045a371..f36176995 100644 --- a/drivers/gpu/drm/radeon/cik.c +++ b/drivers/gpu/drm/radeon/cik.c @@ -3234,6 +3234,7 @@ static void cik_gpu_init(struct radeon_device *rdev) (rdev->pdev->device == 0x130A) || (rdev->pdev->device == 0x130D) || (rdev->pdev->device == 0x1313) || + (rdev->pdev->device == 0x1315) || (rdev->pdev->device == 0x131D)) { rdev->config.cik.max_cu_per_sh = 6; rdev->config.cik.max_backends_per_se = 2; @@ -3241,7 +3242,6 @@ static void cik_gpu_init(struct radeon_device *rdev) (rdev->pdev->device == 0x1307) || (rdev->pdev->device == 0x130B) || (rdev->pdev->device == 0x130E) || - (rdev->pdev->device == 0x1315) || (rdev->pdev->device == 0x1318) || (rdev->pdev->device == 0x131B)) { rdev->config.cik.max_cu_per_sh = 4;