summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
diff options
context:
space:
mode:
authorFelix Kuehling <Felix.Kuehling@amd.com>2021-07-16 22:46:21 -0400
committerAlex Deucher <alexander.deucher@amd.com>2021-08-06 16:12:32 -0400
commita43e2a0e11491b73e2acaa27ee74d6c3b86deac0 (patch)
treebd3d9c29ba1f9d91437d1683b76bfb37c27d24ab /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
parented7c28c77103e1441ed22eb492b26b9b035403f7 (diff)
drm/amdkfd: Allow querying SVM attributes that are clear
Currently the SVM get_attr call allows querying, which flags are set in the entire address range. Add the opposite query, which flags are clear in the entire address range. Both queries can be combined in a single get_attr call, which allows answering questions such as, "is this address range coherent, non-coherent, or a mix of both"? Proposed userspace for UAPI: https://github.com/RadeonOpenCompute/ROCR-Runtime/tree/memory_model_queries Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com> Reviewed-by: Philip Yand <philip.yang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
0 files changed, 0 insertions, 0 deletions