drm/nouveau/bios/init: handle INIT_GENERIC_CONDITION_ID_NO_PANEL_SEQ_DELAYS
authorBen Skeggs <bskeggs@redhat.com>
Tue, 12 Feb 2019 12:28:13 +0000 (22:28 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Tue, 19 Feb 2019 22:59:59 +0000 (08:59 +1000)
As I currently understand it, this is related to features we have no
support for as of yet.

In theory, this change should be a noop, just without the warning.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c

index 5146359..ec0e9f7 100644 (file)
@@ -830,6 +830,9 @@ init_generic_condition(struct nvbios_init *init)
                if (!(init_rdauxr(init, 0x0d) & 1))
                        init_exec_set(init, false);
                break;
+       case 7: /* CONDITION_ID_NO_PANEL_SEQ_DELAYS. */
+               init_exec_set(init, false);
+               break;
        default:
                warn("INIT_GENERIC_CONDITON: unknown 0x%02x\n", cond);
                init->offset += size;