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