Karol Herbst
2018-Feb-15 13:18 UTC
[Nouveau] [PATCH] kms/nv50: always call drm_dp_dpcd_write after drm_dp_mst_hpd_irq
When using the dock for the Lenovo P50 laptop it could happen quite often that on redocking the laptop no attached displays are found. Same situation when displays are connected to the dock. There seems to be no unhandled bits in the esi though. With this patch detecting the displays doesn't seem to fail anymore on above mentioned setup. Maybe there is a better fix for this issue. Signed-off-by: Karol Herbst <kherbst at redhat.com> --- drm/nouveau/nv50_display.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drm/nouveau/nv50_display.c b/drm/nouveau/nv50_display.c index dd8d4352..9e360ffa 100644 --- a/drm/nouveau/nv50_display.c +++ b/drm/nouveau/nv50_display.c @@ -3337,9 +3337,6 @@ nv50_mstm_service(struct nv50_mstm *mstm) } drm_dp_mst_hpd_irq(&mstm->mgr, esi, &handled); - if (!handled) - break; - drm_dp_dpcd_write(aux, DP_SINK_COUNT_ESI + 1, &esi[1], 3); } } -- 2.14.3
Reasonably Related Threads
- [PATCH 21/26] drm/nouveau: Don't grab runtime PM refs for HPD IRQs
- [PATCH v2 22/27] drm/nouveau: Don't grab runtime PM refs for HPD IRQs
- [PATCH v5 09/14] drm/nouveau: Don't grab runtime PM refs for HPD IRQs
- [PATCH AUTOSEL 5.4 146/350] drm/nouveau: Don't grab runtime PM refs for HPD IRQs
- Nouveau nullptr on NVIDIA NVA8