mirror of https://github.com/torvalds/linux.git
drm/amdgpu: fix cyan_skillfish2 gpu info fw handling
If the board supports IP discovery, we don't need to
parse the gpu info firmware.
Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/4721
Fixes: fa819e3a7c ("drm/amdgpu: add support for cyan skillfish gpu_info")
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
93c19634f7
commit
5427e32fa3
|
|
@ -2665,6 +2665,8 @@ static int amdgpu_device_parse_gpu_info_fw(struct amdgpu_device *adev)
|
||||||
chip_name = "navi12";
|
chip_name = "navi12";
|
||||||
break;
|
break;
|
||||||
case CHIP_CYAN_SKILLFISH:
|
case CHIP_CYAN_SKILLFISH:
|
||||||
|
if (adev->discovery.bin)
|
||||||
|
return 0;
|
||||||
chip_name = "cyan_skillfish";
|
chip_name = "cyan_skillfish";
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue