diff options
author | Harish Kasiviswanathan <Harish.Kasiviswanathan@amd.com> | 2017-06-09 18:26:57 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2017-06-09 18:29:38 +0300 |
commit | 9a4b7d4c769e7513dec8f441de1f521ec4ead4b6 (patch) | |
tree | 2484bc22632c27cba01ef82389ce8c82840d7181 /drivers/gpu/drm/amd/amdgpu/vi_dpm.h | |
parent | b58c11314a1706bf094c489ef5cb28f76478c704 (diff) | |
download | linux-9a4b7d4c769e7513dec8f441de1f521ec4ead4b6.tar.xz |
drm/amdgpu: Add vm context module param
Add VM update mode module param (amdgpu.vm_update_mode) that can used to
control how VM pde/pte are updated for Graphics and Compute.
BIT0 controls Graphics and BIT1 Compute.
BIT0 [= 0] Graphics updated by SDMA [= 1] by CPU
BIT1 [= 0] Compute updated by SDMA [= 1] by CPU
By default, only for large BAR system vm_update_mode = 2, indicating
that Graphics VMs will be updated via SDMA and Compute VMs will be
updated via CPU. And for all all other systems (by default)
vm_update_mode = 0
Signed-off-by: Harish Kasiviswanathan <Harish.Kasiviswanathan@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/vi_dpm.h')
0 files changed, 0 insertions, 0 deletions