drm/nouveau/kms/nv50-: split DP disable+enable into two modesets
authorBen Skeggs <bskeggs@redhat.com>
Tue, 19 Sep 2023 21:56:24 +0000 (17:56 -0400)
committerLyude Paul <lyude@redhat.com>
Tue, 19 Sep 2023 22:22:16 +0000 (18:22 -0400)
commita5a7379f6d9d83964b3d2e1fe0dd0ad45ee55408
tree8382f0bea978ef035bcc30092d0c1e93e4260a50
parentbfb03a077ba9955c165d355cb3ce4d3622a9c8c6
drm/nouveau/kms/nv50-: split DP disable+enable into two modesets

Link training can finally be moved out of the supervisor sequence,
but first we need to split DP modesets into separate disable and
enable sequences to be able to perform link training between them
instead.

- preparation for GSP-RM

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Reviewed-by: Lyude Paul <lyude@redhat.com>
Acked-by: Danilo Krummrich <me@dakr.org>
Signed-off-by: Lyude Paul <lyude@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230919220442.202488-30-lyude@redhat.com
drivers/gpu/drm/nouveau/dispnv50/disp.c