Files
android_kernel_xiaomi_sm8450/drivers/gpu/drm/amd/amdgpu
Harish Kasiviswanathan 9a4b7d4c76 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>
2017-06-09 11:29:38 -04:00
..
2015-06-03 21:03:15 -04:00
2017-05-24 17:41:19 -04:00
2017-03-29 23:53:46 -04:00
2015-06-03 21:03:15 -04:00
2015-06-03 21:03:17 -04:00
2015-06-03 21:03:17 -04:00
2015-06-03 21:03:17 -04:00
2017-05-24 17:41:16 -04:00
2017-05-24 17:41:16 -04:00
2016-08-31 15:21:09 -04:00
2016-08-31 15:21:09 -04:00
2017-06-06 16:59:09 -04:00
2017-05-24 17:41:17 -04:00
2017-05-24 17:40:26 -04:00