diff options
author | Yong Zhao <Yong.Zhao@amd.com> | 2020-03-04 12:38:59 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2020-03-10 15:54:34 -0400 |
commit | 1d251d90080a2721e97550973ab5efe772bc56bf (patch) | |
tree | 4b16588c01712add87c488d8a9b234d8a7af5e3d /drivers/target/target_core_file.c | |
parent | 8f2e0c033337f5c0c14daec0e50af5b44987b0ee (diff) |
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 <Yong.Zhao@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/target/target_core_file.c')
0 files changed, 0 insertions, 0 deletions