aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c
diff options
context:
space:
mode:
authorYong Zhao <[email protected]>2020-03-04 17:38:59 +0000
committerAlex Deucher <[email protected]>2020-03-10 19:54:34 +0000
commit1d251d90080a2721e97550973ab5efe772bc56bf (patch)
tree4b16588c01712add87c488d8a9b234d8a7af5e3d /drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c
parentdrm/amdkfd: Use pr_debug to print the message of reaching event limit (diff)
downloadkernel-1d251d90080a2721e97550973ab5efe772bc56bf.tar.gz
kernel-1d251d90080a2721e97550973ab5efe772bc56bf.zip
drm/amdkfd: Consolidate duplicated bo alloc flags
ALLOC_MEM_FLAGS_* used are the same as the KFD_IOC_ALLOC_MEM_FLAGS_*, but they are interweavedly used in kernel driver, resulting in bad readability. For example, KFD_IOC_ALLOC_MEM_FLAGS_COHERENT is not referenced in kernel, and it functions implicitly in kernel through ALLOC_MEM_FLAGS_COHERENT, causing unnecessary confusion. Replace all occurrences of ALLOC_MEM_FLAGS_* with KFD_IOC_ALLOC_MEM_FLAGS_* to solve the problem. Signed-off-by: Yong Zhao <[email protected]> Reviewed-by: Felix Kuehling <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c')
0 files changed, 0 insertions, 0 deletions