OSDN Git Service

drm/amdgpu: support cp_fw_write_wait for dimgrey_cavefish
authorTao Zhou <tao.zhou1@amd.com>
Fri, 2 Oct 2020 16:00:54 +0000 (12:00 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 12 Oct 2020 18:01:16 +0000 (14:01 -0400)
Same as sienna_cichlid, dimgrey_cavefish supports WAIT_REG_MEM packet.

Signed-off-by: Tao Zhou <tao.zhou1@amd.com>
Reviewed-by: Jiansong Chen <Jiansong.Chen@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c

index 99ce69f..b718eb0 100644 (file)
@@ -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: