xref: /dragonfly/sys/dev/drm/radeon/rv200d.h (revision 57e252bf)
1*926deccbSFrançois Tigeot /*
2*926deccbSFrançois Tigeot  * Copyright 2008 Advanced Micro Devices, Inc.
3*926deccbSFrançois Tigeot  * Copyright 2008 Red Hat Inc.
4*926deccbSFrançois Tigeot  * Copyright 2009 Jerome Glisse.
5*926deccbSFrançois Tigeot  *
6*926deccbSFrançois Tigeot  * Permission is hereby granted, free of charge, to any person obtaining a
7*926deccbSFrançois Tigeot  * copy of this software and associated documentation files (the "Software"),
8*926deccbSFrançois Tigeot  * to deal in the Software without restriction, including without limitation
9*926deccbSFrançois Tigeot  * the rights to use, copy, modify, merge, publish, distribute, sublicense,
10*926deccbSFrançois Tigeot  * and/or sell copies of the Software, and to permit persons to whom the
11*926deccbSFrançois Tigeot  * Software is furnished to do so, subject to the following conditions:
12*926deccbSFrançois Tigeot  *
13*926deccbSFrançois Tigeot  * The above copyright notice and this permission notice shall be included in
14*926deccbSFrançois Tigeot  * all copies or substantial portions of the Software.
15*926deccbSFrançois Tigeot  *
16*926deccbSFrançois Tigeot  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17*926deccbSFrançois Tigeot  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18*926deccbSFrançois Tigeot  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
19*926deccbSFrançois Tigeot  * THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR
20*926deccbSFrançois Tigeot  * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
21*926deccbSFrançois Tigeot  * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
22*926deccbSFrançois Tigeot  * OTHER DEALINGS IN THE SOFTWARE.
23*926deccbSFrançois Tigeot  *
24*926deccbSFrançois Tigeot  * Authors: Dave Airlie
25*926deccbSFrançois Tigeot  *          Alex Deucher
26*926deccbSFrançois Tigeot  *          Jerome Glisse
27*926deccbSFrançois Tigeot  */
28*926deccbSFrançois Tigeot #ifndef __RV200D_H__
29*926deccbSFrançois Tigeot #define __RV200D_H__
30*926deccbSFrançois Tigeot 
31*926deccbSFrançois Tigeot #define R_00015C_AGP_BASE_2                          0x00015C
32*926deccbSFrançois Tigeot #define   S_00015C_AGP_BASE_ADDR_2(x)                  (((x) & 0xF) << 0)
33*926deccbSFrançois Tigeot #define   G_00015C_AGP_BASE_ADDR_2(x)                  (((x) >> 0) & 0xF)
34*926deccbSFrançois Tigeot #define   C_00015C_AGP_BASE_ADDR_2                     0xFFFFFFF0
35*926deccbSFrançois Tigeot 
36*926deccbSFrançois Tigeot #endif
37