aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorAlex Sierra <[email protected]>2023-07-19 21:20:58 +0000
committerAlex Deucher <[email protected]>2023-07-25 17:44:05 +0000
commit8923137dbe4b24863694c35284df51d036b5dd5e (patch)
tree9e29f69f640be753a1bfe27eb5291ac0b4f90730 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentdrm/radeon: ERROR: "foo * bar" should be "foo *bar" (diff)
downloadkernel-8923137dbe4b24863694c35284df51d036b5dd5e.tar.gz
kernel-8923137dbe4b24863694c35284df51d036b5dd5e.zip
drm/amdkfd: avoid svm dump when dynamic debug disabled
Set dynamic_svm_range_dump macro to avoid iterating over SVM lists from svm_range_debug_dump when dynamic debug is disabled. Otherwise, it could drop performance, specially with big number of SVM ranges. Make sure both svm_range_set_attr and svm_range_debug_dump functions are dynamically enabled to print svm_range_debug_dump debug traces. Signed-off-by: Alex Sierra <[email protected]> Tested-by: Alex Sierra <[email protected]> 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_object.c')
0 files changed, 0 insertions, 0 deletions