drm/amdgpu/gfx9: drop unnecessary 64-bit fence flag check in KIQ
authorJohn B. Moore <jbmoore61@gmail.com>
Tue, 28 Apr 2026 16:35:12 +0000 (11:35 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 5 May 2026 13:56:29 +0000 (09:56 -0400)
commit1b1101a46a426bb4328116bb5273c326a2780389
treeb6633c6b9f05b5a1e8b8b7bf22b8260cb81e8424
parentdc0d6fdfa5b6ab36ddaa774265261336c3e7dbae
drm/amdgpu/gfx9: drop unnecessary 64-bit fence flag check in KIQ

Remove the BUG_ON(flags & AMDGPU_FENCE_FLAG_64BIT) assertion from
gfx_v9_0_ring_emit_fence_kiq().  The KIQ hardware supports 64-bit
fence writes; the 32-bit writeback address constraint is an
upper-layer convention, not a hardware limitation.  The check serves
no purpose and should not be present.

Found by code inspection while investigating related BUG_ON
assertions in the GFX and compute ring emission paths.

Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: John B. Moore <jbmoore61@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c