drm/i915: Really ignore long HPD pulses on eDP
Subsystems (2)
PATCH 1/1 drm/i915: Really ignore long HPD pulses on eDP
From: Ville Syrjälä <[email protected]>
Return IRQ_HANDLED from intel_dp_hpd_pulse() to properly ignore the long HPD pulse on eDP to avoid the never ending VDD off->HPD->VDD on->VDD off->HPD... cycle.
This fixes a regression intoduced by
commit b2c5c181ed18490648a02f8c7d562a3b9e8b96de
Author: Daniel Vetter <[email protected]>
Date: Fri Jan 23 06:00:31 2015 +0100
drm/i915: Use symbolic irqreturn for ->hpd_pulse
---
Jani, I decided against the goto out solution because it would have looked like
ret = IRQ_HANDLED;
goto out;
which seemed a bit silly.
drivers/gpu/drm/i915/intel_dp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/i915/intel_dp.c +1 -1
@@ -4499,7 +4499,7 @@ intel_dp_hpd_pulse(struct intel_digital_port *intel_dig_port, bool long_hpd)*/ DRM_DEBUG_KMS ("ignoring long hpd on eDP port %c\n" ,port_name (intel_dig_port->port)); -return false; +return IRQ_HANDLED ; } DRM_DEBUG_KMS("got hpd irq on port %c - %s\n",
Signature · 6 lines
2.0.5 _______________________________________________ Intel-gfx mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/intel-gfx
Jani Nikula
maintainerQuoted 17 lines · On Tue, 10 Feb 2015, [email protected] wrote:
From: Ville Syrjälä <[email protected]>
Return
IRQ_HANDLEDfromintel_dp_hpd_pulse()to properly ignore the long HPD pulse on eDP to avoid the never ending VDDoff->HPD->VDDon->VDDoff->HPD... cycle.This fixes a regression intoduced by
commitb2c5c181ed18490648a02f8c7d562a3b9e8b96de
Author: Daniel Vetter <[email protected]>
Date: Fri Jan 23 06:00:31 2015 +0100drm/i915: Use symbolic irqreturn for ->hpd_pulseCc Daniel Vetter <[email protected]>Cc Jani Nikula <[email protected]>Reviewed-by Daniel Vetter <[email protected]>Signed-off-by Ville Syrjälä <[email protected]>
Quoted 5 lines
---
Jani, I decided against the goto out solution because it would have looked like
ret =IRQ_HANDLED;
goto out;
which seemed a bit silly.
Ack.
Jani.
Quoted 20 lines
drivers/gpu/drm/i915/intel_dp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/gpu/drm/i915/intel_dp.c +1
-1@@ -4499,7 +4499,7 @@ intel_dp_hpd_pulse(struct intel_digital_port *intel_dig_port, bool long_hpd)*/ DRM_DEBUG_KMS ("ignoring long hpd on eDP port %c\n" ,port_name (intel_dig_port->port)); -return false; +return IRQ_HANDLED ; } DRM_DEBUG_KMS("got hpd irq on port %c - %s\n",Signature · 1 line
2.0.5
Signature · 5 lines
Jani Nikula, Intel Open Source Technology Center _______________________________________________ Intel-gfx mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/intel-gfx
Task id: 5747 -------------------------------------Summary-------------------------------------
Platform Delta drm-intel-nightly Series Applied
PNV +5-4 275/283 276/283 ILK +1 310/315 311/315 SNB +2 320/346 322/346
IVB -1 380/384 379/384
BYT 296/296 296/296
HSW +3 422/428 425/428
BDW 318/333 318/333
-------------------------------------Detailed-------------------------------------
Platform Test drm-intel-nightly Series Applied
*PNV igt_gem_fence_thrash_bo-write-verify-none PASS(2, M7) FAIL(1, M7) *PNV igt_gem_fence_thrash_bo-write-verify-x PASS(2, M7) FAIL(1, M7) *PNV igt_gem_fence_thrash_bo-write-verify-y PASS(3, M7) FAIL(1, M7) PNV igt_gem_userptr_blits_coherency-unsync CRASH(2, M7)PASS(3, M7) PASS(1, M7) PNV igt_gem_userptr_blits_create-destroy-sync NRUN(1, M7)PASS(4, M7) PASS(1, M7) PNV igt_gen3_render_linear_blits FAIL(1, M7)PASS(2, M7) PASS(1, M7) PNV igt_gen3_render_mixed_blits FAIL(2, M7)PASS(1, M7) PASS(1, M7) PNV igt_gen3_render_tiledx_blits FAIL(1, M7)TIMEOUT(1, M7)PASS(3, M7) PASS(1, M7) *PNV igt_gem_tiled_pread_pwrite PASS(3, M7) FAIL(1, M7) *ILK igt_drv_suspend_forcewake DMESG_WARN(3, M26) PASS(1, M26) *SNB igt_kms_flip_bo-too-big BLACKLIST(1, M35) PASS(1, M35) *SNB igt_kms_flip_bo-too-big-interruptible BLACKLIST(1, M35) PASS(1, M35) IVB igt_gem_storedw_batches_loop_normal DMESG_WARN(1, M4)PASS(3, M4) DMESG_WARN(1, M4) *HSW igt_kms_flip_bo-too-big BLACKLIST(1, M40) PASS(1, M40) *HSW igt_kms_flip_bo-too-big-interruptible BLACKLIST(1, M40) PASS(1, M40) HSW igt_kms_flip_plain-flip-fb-recreate-interruptible TIMEOUT(4, M40)PASS(2, M40) PASS(1, M40)
Note: You need to pay more attention to line start with '*'
_______________________________________________
Intel-gfx mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoted 11 lines · On Tue, 10 Feb 2015, [email protected] wrote:
From: Ville Syrjälä <[email protected]>
Return
IRQ_HANDLEDfromintel_dp_hpd_pulse()to properly ignore the long HPD pulse on eDP to avoid the never ending VDDoff->HPD->VDDon->VDDoff->HPD... cycle.This fixes a regression intoduced by
commitb2c5c181ed18490648a02f8c7d562a3b9e8b96de
Author: Daniel Vetter <[email protected]>
Date: Fri Jan 23 06:00:31 2015 +0100
Quoted 6 lines
drm/i915: Use symbolic irqreturn for ->hpd_pulseCc Daniel Vetter <[email protected]>Cc Jani Nikula <[email protected]>Reviewed-by Daniel Vetter <[email protected]>Signed-off-by Ville Syrjälä <[email protected]>
Pushed to drm-intel-next-fixes, thanks for the patch and review.
BR,
Jani.
Quoted 25 lines
---
Jani, I decided against the goto out solution because it would have looked like
ret =IRQ_HANDLED;
goto out;
which seemed a bit silly.drivers/gpu/drm/i915/intel_dp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/gpu/drm/i915/intel_dp.c +1
-1@@ -4499,7 +4499,7 @@ intel_dp_hpd_pulse(struct intel_digital_port *intel_dig_port, bool long_hpd)*/ DRM_DEBUG_KMS ("ignoring long hpd on eDP port %c\n" ,port_name (intel_dig_port->port)); -return false; +return IRQ_HANDLED ; } DRM_DEBUG_KMS("got hpd irq on port %c - %s\n",Signature · 1 line
2.0.5
Signature · 5 lines
Jani Nikula, Intel Open Source Technology Center _______________________________________________ Intel-gfx mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/intel-gfx