You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
drm/nouveau/core: allow vbios parsing without knowing chipset type
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
This commit is contained in:
@@ -29,6 +29,7 @@
|
|||||||
#include <nvif/unpack.h>
|
#include <nvif/unpack.h>
|
||||||
#include <nvif/class.h>
|
#include <nvif/class.h>
|
||||||
|
|
||||||
|
#include <subdev/bios.h>
|
||||||
#include <subdev/fb.h>
|
#include <subdev/fb.h>
|
||||||
#include <subdev/instmem.h>
|
#include <subdev/instmem.h>
|
||||||
|
|
||||||
@@ -432,6 +433,10 @@ nouveau_devobj_ctor(struct nouveau_object *parent,
|
|||||||
}
|
}
|
||||||
|
|
||||||
nv_debug(device, "crystal freq: %dKHz\n", device->crystal);
|
nv_debug(device, "crystal freq: %dKHz\n", device->crystal);
|
||||||
|
} else
|
||||||
|
if ( (args->v0.disable & NV_DEVICE_V0_DISABLE_IDENTIFY)) {
|
||||||
|
device->cname = "NULL";
|
||||||
|
device->oclass[NVDEV_SUBDEV_VBIOS] = &nouveau_bios_oclass;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!(args->v0.disable & NV_DEVICE_V0_DISABLE_MMIO) &&
|
if (!(args->v0.disable & NV_DEVICE_V0_DISABLE_MMIO) &&
|
||||||
|
|||||||
Reference in New Issue
Block a user