Skip to content

Commit d6a5758

Browse files
jiadozhualexdeucher
authored andcommitted
drm/amdgpu: disable MCBP by default
Disable MCBP(mid command buffer preemption) by default as old Mesa hangs with it. We shall not enable the feature that breaks old usermode driver. Fixes: 50a7c87 ("drm/amdgpu: enable mcbp by default on gfx9") Signed-off-by: Jiadong Zhu <Jiadong.Zhu@amd.com> Acked-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Cc: stable@vger.kernel.org
1 parent 3392432 commit d6a5758

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

drivers/gpu/drm/amd/amdgpu/amdgpu_device.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3791,10 +3791,6 @@ static void amdgpu_device_set_mcbp(struct amdgpu_device *adev)
37913791
adev->gfx.mcbp = true;
37923792
else if (amdgpu_mcbp == 0)
37933793
adev->gfx.mcbp = false;
3794-
else if ((amdgpu_ip_version(adev, GC_HWIP, 0) >= IP_VERSION(9, 0, 0)) &&
3795-
(amdgpu_ip_version(adev, GC_HWIP, 0) < IP_VERSION(10, 0, 0)) &&
3796-
adev->gfx.num_gfx_rings)
3797-
adev->gfx.mcbp = true;
37983794

37993795
if (amdgpu_sriov_vf(adev))
38003796
adev->gfx.mcbp = true;

0 commit comments

Comments
 (0)