drm/amdgpu: Issue ras enable_feature for gfx ip only
authorHawking Zhang <Hawking.Zhang@amd.com>
Mon, 3 Jul 2023 08:17:46 +0000 (16:17 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 7 Aug 2023 21:12:49 +0000 (17:12 -0400)
commit6fc9d92c3d27f572eb1d884662f199c0d7f90d16
treefcef56e2b396385fe2aaa0167fc99d6445169430
parenta5c75947b4107b40c4a3b38bab663b600e7446c2
drm/amdgpu: Issue ras enable_feature for gfx ip only

For non-GFX IP blocks, set up ras obj if ras feature
is allowed. For GFX IP blocks, force issue ras
enable_feature command to firmware and only set up ras
obj if ras feature is allowed

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