Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 188963
b: refs/heads/master
c: 71cf39b
h: refs/heads/master
i:
  188961: 5e9b5be
  188959: df626b4
v: v3
  • Loading branch information
Eric Anholt committed Mar 17, 2010
1 parent 04bb819 commit 97c8210
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4967790112b284f276c5065dc724f7340a2fd7a5
refs/heads/master: 71cf39b117d5aa817a4693f4478397e6b04bee25
5 changes: 5 additions & 0 deletions trunk/drivers/gpu/drm/i915/i915_gem.c
Original file line number Diff line number Diff line change
Expand Up @@ -4725,6 +4725,11 @@ i915_gem_init_ringbuffer(struct drm_device *dev)
ring->space += ring->Size;
}

if (IS_I9XX(dev) && !IS_GEN3(dev)) {
I915_WRITE(MI_MODE,
(VS_TIMER_DISPATCH) << 16 | VS_TIMER_DISPATCH);
}

return 0;
}

Expand Down
4 changes: 4 additions & 0 deletions trunk/drivers/gpu/drm/i915/i915_reg.h
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,10 @@
#define INSTDONE 0x02090
#define NOPID 0x02094
#define HWSTAM 0x02098

#define MI_MODE 0x0209c
# define VS_TIMER_DISPATCH (1 << 6)

#define SCPD0 0x0209c /* 915+ only */
#define IER 0x020a0
#define IIR 0x020a4
Expand Down

0 comments on commit 97c8210

Please sign in to comment.