diff options
| author | Harish Kasiviswanathan <[email protected]> | 2017-06-09 15:26:57 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2017-06-09 15:29:38 +0000 |
| commit | 9a4b7d4c769e7513dec8f441de1f521ec4ead4b6 (patch) | |
| tree | 2484bc22632c27cba01ef82389ce8c82840d7181 /drivers/gpu/drm/amd/amdgpu/amdgpu_sync.h | |
| parent | drm/amdgpu: drop deprecated drm_get_pci_dev and drm_put_dev (diff) | |
| download | kernel-9a4b7d4c769e7513dec8f441de1f521ec4ead4b6.tar.gz kernel-9a4b7d4c769e7513dec8f441de1f521ec4ead4b6.zip | |
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 <[email protected]>
Reviewed-by: Christian König <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_sync.h')
0 files changed, 0 insertions, 0 deletions
