Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 282457
b: refs/heads/master
c: e036ba5
h: refs/heads/master
i:
  282455: decc835
v: v3
  • Loading branch information
Patrik Jakobsson authored and Dave Airlie committed Dec 6, 2011
1 parent a6ef980 commit 3f62e42
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: dffc9ceb55695f121adc57dd1fde7304c3afe81e
refs/heads/master: e036ba5914df8a6c2ce665ba4631fe1f17f4cc2b
2 changes: 1 addition & 1 deletion trunk/drivers/gpu/drm/gma500/psb_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ static int psb_driver_load(struct drm_device *dev, unsigned long chipset)
PSB_WVDC32(0x00000000, PSB_INT_ENABLE_R);
PSB_WVDC32(0xFFFFFFFF, PSB_INT_MASK_R);
spin_unlock_irqrestore(&dev_priv->irqmask_lock, irqflags);
if (drm_core_check_feature(dev, DRIVER_MODESET))
if (IS_PSB(dev) && drm_core_check_feature(dev, DRIVER_MODESET))
drm_irq_install(dev);

dev->vblank_disable_allowed = 1;
Expand Down
1 change: 1 addition & 0 deletions trunk/drivers/gpu/drm/gma500/psb_drv.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ enum {
CHIP_MFLD_0130 = 3, /* Medfield */
};

#define IS_PSB(dev) (((dev)->pci_device & 0xfffe) == 0x8108)
#define IS_MRST(dev) (((dev)->pci_device & 0xfffc) == 0x4100)
#define IS_MFLD(dev) (((dev)->pci_device & 0xfff8) == 0x0130)

Expand Down

0 comments on commit 3f62e42

Please sign in to comment.