]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amdgpu: Add GFX 9.5.0 support for per-queue/pipe reset
authorJesse.Zhang <Jesse.Zhang@amd.com>
Fri, 9 May 2025 01:55:17 +0000 (09:55 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 13 May 2025 13:37:32 +0000 (09:37 -0400)
commit3b636026149d461d2d32fc686e08808646b3c20b
treed8ecefaace71c1602d6260521a99632770889b71
parent5d6fddac557303693591c40f486450e3660f2267
drm/amdgpu: Add GFX 9.5.0 support for per-queue/pipe reset

This patch enables per-queue and per-pipe reset functionality for
GFX IP v9.5.0 when using MEC firmware version 21 (0x15) or later.

This change:
1. Refactors the pipe reset support check in gfx_v9_4_3_pipe_reset_support()
   to use the compute_supported_reset flags instead of hardcoding
   version checks.
2. Adds support for GFX9.5.0 (IP 9.5.0) with MEC firmware version >= 21
   to enable per-queue and per-pipe reset capabilities.

v2: Replaced mec version check with !!(adev->gfx.compute_supported_reset & AMDGPU_RESET_TYPE_PER_PIPE) (Lijo)

Signed-off-by: Asad Kamal <asad.kamal@amd.com>
Signed-off-by: Jesse Zhang <jesse.zhang@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c