diff options
author | Philip Yang <Philip.Yang@amd.com> | 2021-07-31 21:28:24 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2021-08-11 17:19:54 -0400 |
commit | eff8cbf096a735116cf6fad94d795652d9e0ff41 (patch) | |
tree | f30e5fe31f9b5fdc688ea9332dd50158d8784fcc /drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.c | |
parent | f5bd523988c8c498ab18a35d729999894e4d2cf5 (diff) | |
download | linux-eff8cbf096a735116cf6fad94d795652d9e0ff41.tar.bz2 |
drm/amdkfd: AIP mGPUs best prefetch location for xnack on
For xnack on, if range ACCESS or ACCESS_IN_PLACE (AIP) by single GPU, or
range is ACCESS_IN_PLACE by mGPUs and all mGPUs connection on XGMI same
hive, the best prefetch location is prefetch_loc GPU. Otherwise, the best
prefetch location is always CPU because GPU does not have coherent
mapping VRAM of other GPUs even with large-BAR PCIe connection.
Signed-off-by: Philip Yang <Philip.Yang@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.c')
0 files changed, 0 insertions, 0 deletions