summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
diff options
context:
space:
mode:
authorYunxiang Li <Yunxiang.Li@amd.com>2024-12-19 10:14:08 -0500
committerChristian König <christian.koenig@amd.com>2024-12-19 16:56:17 +0100
commitbebf2ebd70f210a6c8fe5f668dadefb083014217 (patch)
treeb0aea6af8ddd47e34de7d71c69aa0f06b9e44ae9 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
parentfd265d9e0c3358e6b9fe244d8f5d2824fda1c0dc (diff)
downloadlinux-bebf2ebd70f210a6c8fe5f668dadefb083014217.tar.gz
linux-bebf2ebd70f210a6c8fe5f668dadefb083014217.tar.bz2
linux-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 <Yunxiang.Li@amd.com> Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@igalia.com> Link: https://patchwork.freedesktop.org/patch/msgid/20241219151411.1150-3-Yunxiang.Li@amd.com Signed-off-by: Christian König <christian.koenig@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions