]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amdgpu/gfx9.4.3: Implement compute pipe reset
authorPrike Liang <Prike.Liang@amd.com>
Thu, 29 Aug 2024 03:47:12 +0000 (11:47 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 2 Sep 2024 15:32:32 +0000 (11:32 -0400)
commitad17b124c3a08241da36eb94a6f076446432743b
tree5064ac3d3a91b5010f2373e6d89ea6bc50569da6
parent6c0a7c3c693ac84f8b50269a9088af8f37446863
drm/amdgpu/gfx9.4.3: Implement compute pipe reset

Implement the compute pipe reset, and the driver will
fallback to pipe reset when queue reset fails.
The pipe reset only deactivates the queue which is
scheduled in the pipe, and meanwhile the MEC pipe
will be reset to the firmware _start pointer. So,
it seems pipe reset will cost more cycles than the
queue reset; therefore, the driver tries to recover
by doing queue reset first.

Reviewed-by: Lijo Lazar <lijo.lazar@amd.com>
Signed-off-by: Prike Liang <Prike.Liang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c