diff options
author | Felix Kuehling <Felix.Kuehling@amd.com> | 2021-12-07 21:04:06 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2021-12-13 16:32:35 -0500 |
commit | 4853cbcd94bdd654e94aa40ae718efcf5b6ae57a (patch) | |
tree | 0c1aeb0676a69eaab207303ef144d250d782f1e8 /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | |
parent | f864df76ff1021b21776a7df029c0da884794c28 (diff) | |
download | linux-4853cbcd94bdd654e94aa40ae718efcf5b6ae57a.tar.gz linux-4853cbcd94bdd654e94aa40ae718efcf5b6ae57a.tar.bz2 linux-4853cbcd94bdd654e94aa40ae718efcf5b6ae57a.zip |
drm/amdkfd: Don't split unchanged SVM ranges
If an existing SVM range overlaps an svm_range_set_attr call, we would
normally split it in order to update only the overlapping part.
However, if the attributes of the existing range would not be changed
splitting it is unnecessary.
Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
Reviewed-by: Philip Yang <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