Back to home page

OSCL-LXR

 
 

    


0001 /*
0002  * Copyright 2008 Advanced Micro Devices, Inc.
0003  * Copyright 2008 Red Hat Inc.
0004  * Copyright 2009 Jerome Glisse.
0005  *
0006  * Permission is hereby granted, free of charge, to any person obtaining a
0007  * copy of this software and associated documentation files (the "Software"),
0008  * to deal in the Software without restriction, including without limitation
0009  * the rights to use, copy, modify, merge, publish, distribute, sublicense,
0010  * and/or sell copies of the Software, and to permit persons to whom the
0011  * Software is furnished to do so, subject to the following conditions:
0012  *
0013  * The above copyright notice and this permission notice shall be included in
0014  * all copies or substantial portions of the Software.
0015  *
0016  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
0017  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
0018  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
0019  * THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR
0020  * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
0021  * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
0022  * OTHER DEALINGS IN THE SOFTWARE.
0023  *
0024  * Authors: Dave Airlie
0025  *          Alex Deucher
0026  *          Jerome Glisse
0027  */
0028 
0029 /* this file defines the CHIP_  and family flags used in the pciids,
0030  * its is common between kms and non-kms because duplicating it and
0031  * changing one place is fail.
0032  */
0033 #ifndef RADEON_FAMILY_H
0034 #define RADEON_FAMILY_H
0035 /*
0036  * Radeon chip families
0037  */
0038 enum radeon_family {
0039     CHIP_R100 = 0,
0040     CHIP_RV100,
0041     CHIP_RS100,
0042     CHIP_RV200,
0043     CHIP_RS200,
0044     CHIP_R200,
0045     CHIP_RV250,
0046     CHIP_RS300,
0047     CHIP_RV280,
0048     CHIP_R300,
0049     CHIP_R350,
0050     CHIP_RV350,
0051     CHIP_RV380,
0052     CHIP_R420,
0053     CHIP_R423,
0054     CHIP_RV410,
0055     CHIP_RS400,
0056     CHIP_RS480,
0057     CHIP_RS600,
0058     CHIP_RS690,
0059     CHIP_RS740,
0060     CHIP_RV515,
0061     CHIP_R520,
0062     CHIP_RV530,
0063     CHIP_RV560,
0064     CHIP_RV570,
0065     CHIP_R580,
0066     CHIP_R600,
0067     CHIP_RV610,
0068     CHIP_RV630,
0069     CHIP_RV670,
0070     CHIP_RV620,
0071     CHIP_RV635,
0072     CHIP_RS780,
0073     CHIP_RS880,
0074     CHIP_RV770,
0075     CHIP_RV730,
0076     CHIP_RV710,
0077     CHIP_RV740,
0078     CHIP_CEDAR,
0079     CHIP_REDWOOD,
0080     CHIP_JUNIPER,
0081     CHIP_CYPRESS,
0082     CHIP_HEMLOCK,
0083     CHIP_PALM,
0084     CHIP_SUMO,
0085     CHIP_SUMO2,
0086     CHIP_BARTS,
0087     CHIP_TURKS,
0088     CHIP_CAICOS,
0089     CHIP_CAYMAN,
0090     CHIP_ARUBA,
0091     CHIP_TAHITI,
0092     CHIP_PITCAIRN,
0093     CHIP_VERDE,
0094     CHIP_OLAND,
0095     CHIP_HAINAN,
0096     CHIP_BONAIRE,
0097     CHIP_KAVERI,
0098     CHIP_KABINI,
0099     CHIP_HAWAII,
0100     CHIP_MULLINS,
0101     CHIP_LAST,
0102 };
0103 
0104 /*
0105  * Chip flags
0106  */
0107 enum radeon_chip_flags {
0108     RADEON_FAMILY_MASK = 0x0000ffffUL,
0109     RADEON_FLAGS_MASK = 0xffff0000UL,
0110     RADEON_IS_MOBILITY = 0x00010000UL,
0111     RADEON_IS_IGP = 0x00020000UL,
0112     RADEON_SINGLE_CRTC = 0x00040000UL,
0113     RADEON_IS_AGP = 0x00080000UL,
0114     RADEON_HAS_HIERZ = 0x00100000UL,
0115     RADEON_IS_PCIE = 0x00200000UL,
0116     RADEON_NEW_MEMMAP = 0x00400000UL,
0117     RADEON_IS_PCI = 0x00800000UL,
0118     RADEON_IS_IGPGART = 0x01000000UL,
0119     RADEON_IS_PX = 0x02000000UL,
0120 };
0121 
0122 #endif