drm/amdgpu: Only send ras feature for gfx block
authorStanley.Yang <Stanley.Yang@amd.com>
Thu, 23 Jun 2022 07:59:46 +0000 (15:59 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 5 Jul 2022 20:10:13 +0000 (16:10 -0400)
commit26093ce14b75bb0c4f0088abf2e11c351abc18c3
tree3f41c182c6e887bcfa77a62cae680983b38e4122
parentcbe07c982dbd206defa10ba539e046767179edb3
drm/amdgpu: Only send ras feature for gfx block

GFX is the only IP block that RAS TA needs to program
the hardware when receiving enable_feature command.

Changed from V1:
    remove amdgpu_ras_need_send_ras_feature inline function,
    use GFX RAS block check directly.

Signed-off-by: Stanley.Yang <Stanley.Yang@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c