drm/amdgpu: add vram reservation based on vram_usagebyfirmware_v2_2
authorjsg <jsg@openbsd.org>
Sun, 13 Aug 2023 10:30:28 +0000 (10:30 +0000)
committerjsg <jsg@openbsd.org>
Sun, 13 Aug 2023 10:30:28 +0000 (10:30 +0000)
commit0b078e877e77a15b87be309ccaf6da1f41238980
tree13067c331fd5e16cdd4df59dd583cca89408a6ed
parent25f0e36e50202526c7a4811ea67d4082f0115dd1
drm/amdgpu: add vram reservation based on vram_usagebyfirmware_v2_2

From Tong Liu01
526defeec474ea8002b8312b9c88f96fa1f85a48 in linux-6.1.y/6.1.45
4864f2ee9ee2acf4a1009b58fbc62f17fa086d4e in mainline linux
sys/dev/pci/drm/amd/amdgpu/amdgpu_atomfirmware.c
sys/dev/pci/drm/amd/amdgpu/amdgpu_ttm.c
sys/dev/pci/drm/amd/amdgpu/amdgpu_ttm.h
sys/dev/pci/drm/amd/include/atomfirmware.h