Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 148701
b: refs/heads/master
c: 42c2798
h: refs/heads/master
i:
  148699: e8e8e67
v: v3
  • Loading branch information
Jesse Barnes authored and Eric Anholt committed Jun 5, 2009
1 parent 9320c9c commit 4aeb8b5
Show file tree
Hide file tree
Showing 3 changed files with 5 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: 70aa96ca2d8d938fc036ef8fd189b0151f4fc3ba
refs/heads/master: 42c2798b35b95c471877133e19ccc3cab00e9b65
5 changes: 4 additions & 1 deletion trunk/drivers/gpu/drm/i915/i915_dma.c
Original file line number Diff line number Diff line change
Expand Up @@ -1161,8 +1161,11 @@ int i915_driver_load(struct drm_device *dev, unsigned long flags)
#endif

dev->driver->get_vblank_counter = i915_get_vblank_counter;
if (IS_GM45(dev))
dev->max_vblank_count = 0xffffff; /* only 24 bits of frame count */
if (IS_G4X(dev)) {
dev->max_vblank_count = 0xffffffff; /* full 32 bit counter */
dev->driver->get_vblank_counter = gm45_get_vblank_counter;
}

i915_gem_load(dev);

Expand Down
2 changes: 0 additions & 2 deletions trunk/drivers/gpu/drm/i915/i915_irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -574,8 +574,6 @@ int i915_driver_irq_postinstall(struct drm_device *dev)

dev_priv->vblank_pipe = DRM_I915_VBLANK_PIPE_A | DRM_I915_VBLANK_PIPE_B;

dev->max_vblank_count = 0xffffff; /* only 24 bits of frame count */

/* Unmask the interrupts that we always want on. */
dev_priv->irq_mask_reg = ~I915_INTERRUPT_ENABLE_FIX;

Expand Down

0 comments on commit 4aeb8b5

Please sign in to comment.