diff options
| author | Imre Deak <[email protected]> | 2014-09-08 15:21:09 +0300 |
|---|---|---|
| committer | Daniel Vetter <[email protected]> | 2014-09-19 14:43:13 +0200 |
| commit | 950eabaf5a87257040e0c207be09487954113f54 (patch) | |
| tree | cdf3f4f9eb393edf24344b5a33f2d7da350c1ed0 /tools/perf/scripts/python | |
| parent | 47bf17a7d1676f5f0e5c8d45f0fd0c5050add78f (diff) | |
drm/i915: vlv: fix display IRQ enable/disable
We want to enable/disable display IRQs only if global i915 IRQs are
enabled. To check the latter it's not enough to consult the DRM
dev->irq_enabled flag, since runtime PM can disable/enable IRQs
and it won't adjust this flag only the i915 specific
dev_priv->pm._irqs_disabled flag. Fix this by using the proper
intel_irqs_enabled() helper instead.
Fortunately this didn't cause an actual problem since even if we enabled
display IRQs too early (before enabling global i915 IRQs) the
VLV_MASTER_IER would still be clear masking all IRQs.
This issue was caught by
commit 920dd15a2b2fc60d054646a8a1ffd6aeb6090e05
Author: Daniel Vetter <[email protected]>
Date: Wed Aug 27 10:43:37 2014 +0200
drm/i915: WARN if interrupts aren't on in en/disable_pipestat
Signed-off-by: Imre Deak <[email protected]>
Cc: Jesse Barnes <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions