aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/gma500/mdfld_device.c
diff options
context:
space:
mode:
authorAlan Cox2012-05-11 11:33:03 +0100
committerDave Airlie2012-05-11 17:36:01 +0100
commit9c0b6fcdc9faee5cdd8cce0cf83c423ab5c4ed20 (patch)
tree77ea5761761f6d1145b073ca597bdbf9cca642c0 /drivers/gpu/drm/gma500/mdfld_device.c
parent9aa65a2b9de1b46fcf3a7a623de231663802671d (diff)
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/mdfld_device.c')
-rw-r--r--drivers/gpu/drm/gma500/mdfld_device.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/gma500/mdfld_device.c b/drivers/gpu/drm/gma500/mdfld_device.c
index 393a0e15d5de..2d8e741e06d7 100644
--- a/drivers/gpu/drm/gma500/mdfld_device.c
+++ b/drivers/gpu/drm/gma500/mdfld_device.c
@@ -518,6 +518,8 @@ static const struct psb_offset mdfld_regmap[3] = {
static int mdfld_chip_setup(struct drm_device *dev)
{
struct drm_psb_private *dev_priv = dev->dev_private;
+ if (pci_enable_msi(dev->pdev))
+ dev_warn(dev->dev, "Enabling MSI failed!\n");
dev_priv->regmap = mdfld_regmap;
return mid_chip_setup(dev);
}