Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1427965
| From | Lyude <cpaul@redhat.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH v3 0/4] Fixes for HPD |
| Date | 2016-06-21 19:10 +0200 |
| Message-ID | <rMxlv-eK-3@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
This is a revised version of the patchset: https://lists.freedesktop.org/archives/intel-gfx/2016-June/098787.html This patchset is intended to fix the issue of not having HPD when we're in runtime suspend, or on Valleyview/Cherryview systems when we don't have any power wells enabled. While this isn't the best for RPM, until we have the infrastructure to provide hpd while in runtime suspend this will have to suffice since not having HPD at all times means a user could potentially boot their system with no displays connected, then never have any displays they connect afterwards get detected. Unlike the previous patchset, this patchset includes a fix for the VGA detect loops we were seeing on Valleyview. On my setup, this fix seems to have fixed the loop entirely. As it turns out, I think our original understanding of this issue wasn't entirely accurate. Originally it had been assumed that the HPD signals we were getting from the ADPA were a result of turning the power wells on and off. As it turns out, the HPD signals actually don't get fired off until we do the force detect on the ADPA, not when we reset it. This means this problem can easily be solved just by temporarily disabling HPD on the ADPA whenever we do a force detect. As such, "drm/i915/vlv: Disable HPD in valleyview_crt_detect_hotplug()" deprecates Ville's previous two fixes Cc: stable@vger.kernel.org Cc: Ville Syrjälä <ville.syrjala@linux.intel.com> Cc: Daniel Vetter <daniel.vetter@ffwll.ch> Lyude (4): drm/i915/vlv: Make intel_crt_reset() per-encoder drm/i915/vlv: Reset the ADPA in vlv_display_power_well_init() drm/i915/vlv: Disable HPD in valleyview_crt_detect_hotplug() drm/i915: Enable polling when we don't have hpd drivers/gpu/drm/i915/i915_drv.c | 7 +- drivers/gpu/drm/i915/i915_drv.h | 6 ++ drivers/gpu/drm/i915/intel_crt.c | 28 ++++++-- drivers/gpu/drm/i915/intel_drv.h | 4 +- drivers/gpu/drm/i915/intel_hotplug.c | 112 +++++++++++++++++++++++++++++--- drivers/gpu/drm/i915/intel_runtime_pm.c | 10 +++ 6 files changed, 150 insertions(+), 17 deletions(-) -- 2.5.5
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH v3 0/4] Fixes for HPD Lyude <cpaul@redhat.com> - 2016-06-21 19:10 +0200 [PATCH v3 2/4] drm/i915/vlv: Reset the ADPA in vlv_display_power_well_init() Lyude <cpaul@redhat.com> - 2016-06-21 19:10 +0200 [PATCH v3 1/4] drm/i915/vlv: Make intel_crt_reset() per-encoder Lyude <cpaul@redhat.com> - 2016-06-21 19:10 +0200 [PATCH v3 4/4] drm/i915: Enable polling when we don't have hpd Lyude <cpaul@redhat.com> - 2016-06-21 19:10 +0200
csiph-web