Commit 8ba92493 authored by Lyude Paul's avatar Lyude Paul

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: default avatarLyude Paul <lyude@redhat.com>
Cc: stable@vger.kernel.org
Reviewed-by: default avatarKarol Herbst <kherbst@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220816180436.156310-1-lyude@redhat.com
parent 3b3510f1
...@@ -504,7 +504,8 @@ nouveau_connector_set_encoder(struct drm_connector *connector, ...@@ -504,7 +504,8 @@ nouveau_connector_set_encoder(struct drm_connector *connector,
connector->interlace_allowed = connector->interlace_allowed =
nv_encoder->caps.dp_interlace; nv_encoder->caps.dp_interlace;
else else
connector->interlace_allowed = true; connector->interlace_allowed =
drm->client.device.info.family < NV_DEVICE_INFO_V0_VOLTA;
connector->doublescan_allowed = true; connector->doublescan_allowed = true;
} else } else
if (nv_encoder->dcb->type == DCB_OUTPUT_LVDS || if (nv_encoder->dcb->type == DCB_OUTPUT_LVDS ||
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment