ENGR00156850 gpu-viv: add gpu-viv driver source
[wandboard.git] / drivers / mxc / gpu-viv / arch / GC350 / hal / kernel / gc_hal_kernel_hardware_vg.h
blobf7300bbb326cb0719b0723532b6467c63f33ec6c
1 /****************************************************************************
3 * Copyright (C) 2005 - 2011 by Vivante Corp.
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the license, or
8 * (at your option) any later version.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not write to the Free Software
17 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
19 *****************************************************************************/
26 #ifndef __gc_hal_kernel_hardware_vg_h_
27 #define __gc_hal_kernel_hardware_vg_h_
29 /* gckHARDWARE object. */
30 struct _gckVGHARDWARE
32 /* Object. */
33 gcsOBJECT object;
35 /* Pointer to gckKERNEL object. */
36 gckVGKERNEL kernel;
38 /* Pointer to gckOS object. */
39 gckOS os;
41 /* Chip characteristics. */
42 gceCHIPMODEL chipModel;
43 gctUINT32 chipRevision;
44 gctUINT32 chipFeatures;
45 gctUINT32 chipMinorFeatures;
46 gctUINT32 chipMinorFeatures2;
47 gctBOOL allowFastClear;
49 /* Features. */
50 gctBOOL fe20;
51 gctBOOL vg20;
52 gctBOOL vg21;
54 /* Event mask. */
55 gctUINT32 eventMask;
58 #endif /* __gc_hal_kernel_hardware_h_ */