diff options
| author | Mukul Joshi <[email protected]> | 2023-08-25 15:59:09 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2023-09-11 21:10:19 +0000 |
| commit | f705a6f021b1ab1d2dd0f82e3d369e0feeb2b123 (patch) | |
| tree | a19744ef4386b57b32cec059b77ccfd4105a4570 /drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c | |
| parent | drm/amd: Fix the flag setting code for interrupt request (diff) | |
| download | kernel-f705a6f021b1ab1d2dd0f82e3d369e0feeb2b123.tar.gz kernel-f705a6f021b1ab1d2dd0f82e3d369e0feeb2b123.zip | |
drm/amdgpu: Store CU info from all XCCs for GFX v9.4.3
Currently, we store CU info only for a single XCC assuming
that it is the same for all XCCs. However, that may not be
true. As a result, store CU info for all XCCs. This info is
later used for CU masking.
Signed-off-by: Mukul Joshi <[email protected]>
Reviewed-by: Felix Kuehling <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c index 3a48bec10aea..d462b36adf4b 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c @@ -850,7 +850,7 @@ int amdgpu_info_ioctl(struct drm_device *dev, void *data, struct drm_file *filp) memcpy(&dev_info->cu_ao_bitmap[0], &adev->gfx.cu_info.ao_cu_bitmap[0], sizeof(adev->gfx.cu_info.ao_cu_bitmap)); memcpy(&dev_info->cu_bitmap[0], &adev->gfx.cu_info.bitmap[0], - sizeof(adev->gfx.cu_info.bitmap)); + sizeof(dev_info->cu_bitmap)); dev_info->vram_type = adev->gmc.vram_type; dev_info->vram_bit_width = adev->gmc.vram_width; dev_info->vce_harvest_config = adev->vce.harvest_config; |
