]> git.baikalelectronics.ru Git - kernel.git/commit
drm/nouveau/kms/nv140-: Disable interlacing
authorLyude Paul <lyude@redhat.com>
Tue, 16 Aug 2022 18:04:36 +0000 (14:04 -0400)
committerLyude Paul <lyude@redhat.com>
Tue, 16 Aug 2022 19:39:48 +0000 (15:39 -0400)
commit266c4676c975ea5705d63176135b61364ae7e377
tree88321ef274e9a4c8095156c88781400e358a3f93
parentc16009aaf9f4a5e472fff0ea6652b5584cdcd5eb
drm/nouveau/kms/nv140-: Disable interlacing

As it turns out: while Nvidia does actually have interlacing knobs on their
GPU still pretty much no current GPUs since Volta actually support it.
Trying interlacing on these GPUs will result in NVDisplay being quite
unhappy like so:

nouveau 0000:1f:00.0: disp: chid 0 stat 00004802 reason 4 [INVALID_ARG] mthd 2008 data 00000001 code 00080000
nouveau 0000:1f:00.0: disp: chid 0 stat 10005080 reason 5 [INVALID_STATE] mthd 0200 data 00000001 code 00000001

So let's fix this by following the same behavior Nvidia's driver does and
disable interlacing entirely.

Signed-off-by: Lyude Paul <lyude@redhat.com>
Cc: stable@vger.kernel.org
Reviewed-by: Karol Herbst <kherbst@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220816180436.156310-1-lyude@redhat.com
drivers/gpu/drm/nouveau/nouveau_connector.c