drm/nouveau/kms/nv50-: Report possible_crtcs incorrectly on mstos, for now
authorLyude Paul <lyude@redhat.com>
Fri, 13 Sep 2019 22:03:53 +0000 (18:03 -0400)
committerBen Skeggs <bskeggs@redhat.com>
Wed, 15 Jan 2020 00:49:58 +0000 (10:49 +1000)
commit481404957a14f9c46576913ba12985e6798b7d32
tree9d7ee9b6d72fa091dbdf3cb58e58dae5465ce885
parent5ff0cb1ce2536321045b5bc33ab8fb2467750f33
drm/nouveau/kms/nv50-: Report possible_crtcs incorrectly on mstos, for now

This commit is seperate from the previous one to make it easier to
revert in the future. Basically, while working on making MSTOs per-head
as opposed to per-head-per-connector I discovered these lovely issues:

https://gitlab.freedesktop.org/xorg/xserver/merge_requests/277
https://gitlab.gnome.org/GNOME/mutter/issues/759

Note as well that Intel already has a temporary workaround for this in
their kernel driver. So, unfortunately we need to follow suit to avoid
causing a regression in userspace. Once these issues get fixed, this
commit should be reverted.

Signed-off-by: Lyude Paul <lyude@redhat.com>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/dispnv50/disp.c