]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/amdgpu: Update VM function pointer
authorGang Ba <gaba@amd.com>
Wed, 14 Aug 2019 15:00:19 +0000 (11:00 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 15 Aug 2019 15:58:28 +0000 (10:58 -0500)
commitd397ea96e736eb2a97a5a174662ecd85080ad0d1
tree79987e3fecf1c5e1ce4b24abec598188509ee6ce
parent1a9c45977a3601caeee16001ecbca4f286c56f5c
drm/amd/amdgpu: Update VM function pointer

When VM state changed and system in large bar mode,
make sure to use CPU update function, otherwise use
SDMA function.

Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Gang Ba <gaba@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c