From: Tao Zhou Date: Fri, 2 Oct 2020 16:00:54 +0000 (-0400) Subject: drm/amdgpu: support cp_fw_write_wait for dimgrey_cavefish X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=d9fa6a0b10d54798cda3c3c44c4702e527782692;p=linux.git drm/amdgpu: support cp_fw_write_wait for dimgrey_cavefish Same as sienna_cichlid, dimgrey_cavefish supports WAIT_REG_MEM packet. Signed-off-by: Tao Zhou Reviewed-by: Jiansong Chen 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 99ce69fc1ee0c..b718eb0a4715b 100644 --- a/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c +++ b/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c @@ -3617,6 +3617,7 @@ static void gfx_v10_0_check_fw_write_wait(struct amdgpu_device *adev) case CHIP_SIENNA_CICHLID: case CHIP_NAVY_FLOUNDER: case CHIP_VANGOGH: + case CHIP_DIMGREY_CAVEFISH: adev->gfx.cp_fw_write_wait = true; break; default: