]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
drm/amdgpu: Fix comments error in sdma_v4_1_update_power_gating
authorRex Zhu <Rex.Zhu@amd.com>
Tue, 25 Sep 2018 05:27:00 +0000 (13:27 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 9 Oct 2018 22:00:11 +0000 (17:00 -0500)
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c

index a3e2ed15fff258a4aff2f96396093c8da7dbba30..12e577c14d1d0a157710b40669a891946b8c455a 100644 (file)
@@ -818,7 +818,7 @@ sdma_v4_1_update_power_gating(struct amdgpu_device *adev, bool enable)
        uint32_t def, data;
 
        if (enable && (adev->pg_flags & AMD_PG_SUPPORT_SDMA)) {
-               /* disable idle interrupt */
+               /* enable idle interrupt */
                def = data = RREG32(SOC15_REG_OFFSET(SDMA0, 0, mmSDMA0_CNTL));
                data |= SDMA0_CNTL__CTXEMPTY_INT_ENABLE_MASK;