summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.c
diff options
context:
space:
mode:
authorPhilip Yang <Philip.Yang@amd.com>2021-07-31 21:28:24 -0400
committerAlex Deucher <alexander.deucher@amd.com>2021-08-11 17:19:54 -0400
commiteff8cbf096a735116cf6fad94d795652d9e0ff41 (patch)
treef30e5fe31f9b5fdc688ea9332dd50158d8784fcc /drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.c
parentf5bd523988c8c498ab18a35d729999894e4d2cf5 (diff)
downloadlinux-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