]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7f03853a34a3e5f142550fff2cf0068d20b70645
tree3f41c182c6e887bcfa77a62cae680983b38e4122
parent8fd5e461af9a35187fd40db7fa38a2e8b8c4da04
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