summaryrefslogtreecommitdiffstats
path: root/drivers/staging/gma500/psb_drv.h
diff options
context:
space:
mode:
authorAlan Cox <alan@linux.intel.com>2011-07-15 17:33:43 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2011-07-15 19:05:07 +0200
commit3de78a9dbf173952270e761c21f2df3a7e1ed256 (patch)
tree7bc175cede472e6bdcef85c200c551d56e2657b7 /drivers/staging/gma500/psb_drv.h
parenta458ca1edc318bc63a632b97ab3d04b86b81f7ef (diff)
downloadop-kernel-dev-3de78a9dbf173952270e761c21f2df3a7e1ed256.zip
op-kernel-dev-3de78a9dbf173952270e761c21f2df3a7e1ed256.tar.gz
gma500: Make crtc count a property of the device
Octavian Purdila posted a patch that sets num_crtc to 1 for Moorestown, but Oaktrail has 2 so we need to split Oaktrail/Moorestown more sensibly, and also cope with some other differences later on. Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/gma500/psb_drv.h')
-rw-r--r--drivers/staging/gma500/psb_drv.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/gma500/psb_drv.h b/drivers/staging/gma500/psb_drv.h
index daf3ca5..8184c23 100644
--- a/drivers/staging/gma500/psb_drv.h
+++ b/drivers/staging/gma500/psb_drv.h
@@ -622,6 +622,7 @@ struct psb_ops {
const char *name;
unsigned int accel_2d:1;
int pipes; /* Number of output pipes */
+ int crtcs; /* Number of CRTCs */
int sgx_offset; /* Base offset of SGX device */
/* Sub functions */
OpenPOWER on IntegriCloud