Lines Matching refs:reset_mask
3830 u32 reset_mask = 0; in evergreen_gpu_check_soft_reset() local
3840 reset_mask |= RADEON_RESET_GFX; in evergreen_gpu_check_soft_reset()
3844 reset_mask |= RADEON_RESET_CP; in evergreen_gpu_check_soft_reset()
3847 reset_mask |= RADEON_RESET_GRBM | RADEON_RESET_GFX | RADEON_RESET_CP; in evergreen_gpu_check_soft_reset()
3852 reset_mask |= RADEON_RESET_DMA; in evergreen_gpu_check_soft_reset()
3857 reset_mask |= RADEON_RESET_DMA; in evergreen_gpu_check_soft_reset()
3862 reset_mask |= RADEON_RESET_RLC; in evergreen_gpu_check_soft_reset()
3865 reset_mask |= RADEON_RESET_IH; in evergreen_gpu_check_soft_reset()
3868 reset_mask |= RADEON_RESET_SEM; in evergreen_gpu_check_soft_reset()
3871 reset_mask |= RADEON_RESET_GRBM; in evergreen_gpu_check_soft_reset()
3874 reset_mask |= RADEON_RESET_VMC; in evergreen_gpu_check_soft_reset()
3878 reset_mask |= RADEON_RESET_MC; in evergreen_gpu_check_soft_reset()
3881 reset_mask |= RADEON_RESET_DISPLAY; in evergreen_gpu_check_soft_reset()
3886 reset_mask |= RADEON_RESET_VMC; in evergreen_gpu_check_soft_reset()
3889 if (reset_mask & RADEON_RESET_MC) { in evergreen_gpu_check_soft_reset()
3890 DRM_DEBUG("MC busy: 0x%08X, clearing.\n", reset_mask); in evergreen_gpu_check_soft_reset()
3891 reset_mask &= ~RADEON_RESET_MC; in evergreen_gpu_check_soft_reset()
3894 return reset_mask; in evergreen_gpu_check_soft_reset()
3897 static void evergreen_gpu_soft_reset(struct radeon_device *rdev, u32 reset_mask) in evergreen_gpu_soft_reset() argument
3903 if (reset_mask == 0) in evergreen_gpu_soft_reset()
3906 dev_info(rdev->dev, "GPU softreset: 0x%08X\n", reset_mask); in evergreen_gpu_soft_reset()
3913 if (reset_mask & RADEON_RESET_DMA) { in evergreen_gpu_soft_reset()
3927 if (reset_mask & (RADEON_RESET_GFX | RADEON_RESET_COMPUTE)) { in evergreen_gpu_soft_reset()
3941 if (reset_mask & RADEON_RESET_CP) { in evergreen_gpu_soft_reset()
3948 if (reset_mask & RADEON_RESET_DMA) in evergreen_gpu_soft_reset()
3951 if (reset_mask & RADEON_RESET_DISPLAY) in evergreen_gpu_soft_reset()
3954 if (reset_mask & RADEON_RESET_RLC) in evergreen_gpu_soft_reset()
3957 if (reset_mask & RADEON_RESET_SEM) in evergreen_gpu_soft_reset()
3960 if (reset_mask & RADEON_RESET_IH) in evergreen_gpu_soft_reset()
3963 if (reset_mask & RADEON_RESET_GRBM) in evergreen_gpu_soft_reset()
3966 if (reset_mask & RADEON_RESET_VMC) in evergreen_gpu_soft_reset()
3970 if (reset_mask & RADEON_RESET_MC) in evergreen_gpu_soft_reset()
4055 u32 reset_mask; in evergreen_asic_reset() local
4062 reset_mask = evergreen_gpu_check_soft_reset(rdev); in evergreen_asic_reset()
4064 if (reset_mask) in evergreen_asic_reset()
4068 evergreen_gpu_soft_reset(rdev, reset_mask); in evergreen_asic_reset()
4070 reset_mask = evergreen_gpu_check_soft_reset(rdev); in evergreen_asic_reset()
4073 if (reset_mask && radeon_hard_reset) in evergreen_asic_reset()
4076 reset_mask = evergreen_gpu_check_soft_reset(rdev); in evergreen_asic_reset()
4078 if (!reset_mask) in evergreen_asic_reset()
4095 u32 reset_mask = evergreen_gpu_check_soft_reset(rdev); in evergreen_gfx_is_lockup() local
4097 if (!(reset_mask & (RADEON_RESET_GFX | in evergreen_gfx_is_lockup()