summaryrefslogtreecommitdiff
path: root/drivers/staging/gma500/mdfld_device.c
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/mdfld_device.c
parenta458ca1edc318bc63a632b97ab3d04b86b81f7ef (diff)
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/mdfld_device.c')
-rw-r--r--drivers/staging/gma500/mdfld_device.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/gma500/mdfld_device.c b/drivers/staging/gma500/mdfld_device.c
index f258b0620a9d..f47aeb7a2039 100644
--- a/drivers/staging/gma500/mdfld_device.c
+++ b/drivers/staging/gma500/mdfld_device.c
@@ -691,6 +691,7 @@ const struct psb_ops mdfld_chip_ops = {
.name = "Medfield",
.accel_2d = 0,
.pipes = 3,
+ .crtcs = 2,
.sgx_offset = MRST_SGX_OFFSET,
.chip_setup = mid_chip_setup,