]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amdgpu: refine poison creation interrupt handler
authorYiPeng Chai <YiPeng.Chai@amd.com>
Mon, 24 Jun 2024 03:26:00 +0000 (11:26 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 27 Jun 2024 21:31:43 +0000 (17:31 -0400)
commit5f08275cfd88609c86ee86d92efdb196d27c732d
treeaf0dd66c37d93820ab1fae9cd20b9d8c34b1b630
parentcbda2758d8bfae323b846210a3e52f0ad5fe7164
drm/amdgpu: refine poison creation interrupt handler

In order to apply to the case where a large number
of ras poison interrupts:
1. Change to use variable to record poison creation
   requests to avoid fifo full.
2. Prioritize handling poison creation requests
   instead of following the order of requests
   received by the driver.

Signed-off-by: YiPeng Chai <YiPeng.Chai@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
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h