]> www.infradead.org Git - users/dwmw2/linux.git/commit
drm/amdgpu: Use ttm_pages_limit to override vram reporting
authorRajneesh Bhardwaj <rajneesh.bhardwaj@amd.com>
Mon, 2 Oct 2023 19:27:01 +0000 (15:27 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 4 Oct 2023 22:36:42 +0000 (18:36 -0400)
commitf4bff6e0b9e1dc29bc54d7c7e1c01f2c701eb36f
treef511df9136ae9cd5caf05420e596c559ffd93fed
parent9b37d45d797e9441a415e17bf963423162d8f998
drm/amdgpu: Use ttm_pages_limit to override vram reporting

On GFXIP9.4.3 APU, allow the memory reporting as per the ttm pages
limit in NPS1 mode.

Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Rajneesh Bhardwaj <rajneesh.bhardwaj@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c