]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amdgpu/gfx12: return early in preempt_ib()
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 15 Aug 2024 16:58:14 +0000 (12:58 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 29 Aug 2024 17:39:57 +0000 (13:39 -0400)
commit1125f95cd2455b51ad1c16d7f96ae39117083d20
treed9b640315a113a89c215238d9d81569727dc63fe
parent1e487c9173ca12ae372f71a5f5c0eb57ce0ab108
drm/amdgpu/gfx12: return early in preempt_ib()

When MES is enabled KIQ is not available.  Return an error
when someone uses the debugfs preempt test interface in
that case.

Acked-by: Srinivasan Shanmugam <srinivasan.shanmugam@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v12_0.c