OSDN Git Service
(root)
/
android-x86
/
external-libdrm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
472981a
)
Was using irq_enable_reg in the use_mask_reg path
author
Keith Packard
<keithp@keithp.com>
Tue, 24 Jun 2008 16:46:51 +0000
(09:46 -0700)
committer
Keith Packard
<keithp@keithp.com>
Tue, 24 Jun 2008 16:46:51 +0000
(09:46 -0700)
shared-core/i915_irq.c
patch
|
blob
|
history
diff --git
a/shared-core/i915_irq.c
b/shared-core/i915_irq.c
index
23edddb
..
f9fed87
100644
(file)
--- a/
shared-core/i915_irq.c
+++ b/
shared-core/i915_irq.c
@@
-62,7
+62,7
@@
static inline void
i915_disable_irq(drm_i915_private_t *dev_priv, uint32_t mask)
{
if (dev_priv->irq_use_mask) {
- if ((dev_priv->irq_
enable
_reg & mask) != mask) {
+ if ((dev_priv->irq_
mask
_reg & mask) != mask) {
dev_priv->irq_mask_reg |= mask;
I915_WRITE(I915REG_INT_MASK_R, dev_priv->irq_mask_reg);
(void) I915_READ(I915REG_INT_MASK_R);