summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm
diff options
context:
space:
mode:
authorAlan Cox <alan@linux.intel.com>2011-12-29 14:38:07 (GMT)
committerDave Airlie <airlied@redhat.com>2012-01-03 09:30:29 (GMT)
commitf9f23a77f07506a32d9dc1d925bf85c0e7507b66 (patch)
treeaac21c5054970d2c8f7b58539f28a6c5fc3b8bb9 /drivers/gpu/drm
parentb6195aab9ca63a4f6911365f36eb091666fcb15a (diff)
downloadlinux-f9f23a77f07506a32d9dc1d925bf85c0e7507b66.tar.xz
gma500: remove no_fb bits
This doesn't work and isn't of any use. It was inherited from the older driver code and can go away. Kill it off before it becomes part of mainstream as we don't want to support it in future. Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm')
-rw-r--r--drivers/gpu/drm/gma500/psb_drv.c15
1 files changed, 4 insertions, 11 deletions
diff --git a/drivers/gpu/drm/gma500/psb_drv.c b/drivers/gpu/drm/gma500/psb_drv.c
index 96756cc..f14768f 100644
--- a/drivers/gpu/drm/gma500/psb_drv.c
+++ b/drivers/gpu/drm/gma500/psb_drv.c
@@ -39,13 +39,9 @@
static int drm_psb_trap_pagefaults;
-int drm_psb_no_fb;
-
static int psb_probe(struct pci_dev *pdev, const struct pci_device_id *ent);
-MODULE_PARM_DESC(no_fb, "Disable FBdev");
MODULE_PARM_DESC(trap_pagefaults, "Error and reset on MMU pagefaults");
-module_param_named(no_fb, drm_psb_no_fb, int, 0600);
module_param_named(trap_pagefaults, drm_psb_trap_pagefaults, int, 0600);
@@ -213,8 +209,7 @@ static int psb_driver_unload(struct drm_device *dev)
gma_backlight_exit(dev);
- if (drm_psb_no_fb == 0)
- psb_modeset_cleanup(dev);
+ psb_modeset_cleanup(dev);
if (dev_priv) {
psb_lid_timer_takedown(dev_priv);
@@ -383,11 +378,9 @@ static int psb_driver_load(struct drm_device *dev, unsigned long chipset)
dev->driver->get_vblank_counter = psb_get_vblank_counter;
- if (drm_psb_no_fb == 0) {
- psb_modeset_init(dev);
- psb_fbdev_init(dev);
- drm_kms_helper_poll_init(dev);
- }
+ psb_modeset_init(dev);
+ psb_fbdev_init(dev);
+ drm_kms_helper_poll_init(dev);
/* Only add backlight support if we have LVDS output */
list_for_each_entry(connector, &dev->mode_config.connector_list,