aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
diff options
context:
space:
mode:
authorYunxiang Li <[email protected]>2024-12-19 15:14:08 +0000
committerChristian König <[email protected]>2024-12-19 15:56:17 +0000
commitbebf2ebd70f210a6c8fe5f668dadefb083014217 (patch)
treeb0aea6af8ddd47e34de7d71c69aa0f06b9e44ae9 /drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
parentdrm: add drm_memory_stats_is_zero (diff)
downloadkernel-bebf2ebd70f210a6c8fe5f668dadefb083014217.tar.gz
kernel-bebf2ebd70f210a6c8fe5f668dadefb083014217.zip
drm: make drm-active- stats optional
When memory stats is generated fresh everytime by going though all the BOs, their active information is quite easy to get. But if the stats are tracked with BO's state this becomes harder since the job scheduling part doesn't really deal with individual buffers. Make drm-active- optional to enable amdgpu to switch to the second method. Signed-off-by: Yunxiang Li <[email protected]> Reviewed-by: Tvrtko Ursulin <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] Signed-off-by: Christian König <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c')
0 files changed, 0 insertions, 0 deletions