summaryrefslogtreecommitdiff
path: root/drivers/gpu/Makefile
diff options
context:
space:
mode:
authorZhi Wang <zhiw@nvidia.com>2026-07-22 10:39:13 +0300
committerDanilo Krummrich <dakr@kernel.org>2026-07-24 01:16:02 +0200
commit6dcbb4b1320fa91fee349462a52bb69135f2e45e (patch)
treec3e2befb1dac5b494282b43815a8deb042928980 /drivers/gpu/Makefile
parentf6f0d2d461fdd58e2f920e9efc8c7f482f81fb2e (diff)
downloadlinux-next-6dcbb4b1320fa91fee349462a52bb69135f2e45e.tar.gz
linux-next-6dcbb4b1320fa91fee349462a52bb69135f2e45e.zip
gpu: nova-core: reserve vGPU WPR2 heap
GSP-RM needs a larger WPR2 heap when booting in vGPU mode. The heap size is firmware-dependent, so it should come from the generated firmware bindings instead of being open-coded in nova-core. Pass the detected vGPU state into the framebuffer layout calculation. Keep baremetal boots on the existing heap sizing path, and use the 570.144 vGPU default heap binding only when vGPU is enabled. The same state match also sets the VF partition count, so disabled and invalid 0/1-VF states do not enter the vGPU heap path. Cc: Alexandre Courbot <acourbot@nvidia.com> Signed-off-by: Zhi Wang <zhiw@nvidia.com> Reviewed-by: Alexandre Courbot <acourbot@nvidia.com> Link: https://patch.msgid.link/20260722073913.1807677-7-zhiw@nvidia.com [ Use checked arithmetic to calculate wpr2_heap_addr. - Danilo ] Signed-off-by: Danilo Krummrich <dakr@kernel.org>
Diffstat (limited to 'drivers/gpu/Makefile')
0 files changed, 0 insertions, 0 deletions