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