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:
045cebd
)
drm/i915: Eliminate PORT_HOTPLUG_EN setup from gen3/4 irq_postinstall
author
Ville Syrjälä
<
[email protected]
>
Fri, 18 Aug 2017 18:36:56 +0000
(21:36 +0300)
committer
Ville Syrjälä
<
[email protected]
>
Thu, 14 Sep 2017 14:12:38 +0000
(17:12 +0300)
We've already cleared PORT_HOTPLUG_EN in the .irq_preinstall hook
so doing it again in the .irq_postinstall is pointless.
Reviewed-by: Chris Wilson <
[email protected]
>
Signed-off-by: Ville Syrjälä <
[email protected]
>
Link:
https://patchwork.freedesktop.org/patch/msgid/
[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 ebaac9cf88239683b337e58bab0b6ec2fe6c6bf1..6431f4ebb726f7dd5b7af1eb528e9604df795a5d 100644
(file)
--- a/
drivers/gpu/drm/i915/i915_irq.c
+++ b/
drivers/gpu/drm/i915/i915_irq.c
@@
-3761,9
+3761,6
@@
static int i915_irq_postinstall(struct drm_device *dev)
I915_USER_INTERRUPT;
if (I915_HAS_HOTPLUG(dev_priv)) {
- i915_hotplug_interrupt_update(dev_priv, 0xffffffff, 0);
- POSTING_READ(PORT_HOTPLUG_EN);
-
/* Enable in IER... */
enable_mask |= I915_DISPLAY_PORT_INTERRUPT;
/* and unmask in IMR */
@@
-3960,9
+3957,6
@@
static int i965_irq_postinstall(struct drm_device *dev)
GEN3_IRQ_INIT(, dev_priv->irq_mask, enable_mask);
- i915_hotplug_interrupt_update(dev_priv, 0xffffffff, 0);
- POSTING_READ(PORT_HOTPLUG_EN);
-
i915_enable_asle_pipestat(dev_priv);
return 0;