Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 371441
b: refs/heads/master
c: 88a2b2a
h: refs/heads/master
i:
  371439: ed25a10
v: v3
  • Loading branch information
Ben Widawsky authored and Daniel Vetter committed Apr 8, 2013
1 parent 0dead60 commit af3f472
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: ab5c608b2d96c8db80b9c7df072f18f3a4226b55
refs/heads/master: 88a2b2a32d71aad6d8dcd843294b00a204faa66b
6 changes: 6 additions & 0 deletions trunk/drivers/gpu/drm/i915/i915_gem.c
Original file line number Diff line number Diff line change
Expand Up @@ -3992,6 +3992,12 @@ i915_gem_init_hw(struct drm_device *dev)
if (IS_HASWELL(dev) && (I915_READ(0x120010) == 1))
I915_WRITE(0x9008, I915_READ(0x9008) | 0xf0000);

if (HAS_PCH_NOP(dev)) {
u32 temp = I915_READ(GEN7_MSG_CTL);
temp &= ~(WAIT_FOR_PCH_FLR_ACK | WAIT_FOR_PCH_RESET_ACK);
I915_WRITE(GEN7_MSG_CTL, temp);
}

i915_gem_l3_remap(dev);

i915_gem_init_swizzling(dev);
Expand Down
3 changes: 3 additions & 0 deletions trunk/drivers/gpu/drm/i915/i915_reg.h
Original file line number Diff line number Diff line change
Expand Up @@ -3568,6 +3568,9 @@
#define DISP_ARB_CTL 0x45000
#define DISP_TILE_SURFACE_SWIZZLING (1<<13)
#define DISP_FBC_WM_DIS (1<<15)
#define GEN7_MSG_CTL 0x45010
#define WAIT_FOR_PCH_RESET_ACK (1<<1)
#define WAIT_FOR_PCH_FLR_ACK (1<<0)

/* GEN7 chicken */
#define GEN7_COMMON_SLICE_CHICKEN1 0x7010
Expand Down

0 comments on commit af3f472

Please sign in to comment.