summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorYunxiang Li <Yunxiang.Li@amd.com>2024-12-19 18:14:07 +0300
committerChristian König <christian.koenig@amd.com>2024-12-19 18:56:05 +0300
commitfd265d9e0c3358e6b9fe244d8f5d2824fda1c0dc (patch)
tree765d6f798b2d5f23356b968144da5f3529dd33d7 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parent314d44bc8eaab6e159ebf187356e9bd40e2baf9b (diff)
downloadlinux-fd265d9e0c3358e6b9fe244d8f5d2824fda1c0dc.tar.xz
drm: add drm_memory_stats_is_zero
Add a helper to check if the memory stats is zero, this will be used to check for memory accounting errors. Signed-off-by: Yunxiang Li <Yunxiang.Li@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com> Link: https://patchwork.freedesktop.org/patch/msgid/20241219151411.1150-2-Yunxiang.Li@amd.com Signed-off-by: Christian König <christian.koenig@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions