aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu.h
diff options
context:
space:
mode:
authorPhilip Yang <[email protected]>2023-03-31 15:13:40 +0000
committerAlex Deucher <[email protected]>2023-06-09 13:58:45 +0000
commit610dab118ff5013d46069c828b58d576e0907b66 (patch)
tree5a05d7a10aae240bd8d49479b637cd4aa91fef9e /drivers/gpu/drm/amd/amdgpu/amdgpu.h
parentdrm/amdgpu: Skip halting RLC on GFX v9.4.3 (diff)
downloadkernel-610dab118ff5013d46069c828b58d576e0907b66.tar.gz
kernel-610dab118ff5013d46069c828b58d576e0907b66.zip
drm/amdkfd: Move pgmap to amdgpu_kfd_dev structure
VRAM pgmap resource is allocated every time when switching compute partitions because kfd_dev is re-initialized by post_partition_switch, As a result, it causes memory region resource leaking and system memory usage accounting unbalanced. pgmap resource should be allocated and registered only once when loading driver and freed when unloading driver, move it from kfd_dev to amdgpu_kfd_dev. Signed-off-by: Philip Yang <[email protected]> Reviewed-by: Felix Kuehling <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu.h')
0 files changed, 0 insertions, 0 deletions