]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
Revert "drm/amdgpu: Configure doorbell to maximum slots"
authorAlex Deucher <alexander.deucher@amd.com>
Mon, 10 Aug 2015 15:08:31 +0000 (11:08 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 12 Aug 2015 16:24:04 +0000 (12:24 -0400)
This reverts commit 78ad5cdd21f0d614983fc397338944e797ec70b9.
This commit breaks dpm and suspend/resume on CZ.

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

index f5a42ab1f65c070ed55192758793c04c9a2d5f7f..20e2cfd521d5352202070f357de89234175cb800 100644 (file)
@@ -3135,7 +3135,7 @@ static int gfx_v8_0_cp_compute_resume(struct amdgpu_device *adev)
                                WREG32(mmCP_MEC_DOORBELL_RANGE_LOWER,
                                       AMDGPU_DOORBELL_KIQ << 2);
                                WREG32(mmCP_MEC_DOORBELL_RANGE_UPPER,
-                                               0x7FFFF << 2);
+                                      AMDGPU_DOORBELL_MEC_RING7 << 2);
                        }
                        tmp = RREG32(mmCP_HQD_PQ_DOORBELL_CONTROL);
                        tmp = REG_SET_FIELD(tmp, CP_HQD_PQ_DOORBELL_CONTROL,