Skip to content

Commit 21f6137

Browse files
committed
drm/amdgpu: skip gpu_info fw loading on navi12
It's no longer required. Link: https://gitlab.freedesktop.org/drm/amd/-/issues/2318 Reviewed-by: Hawking Zhang <[email protected]> Signed-off-by: Alex Deucher <[email protected]> Cc: [email protected]
1 parent 7e725c2 commit 21f6137

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

drivers/gpu/drm/amd/amdgpu/amdgpu_device.c

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2188,15 +2188,8 @@ static int amdgpu_device_parse_gpu_info_fw(struct amdgpu_device *adev)
21882188

21892189
adev->firmware.gpu_info_fw = NULL;
21902190

2191-
if (adev->mman.discovery_bin) {
2192-
/*
2193-
* FIXME: The bounding box is still needed by Navi12, so
2194-
* temporarily read it from gpu_info firmware. Should be dropped
2195-
* when DAL no longer needs it.
2196-
*/
2197-
if (adev->asic_type != CHIP_NAVI12)
2198-
return 0;
2199-
}
2191+
if (adev->mman.discovery_bin)
2192+
return 0;
22002193

22012194
switch (adev->asic_type) {
22022195
default:

0 commit comments

Comments
 (0)