1/* Copyright (c) 2005 Advanced Micro Devices, Inc. 2 * 3 * Permission is hereby granted, free of charge, to any person obtaining a copy 4 * of this software and associated documentation files (the "Software"), to 5 * deal in the Software without restriction, including without limitation the 6 * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or 7 * sell copies of the Software, and to permit persons to whom the Software is 8 * furnished to do so, subject to the following conditions: 9 * 10 * The above copyright notice and this permission notice shall be included in 11 * all copies or substantial portions of the Software. 12 * 13 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 18 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS 19 * IN THE SOFTWARE. 20 * 21 * Neither the name of the Advanced Micro Devices, Inc. nor the names of its 22 * contributors may be used to endorse or promote products derived from this 23 * software without specific prior written permission. 24 * */ 25 26/* 27 * File Contents: This file contains definitions of the Geode frame buffer 28 * panel data structures. 29 * 30 * SubModule: Geode FlatPanel library 31 * */ 32 33#ifndef _pnl_defs_h 34#define _pnl_defs_h 35 36typedef enum { 37 MARMOT_PLATFORM = 0, 38 UNICORN_PLATFORM, 39 CENTAURUS_PLATFORM, 40 ARIES_PLATFORM, 41 CARMEL_PLATFORM, 42 HYDRA_PLATFORM, 43 DORADO_PLATFORM, 44 DRACO_PLATFORM, 45 REDCLOUD_PLATFORM, 46 OTHER_PLATFORM 47} SYS_BOARD; 48 49#define PNL_9210 0x01 50#define PNL_9211_A 0x02 51#define PNL_9211_C 0x04 52#define PNL_UNKNOWN_CHIP 0x08 53 54#define PNL_TFT 0x01 55#define PNL_SSTN 0x02 56#define PNL_DSTN 0x04 57#define PNL_TWOP 0x08 58#define PNL_UNKNOWN_PANEL 0x10 59 60#define PNL_MONO_PANEL 0x01 61#define PNL_COLOR_PANEL 0x02 62#define PNL_UNKNOWN_COLOR 0x08 63 64#define PNL_PANELPRESENT 0x01 65#define PNL_PLATFORM 0x02 66#define PNL_PANELCHIP 0x04 67#define PNL_PANELSTAT 0x08 68#define PNL_OVERRIDE_STAT 0x10 69#define PNL_OVERRIDE_ALL 0x1F 70 71typedef struct _Pnl_PanelStat_ { 72 int Type; 73 int XRes; 74 int YRes; 75 int Depth; 76 int MonoColor; 77} Pnl_PanelStat; 78 79typedef struct _Pnl_Params_ { 80 unsigned long Flags; 81 int PanelPresent; 82 int Platform; 83 int PanelChip; 84 Pnl_PanelStat PanelStat; 85} Pnl_PanelParams, *PPnl_PanelParams; 86 87#endif /* _pnl_defs_h */ 88 89/* END OF FILE */ 90