]> 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)
commit680c9c937592a5eaa1c97e11eb9ad01c8976e606
tree3f41c182c6e887bcfa77a62cae680983b38e4122
parentca594360d75c523f1fdf6522c01b9c2386215feb
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