]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
drm/nouveau/bios: downgrade absence of tmds table to info from an error
authorRhys Kidd <rhyskidd@gmail.com>
Sun, 2 Jun 2019 12:07:27 +0000 (22:07 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Fri, 23 Aug 2019 02:55:31 +0000 (12:55 +1000)
Absence of a TMDS Info Table is common on Optimus setups where the NVIDIA
gpu is not connected directly to any outputs.

Reporting an error in this scenario is too harsh. Accordingly, change the
error message to an info message.

By default the error message also causes a boot flicker for these sytems.

Signed-off-by: Rhys Kidd <rhyskidd@gmail.com>
Reviewed-by: Lyude Paul <lyude@redhat.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_bios.c

index 1e93f82c96faf16045478c523b0dfd8d975dbcee..d204ea8a5618edf2d42a63cad34696d7667dfdc7 100644 (file)
@@ -933,7 +933,7 @@ static int parse_bit_tmds_tbl_entry(struct drm_device *dev, struct nvbios *bios,
 
        tmdstableptr = ROM16(bios->data[bitentry->offset]);
        if (!tmdstableptr) {
-               NV_ERROR(drm, "Pointer to TMDS table invalid\n");
+               NV_INFO(drm, "Pointer to TMDS table not found\n");
                return -EINVAL;
        }