diff options
author | Alan Cox <alan@linux.intel.com> | 2011-07-15 17:33:43 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-07-15 19:05:07 +0200 |
commit | 3de78a9dbf173952270e761c21f2df3a7e1ed256 (patch) | |
tree | 7bc175cede472e6bdcef85c200c551d56e2657b7 /drivers/staging/gma500/framebuffer.c | |
parent | a458ca1edc318bc63a632b97ab3d04b86b81f7ef (diff) | |
download | op-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/framebuffer.c')
-rw-r--r-- | drivers/staging/gma500/framebuffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/gma500/framebuffer.c b/drivers/staging/gma500/framebuffer.c index d890a50..ebfde13 100644 --- a/drivers/staging/gma500/framebuffer.c +++ b/drivers/staging/gma500/framebuffer.c @@ -578,7 +578,7 @@ int psb_fbdev_init(struct drm_device *dev) dev_priv->fbdev = fbdev; fbdev->psb_fb_helper.funcs = &psb_fb_helper_funcs; - drm_fb_helper_init(dev, &fbdev->psb_fb_helper, 2, + drm_fb_helper_init(dev, &fbdev->psb_fb_helper, dev_priv->ops->crtcs, INTELFB_CONN_LIMIT); drm_fb_helper_single_add_all_connectors(&fbdev->psb_fb_helper); |