From: Chengming Gui Date: Tue, 27 Oct 2020 08:59:42 +0000 (+0800) Subject: drm/amd/amdgpu: support cp_fw_write_wait for beige_goby X-Git-Tag: v5.14-rc1~114^2~20^2~54 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=afee60e4c54b7d2f4db8d938b0621bfdb486c558;p=thirdparty%2Fkernel%2Flinux.git drm/amd/amdgpu: support cp_fw_write_wait for beige_goby Same as dimgrey_cavefish to support WAIT_REG_MEM packet. Signed-off-by: Chengming Gui Reviewed-by: Hawking Zhang Reviewed-by: Tao Zhou Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c index a85006ab39517..24eff4893d7fe 100644 --- a/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c +++ b/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c @@ -3816,6 +3816,7 @@ static void gfx_v10_0_check_fw_write_wait(struct amdgpu_device *adev) case CHIP_NAVY_FLOUNDER: case CHIP_VANGOGH: case CHIP_DIMGREY_CAVEFISH: + case CHIP_BEIGE_GOBY: adev->gfx.cp_fw_write_wait = true; break; default: