projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8291ee9
)
drm/i915: HWSTAM is only 16-bit on gen3
author
Chris Wilson
<chris@chris-wilson.co.uk>
Tue, 24 Apr 2012 21:59:48 +0000
(22:59 +0100)
committer
Daniel Vetter
<daniel.vetter@ffwll.ch>
Thu, 3 May 2012 09:18:18 +0000
(11:18 +0200)
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_irq.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/i915/i915_irq.c
b/drivers/gpu/drm/i915/i915_irq.c
index e8e4b9c41c6fa694c5d476a577c1de2504225c0e..3c3e33a6c2494ba79b9ade8fa7915781dd7bff6b 100644
(file)
--- a/
drivers/gpu/drm/i915/i915_irq.c
+++ b/
drivers/gpu/drm/i915/i915_irq.c
@@
-2339,7
+2339,7
@@
static void i915_irq_preinstall(struct drm_device * dev)
I915_WRITE(PORT_HOTPLUG_STAT, I915_READ(PORT_HOTPLUG_STAT));
}
- I915_WRITE(HWSTAM, 0xeffe);
+ I915_WRITE
16
(HWSTAM, 0xeffe);
for_each_pipe(pipe)
I915_WRITE(PIPESTAT(pipe), 0);
I915_WRITE(IMR, 0xffffffff);
@@
-2537,7
+2537,7
@@
static void i915_irq_uninstall(struct drm_device * dev)
I915_WRITE(PORT_HOTPLUG_STAT, I915_READ(PORT_HOTPLUG_STAT));
}
- I915_WRITE
(HWSTAM, 0xffff
ffff);
+ I915_WRITE
16(HWSTAM, 0x
ffff);
for_each_pipe(pipe)
I915_WRITE(PIPESTAT(pipe), 0);
I915_WRITE(IMR, 0xffffffff);