[PATCH] drm/amdgpu: Fix comments error in sdma_v4_1_update_power_gating

Christian König ckoenig.leichtzumerken at gmail.com
Tue Sep 25 08:06:37 UTC 2018


Am 25.09.2018 um 07:29 schrieb Rex Zhu:
> Signed-off-by: Rex Zhu <Rex.Zhu at amd.com>

Acked-by: Christian König <christian.koenig at amd.com>

> ---
>   drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c b/drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c
> index 9da4a1b..517a721 100644
> --- a/drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c
> +++ b/drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c
> @@ -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;
>   



More information about the amd-gfx mailing list