drm/amdgpu: Enable IH retry CAM on GFX9
authorMukul Joshi <mukul.joshi@amd.com>
Tue, 11 Apr 2023 20:32:29 +0000 (16:32 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 13 Apr 2023 04:14:08 +0000 (00:14 -0400)
commit318e431b306e966d2ee99e900a11bdc9a701ee83
tree34e29355967b5cbc1af0dabbdb1e2dcfcfdbe2ed
parente69c373c3f0c1888b4b758e37d05e2e7b76585f2
drm/amdgpu: Enable IH retry CAM on GFX9

This patch enables the IH retry CAM on GFX9 series cards. This
retry filter is used to prevent sending lots of retry interrupts
in a short span of time and overflowing the IH ring buffer. This
will also help reduce CPU interrupt workload.

Signed-off-by: Mukul Joshi <mukul.joshi@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_irq.h
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c
drivers/gpu/drm/amd/amdgpu/nbio_v7_4.c
drivers/gpu/drm/amd/amdgpu/vega20_ih.c
drivers/gpu/drm/amd/amdkfd/kfd_svm.c
drivers/gpu/drm/amd/include/asic_reg/oss/osssys_4_2_0_offset.h
drivers/gpu/drm/amd/include/asic_reg/oss/osssys_4_2_0_sh_mask.h