Module: Mesa
Branch: main
Commit: 3b0c34075c0f2c4b1f7e4bb6585c5f948b49f61c
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=3b0c34075c0f2c4b1f7e4bb6585c5f948b49f61c

Author: Konstantin Seurer <[email protected]>
Date:   Sat Nov 25 19:05:06 2023 +0100

drm-shim/nouveau: Set nv_device_info_v0::platform

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26366>

---

 src/nouveau/drm-shim/nouveau_noop.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/nouveau/drm-shim/nouveau_noop.c 
b/src/nouveau/drm-shim/nouveau_noop.c
index 5d8972c2b14..482ef3eabc2 100644
--- a/src/nouveau/drm-shim/nouveau_noop.c
+++ b/src/nouveau/drm-shim/nouveau_noop.c
@@ -198,6 +198,7 @@ nouveau_ioctl_nvif(int fd, unsigned long request, void *arg)
       case NV_DEVICE_V0_INFO: {
          struct nv_device_info_v0 *info = (void *)&mthd->mthd.data;
          info->chipset = device_info.chip_id;
+         info->platform = NV_DEVICE_INFO_V0_PCIE;
          break;
       }
       default:

Reply via email to