Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 372aa73e authored by Ben Skeggs's avatar Ben Skeggs
Browse files

drm/nouveau/disp/nv04: avoid creation of output paths



Fixes hitting WARN_ON() during initialisation of pre-NV50 GPUs, caused
by the recent changes to support pad macro routing on GM20x.

We currently don't use them here for older GPUs anyway.

Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
parent 38bcb208
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -267,6 +267,8 @@ nvkm_disp_oneinit(struct nvkm_engine *engine)
	/* Create output path objects for each VBIOS display path. */
	i = -1;
	while ((data = dcb_outp_parse(bios, ++i, &ver, &hdr, &dcbE))) {
		if (ver < 0x40) /* No support for chipsets prior to NV50. */
			break;
		if (dcbE.type == DCB_OUTPUT_UNUSED)
			continue;
		if (dcbE.type == DCB_OUTPUT_EOL)