diff options
| author | Yunxiang Li <[email protected]> | 2024-12-19 15:14:08 +0000 |
|---|---|---|
| committer | Christian König <[email protected]> | 2024-12-19 15:56:17 +0000 |
| commit | bebf2ebd70f210a6c8fe5f668dadefb083014217 (patch) | |
| tree | b0aea6af8ddd47e34de7d71c69aa0f06b9e44ae9 /drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | |
| parent | drm: add drm_memory_stats_is_zero (diff) | |
| download | kernel-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
