aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorDaniel Vetter <[email protected]>2014-04-24 12:03:17 +0200
committerJani Nikula <[email protected]>2014-04-25 16:01:14 +0300
commit3ff04a160a891e56cdcee5c198d4c764d1c8c78b (patch)
treef9ebb8de65449f7ac06286921551eaa3f8133ff6 /lib/memory-notifier-error-inject.c
parent0f9dc59db6abc475dc23afc077fabbc606b8830f (diff)
drm/i915: Don't WARN nor handle unexpected hpd interrupts on gmch platforms
The status bits are unconditionally set, the control bits only enable the actual interrupt generation. Which means if we get some random other interrupts we'll bogusly complain about them. So restrict the WARN to platforms with a sane hotplug interrupt handling scheme. And even more important also don't attempt to process the hpd bit since we've detected a storm already. Instead just clear the bit silently. This WARN has been introduced in commit b8f102e8bf71cacf33326360fdf9dcfd1a63925b Author: Egbert Eich <[email protected]> Date: Fri Jul 26 14:14:24 2013 +0200 drm/i915: Add messages useful for HPD storm detection debugging (v2) before that we silently handled the hpd event and so partially defeated the storm detection. v2: Pimp commit message (Jani) Cc: Jani Nikula <[email protected]> Cc: Egbert Eich <[email protected]> Cc: bitlord <[email protected]> Reported-by: bitlord <[email protected]> Cc: [email protected] Signed-off-by: Daniel Vetter <[email protected]> Signed-off-by: Jani Nikula <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions