summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/gma500/cdv_device.c
diff options
context:
space:
mode:
authorAlan Cox2012-05-11 12:33:03 +0200
committerDave Airlie2012-05-11 18:36:01 +0200
commit9c0b6fcdc9faee5cdd8cce0cf83c423ab5c4ed20 (patch)
tree77ea5761761f6d1145b073ca597bdbf9cca642c0 /drivers/gpu/drm/gma500/cdv_device.c
parentcdv: Add all cedarview pci ids (diff)
downloadkernel-qcow2-linux-9c0b6fcdc9faee5cdd8cce0cf83c423ab5c4ed20.tar.gz
kernel-qcow2-linux-9c0b6fcdc9faee5cdd8cce0cf83c423ab5c4ed20.tar.xz
kernel-qcow2-linux-9c0b6fcdc9faee5cdd8cce0cf83c423ab5c4ed20.zip
gma500: clean up some more checks
We don't need to check these - they are always going to be the same for any PVR based device. Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/gma500/cdv_device.c')
-rw-r--r--drivers/gpu/drm/gma500/cdv_device.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/gma500/cdv_device.c b/drivers/gpu/drm/gma500/cdv_device.c
index d94a9e6fa6a3..8e393303f53a 100644
--- a/drivers/gpu/drm/gma500/cdv_device.c
+++ b/drivers/gpu/drm/gma500/cdv_device.c
@@ -543,6 +543,9 @@ static int cdv_chip_setup(struct drm_device *dev)
{
struct drm_psb_private *dev_priv = dev->dev_private;
INIT_WORK(&dev_priv->hotplug_work, cdv_hotplug_work_func);
+
+ if (pci_enable_msi(dev->pdev))
+ dev_warn(dev->dev, "Enabling MSI failed!\n");
dev_priv->regmap = cdv_regmap;
cdv_get_core_freq(dev);
psb_intel_opregion_init(dev);