diff options
author | Samuel Li <Samuel.Li@amd.com> | 2017-12-08 16:18:59 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2018-02-19 14:17:41 -0500 |
commit | 09052fc3769c98e1ce1c4f3398da8201548fc449 (patch) | |
tree | 3e0458c399b494996ed5268fc2969bb36419b8c7 /tools/vm | |
parent | 6e227308a91db544c6f91edcf37c56764db2ae47 (diff) |
drm/amdgpu: Move to gtt before cpu accesses dma buf.
To improve cpu read performance. This is implemented for APUs currently.
v2: Adapt to change https://lists.freedesktop.org/archives/amd-gfx/2017-October/015174.html
v3: Adapt to change "forward begin_cpu_access callback to drivers"
v4: Instead of v3, reuse drm_gem dmabuf_ops here. Also some minor fixes as suggested.
v5: only set dma_buf ops when it is valid (Samuel)
Signed-off-by: Samuel Li <Samuel.Li@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/vm')
0 files changed, 0 insertions, 0 deletions