Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 307236
b: refs/heads/master
c: 25933dd
h: refs/heads/master
v: v3
  • Loading branch information
Alan Cox authored and Dave Airlie committed May 7, 2012
1 parent cfa31f6 commit 8762809
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 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: d839ede47a56ff5f316c88391818488f8e5913af
refs/heads/master: 25933ddeada7fe96a9900fe5f2ecf105fe4f367b
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 @@ -351,7 +351,7 @@ static int psb_driver_load(struct drm_device *dev, unsigned long chipset)
PSB_WSGX32(0x30000000, PSB_CR_BIF_3D_REQ_BASE);

acpi_video_register();
if (dev_priv->lid_state)
if (dev_priv->opregion.lid_state)
psb_lid_timer_init(dev_priv);

ret = drm_vblank_init(dev, dev_priv->num_pipe);
Expand Down
1 change: 0 additions & 1 deletion trunk/drivers/gpu/drm/gma500/psb_drv.h
Original file line number Diff line number Diff line change
Expand Up @@ -640,7 +640,6 @@ struct drm_psb_private {
spinlock_t lid_lock;
struct timer_list lid_timer;
struct psb_intel_opregion opregion;
u32 *lid_state;
u32 lid_last_state;

/*
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/gpu/drm/gma500/psb_lid.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ static void psb_lid_timer_func(unsigned long data)
struct drm_device *dev = (struct drm_device *)dev_priv->dev;
struct timer_list *lid_timer = &dev_priv->lid_timer;
unsigned long irq_flags;
u32 *lid_state = dev_priv->lid_state;
u32 __iomem *lid_state = dev_priv->opregion.lid_state;
u32 pp_status;

if (readl(lid_state) == dev_priv->lid_last_state)
Expand Down

0 comments on commit 8762809

Please sign in to comment.