aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
diff options
context:
space:
mode:
authorLijo Lazar <[email protected]>2023-05-30 06:22:45 +0000
committerAlex Deucher <[email protected]>2023-06-09 16:32:21 +0000
commitc6a64ad9b7f7182b5e2439a740574300b2e61951 (patch)
treefd8a70b56c374843b7c3525519ffa92fc90148c0 /drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
parentdrm/amd/display: Fix up kdoc formats in dcn32_fpu.c (diff)
downloadkernel-c6a64ad9b7f7182b5e2439a740574300b2e61951.tar.gz
kernel-c6a64ad9b7f7182b5e2439a740574300b2e61951.zip
drm/amdgpu: Initialize xcc mask
For ASICs which are not initialized through discovery, initialize GFX cluster as 1. Signed-off-by: Lijo Lazar <[email protected]> Reviewed-by: Hawking Zhang <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
index 2f1ef75e126c..51c1745c8369 100644
--- a/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
@@ -5262,6 +5262,7 @@ static int gfx_v8_0_early_init(void *handle)
{
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
+ adev->gfx.xcc_mask = 1;
adev->gfx.num_gfx_rings = GFX8_NUM_GFX_RINGS;
adev->gfx.num_compute_rings = min(amdgpu_gfx_get_num_kcq(adev),
AMDGPU_MAX_COMPUTE_RINGS);