]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amdgpu: Return earlier in amdgpu_sw_ring_ib_end if mcbp is off
authorSoham Dandapat <sdandapa@amd.com>
Mon, 29 Jul 2024 06:29:11 +0000 (11:59 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 16 Aug 2024 18:17:31 +0000 (14:17 -0400)
commit406792dc2a5c82e2f312e10c3c2c887de6ef80a4
treeee7dde55540327d7b721dfbc53ca85ce1608c75a
parent37ee1456239cc5680f672f37417e52db2349965b
drm/amdgpu: Return earlier in amdgpu_sw_ring_ib_end if mcbp is off

As we don't trigger preemption is sw ring muxer when mcbp is
disabled,so return earlier in amdgpu_sw_ring_ib_end function
if mcbp is disabled ,not required to call amdgpu_ring_mux_end_ib

Signed-off-by: Soham Dandapat <sdandapa@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ring_mux.c