1ef072392SLee Jones /* ni.h -- Private header for radeon driver -*- linux-c -*- 2ef072392SLee Jones * 3ef072392SLee Jones * Copyright 2010 Advanced Micro Devices, Inc. 4ef072392SLee Jones * 5ef072392SLee Jones * Permission is hereby granted, free of charge, to any person obtaining a 6ef072392SLee Jones * copy of this software and associated documentation files (the "Software"), 7ef072392SLee Jones * to deal in the Software without restriction, including without limitation 8ef072392SLee Jones * the rights to use, copy, modify, merge, publish, distribute, sublicense, 9ef072392SLee Jones * and/or sell copies of the Software, and to permit persons to whom the 10ef072392SLee Jones * Software is furnished to do so, subject to the following conditions: 11ef072392SLee Jones * 12ef072392SLee Jones * The above copyright notice and this permission notice (including the next 13ef072392SLee Jones * paragraph) shall be included in all copies or substantial portions of the 14ef072392SLee Jones * Software. 15ef072392SLee Jones * 16ef072392SLee Jones * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17ef072392SLee Jones * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18ef072392SLee Jones * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 19ef072392SLee Jones * PRECISION INSIGHT AND/OR ITS SUPPLIERS BE LIABLE FOR ANY CLAIM, DAMAGES OR 20ef072392SLee Jones * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 21ef072392SLee Jones * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 22ef072392SLee Jones * DEALINGS IN THE SOFTWARE. 23ef072392SLee Jones * 24ef072392SLee Jones */ 25ef072392SLee Jones 26ef072392SLee Jones #ifndef __NI_H__ 27ef072392SLee Jones #define __NI_H__ 28ef072392SLee Jones 29ef072392SLee Jones struct radeon_device; 30ef072392SLee Jones 31ef072392SLee Jones void cayman_cp_int_cntl_setup(struct radeon_device *rdev, 32ef072392SLee Jones int ring, u32 cp_int_cntl); 33ef072392SLee Jones void cayman_vm_decode_fault(struct radeon_device *rdev, 34ef072392SLee Jones u32 status, u32 addr); 35*6faf027fSLee Jones u32 cayman_gpu_check_soft_reset(struct radeon_device *rdev); 36ef072392SLee Jones 37ef072392SLee Jones #endif /* __NI_H__ */ 38