Re: [RFC PATCH v2] drm/amdgpu/ttm: optimize vram access in amdgpu_ttm_access_memory()

2021-07-13 Thread Wang, Kevin(Yang)
/amdgpu/ttm: optimize vram access in amdgpu_ttm_access_memory() Am 13.07.21 um 05:23 schrieb Kevin Wang: > 1. using vram aper to access vram if possible > 2. avoid MM_INDEX/MM_DATA is not working when mmio protect feature is > enabled. > > Signed-off-by: Kevin Wang > --- >

Re: [RFC PATCH v2] drm/amdgpu/ttm: optimize vram access in amdgpu_ttm_access_memory()

2021-07-13 Thread Christian König
, Lijo ; Deucher, Alexander ; Min, Frank ; Koenig, Christian ; Zhang, Hawking *Subject:* Re: [RFC PATCH v2] drm/amdgpu/ttm: optimize vram access in amdgpu_ttm_access_memory() Am 13.07.21 um 05:23 schrieb Kevin Wang: > 1. using vram aper to access vram if possible > 2. avoid MM_INDEX/MM_D

[RFC PATCH v2] drm/amdgpu/ttm: optimize vram access in amdgpu_ttm_access_memory()

2021-07-13 Thread Kevin Wang
1. using vram aper to access vram if possible 2. avoid MM_INDEX/MM_DATA is not working when mmio protect feature is enabled. Signed-off-by: Kevin Wang --- drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c | 126 +--- 1 file changed, 89 insertions(+), 37 deletions(-) diff --git a/drive

Re: [RFC PATCH v2] drm/amdgpu/ttm: optimize vram access in amdgpu_ttm_access_memory()

2021-07-13 Thread Christian König
Am 13.07.21 um 05:23 schrieb Kevin Wang: 1. using vram aper to access vram if possible 2. avoid MM_INDEX/MM_DATA is not working when mmio protect feature is enabled. Signed-off-by: Kevin Wang --- drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c | 126 +--- 1 file changed, 89 inser