diff options
Diffstat (limited to 'nouveau/nouveau_device.c')
-rw-r--r-- | nouveau/nouveau_device.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/nouveau/nouveau_device.c b/nouveau/nouveau_device.c index 9a091fba..2ffcba6f 100644 --- a/nouveau/nouveau_device.c +++ b/nouveau/nouveau_device.c @@ -95,6 +95,11 @@ nouveau_device_open_existing(struct nouveau_device **dev, int close, } nvdev->base.chipset = value; + ret = nouveau_device_get_param(&nvdev->base, + NOUVEAU_GETPARAM_HAS_BO_USAGE, &value); + if (!ret) + nvdev->has_bo_usage = value; + *dev = &nvdev->base; return 0; } |