Skip to contentSkip to conversation

drm/amdgpu: Fix comments error in sdma_v4_1_update_power_gating

PATCH In review Rex Zhu 2 participants 2 messages Sep 25, 2018 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore

Rex Zhu

author
#0 lore raw

PATCH 1/1 drm/amdgpu: Fix comments error in sdma_v4_1_update_power_gating

---
 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c +1 -1
index 9da4a1b..517a721 100644
@@ -818,7 +818,7 @@ static int sdma_v4_0_gfx_resume(struct amdgpu_device *adev)
 	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;
 
Signature · 6 lines
1.9.1

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

A message that is not in the archive (sent off-list or not yet received): 1537853366-25221-1-git-send-email-Rex.Zhu-5C7GfCeVMHo@public.gmane.org

#2 lore raw

Am 25.09.2018 um 07:29 schrieb Rex Zhu:

Quoted 1 line
Quoted 9 lines
---
  drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c +0 -0
index 9da4a1b..517a721 100644

drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c static int sdma_v4_0_gfx_resume(struct amdgpu_device *adev) · line 824

Quoted 8 lines
drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c +1 -1
@@ -818,7 +818,7 @@ static int sdma_v4_0_gfx_resume(struct amdgpu_device *adev)
  	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;
 

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx