diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2019-05-09 09:48:50 +0300 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2019-05-14 09:58:06 +0300 |
commit | a2ac09a03d2a0306eb584192b2a5d6c2aeb265ad (patch) | |
tree | c89dfd693fa8e447d4a928ce2835eb54fc90d450 /drivers/gpu/drm/nouveau/nouveau_drm.c | |
parent | a0b694d0af21c9993d1a39a75fd814bd48bf7eb4 (diff) | |
download | linux-a2ac09a03d2a0306eb584192b2a5d6c2aeb265ad.tar.xz |
drm/nouveau/core: allow detected chipset to be overridden
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_drm.c')
-rw-r--r-- | drivers/gpu/drm/nouveau/nouveau_drm.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_drm.c b/drivers/gpu/drm/nouveau/nouveau_drm.c index 22cd45845e07..7c2fcaba42d6 100644 --- a/drivers/gpu/drm/nouveau/nouveau_drm.c +++ b/drivers/gpu/drm/nouveau/nouveau_drm.c @@ -631,7 +631,8 @@ static int nouveau_drm_probe(struct pci_dev *pdev, /* We need to check that the chipset is supported before booting * fbdev off the hardware, as there's no way to put it back. */ - ret = nvkm_device_pci_new(pdev, NULL, "error", true, false, 0, &device); + ret = nvkm_device_pci_new(pdev, nouveau_config, "error", + true, false, 0, &device); if (ret) return ret; |