brintos

brintos / linux-shallow public Read only

0
0
Text · 1.7 KiB · 310c583 Raw
39 lines · c
1/* si.h -- Private header for radeon driver -*- linux-c -*-2 *3 * Copyright 2011 Advanced Micro Devices, Inc.4 *5 * Permission is hereby granted, free of charge, to any person obtaining a6 * copy of this software and associated documentation files (the "Software"),7 * to deal in the Software without restriction, including without limitation8 * the rights to use, copy, modify, merge, publish, distribute, sublicense,9 * and/or sell copies of the Software, and to permit persons to whom the10 * Software is furnished to do so, subject to the following conditions:11 *12 * The above copyright notice and this permission notice shall be included in13 * all copies or substantial portions of the Software.14 *15 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR16 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,17 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL18 * THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR19 * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,20 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR21 * OTHER DEALINGS IN THE SOFTWARE.22 */23 24#ifndef __SI_H__25#define __SI_H__26 27struct radeon_device;28struct radeon_mc;29 30int si_mc_load_microcode(struct radeon_device *rdev);31u32 si_gpu_check_soft_reset(struct radeon_device *rdev);32void si_vram_gtt_location(struct radeon_device *rdev, struct radeon_mc *mc);33void si_rlc_reset(struct radeon_device *rdev);34void si_init_uvd_internal_cg(struct radeon_device *rdev);35u32 si_get_csb_size(struct radeon_device *rdev);36void si_get_csb_buffer(struct radeon_device *rdev, volatile u32 *buffer);37 38#endif                         /* __SI_H__ */39