drm/amdgpu: enable gfx 9.0 cp interrupts
Subsystems (2)
PATCH 1/1 drm/amdgpu: enable gfx 9.0 cp interrupts
Change-Id If7dee7bd1074eac7faa6af724a7272f9ce6f3a98
Signed-off-by Ken Wang <[email protected]>
--- drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | 3 --- 1 file changed, 3 deletions(-)
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c +0 -3
@@ -1393,9 +1393,6 @@ static void gfx_v9_0_enable_gui_idle_interrupt(struct amdgpu_device *adev, {u32 tmp =RREG32_SOC15 (GC ,0 , mmCP_INT_CNTL_RING0); -if (enable) -return ; - tmp =REG_SET_FIELD (tmp,CP_INT_CNTL_RING0 ,CNTX_BUSY_INT_ENABLE , enable ?1 :0 ); tmp =REG_SET_FIELD (tmp,CP_INT_CNTL_RING0 ,CNTX_EMPTY_INT_ENABLE , enable ?1 :0 ); tmp =REG_SET_FIELD (tmp,CP_INT_CNTL_RING0 ,CMP_BUSY_INT_ENABLE , enable ?1 :0 );
Signature · 6 lines
2.7.4 _______________________________________________ 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): 1496291200-15226-1-git-send-email-Qingqing.Wang-5C7GfCeVMHo@public.gmane.org
Huang Rui
Reviewed-byQuoted 2 lines · Ken Wang
Change-Id If7dee7bd1074eac7faa6af724a7272f9ce6f3a98Signed-off-by Ken Wang <[email protected]>
Reviewed-by Huang Rui <[email protected]>
Quoted 25 lines
--- drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | 3 --- 1 file changed, 3 deletions(-)drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c +0
-3@@ -1393,9 +1393,6 @@ static void gfx_v9_0_enable_gui_idle_interrupt(struct amdgpu_device *adev, {u32 tmp =RREG32_SOC15 (GC ,0 , mmCP_INT_CNTL_RING0); -if (enable) -return ; - tmp =REG_SET_FIELD (tmp,CP_INT_CNTL_RING0 ,CNTX_BUSY_INT_ENABLE , enable ?1 :0 ); tmp =REG_SET_FIELD (tmp,CP_INT_CNTL_RING0 ,CNTX_EMPTY_INT_ENABLE , enable ?1 :0 ); tmp =REG_SET_FIELD (tmp,CP_INT_CNTL_RING0 ,CMP_BUSY_INT_ENABLE , enable ?1 :0 );Signature · 6 lines
2.7.4 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx