drm/nouveau/disp: fix DP capable DSM connectors
authorKarol Herbst <kherbst@redhat.com>
Wed, 11 Oct 2023 11:41:34 +0000 (13:41 +0200)
committerKarol Herbst <kherbst@redhat.com>
Thu, 12 Oct 2023 20:47:08 +0000 (22:47 +0200)
commit4366faf43308bd91c59a20c43a9f853a9c3bb6e4
treef0f5cbd70f99d14d8cd303e57f55daebc18c26c4
parentf2cab4b318ee8023f4ad640b906ae268942a7db4
drm/nouveau/disp: fix DP capable DSM connectors

Just special case DP DSM connectors until we properly figure out how to
deal with this.

This resolves user regressions on GPUs with such connectors without
reverting the original fix.

Cc: Lyude Paul <lyude@redhat.com>
Cc: stable@vger.kernel.org # 6.4+
Closes: https://gitlab.freedesktop.org/drm/nouveau/-/issues/255
Fixes: 2b5d1c29f6c4 ("drm/nouveau/disp: PIOR DP uses GPIO for HPD, not PMGR AUX interrupts")
Signed-off-by: Karol Herbst <kherbst@redhat.com>
Reviewed-by: Lyude Paul <lyude@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20231011114134.861818-1-kherbst@redhat.com
drivers/gpu/drm/nouveau/nvkm/engine/disp/uconn.c