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:
704cfb8
)
drm/i915: Only WARN about a stuck hotplug irq ONCE
author
Chris Wilson
<
[email protected]
>
Fri, 10 Jan 2014 18:49:20 +0000
(18:49 +0000)
committer
Daniel Vetter
<
[email protected]
>
Fri, 10 Jan 2014 21:26:15 +0000
(22:26 +0100)
It seems that hardware that is broken enough to emit a hotplug IRQ even
though the pin is surposedly disable, will do so indefinitely.
Note: There's a good chance the underlying issue has been fixed with
commit
0ce99f749b3834edeb500e17d6ad17e86b60ff83
Author: Daniel Vetter <
[email protected]
>
Date: Fri Jul 26 11:27:49 2013 +0200
drm/i915: fix gen4 digital port hotplug definitions
References: https://bugzilla.redhat.com/show_bug.cgi?id=
1051170
Link:
https://bugzilla.redhat.com/attachment.cgi?id=847786
Signed-off-by: Chris Wilson <
[email protected]
>
[danvet: Add note about the potential fix.]
Signed-off-by: Daniel Vetter <
[email protected]
>
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 a9b0b181cb40150079fd09f32ab349ffa8a56b06..72453f1f7ae512ec5aec2ff8d5f5eaec864db711 100644
(file)
--- a/
drivers/gpu/drm/i915/i915_irq.c
+++ b/
drivers/gpu/drm/i915/i915_irq.c
@@
-1233,9
+1233,9
@@
static inline void intel_hpd_irq_handler(struct drm_device *dev,
spin_lock(&dev_priv->irq_lock);
for (i = 1; i < HPD_NUM_PINS; i++) {
- WARN
(((hpd[i] & hotplug_trigger)
&&
-
dev_priv->hpd_stats[i].hpd_mark != HPD_ENABLED)
,
- "Received HPD interrupt although disabled\n");
+ WARN
_ONCE(hpd[i] & hotplug_trigger
&&
+
dev_priv->hpd_stats[i].hpd_mark != HPD_ENABLED
,
+
"Received HPD interrupt although disabled\n");
if (!(hpd[i] & hotplug_trigger) ||
dev_priv->hpd_stats[i].hpd_mark != HPD_ENABLED)