diff options
| author | 2026-09-09 16:45:02 +1000 | |
|---|---|---|
| committer | 2026-09-27 14:10:48 +0200 | |
| commit | 7edc491f6fca8e22f51e37a16d74914cd959274d (patch) | |
| tree | 88c210babff6cc710a605c95abc6d2e586bf13c7 /scripts/Makefile.thinlto | |
| parent | drm: nova: Add usable VRAM size to GPU info (diff) | |
drm: nova: Use nova-core to read VRAM_BAR_SIZE parameter
Currently nova-drm reads the VRAM BAR size directly from the PCIe device
which requires trying to cast the parent device into a PCIe device. This
obviously requires the parent device to actually be a PCIe bus device.
Whilst that is true today it may not always be the case, and there
is no reason to make this assumption now that NovaCoreApi can hold a
reference to the bound PCIe device.
So convert nova-drm to using nova-core to obtain the VRAM_BAR_SIZE
parameter.
Suggested-by: Danilo Krummrich <dakr@kernel.org>
Signed-off-by: Alistair Popple <apopple@nvidia.com>
Link: https://patch.msgid.link/20260909064506.910162-10-apopple@nvidia.com
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
