]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: miss PRT case when bo update
authorYintian Tao <yttao@amd.com>
Mon, 16 Mar 2020 07:45:58 +0000 (15:45 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 19 Mar 2020 04:03:04 +0000 (00:03 -0400)
commit2ed50e8d8b466845689eeab53e2f4705da891a0c
treeaf01a075323750a39ec09899e95c10a2e1fed85d
parent4041dc0cfe1fd854f15f1f27424a0ea531eccca4
drm/amdgpu: miss PRT case when bo update

Originally, only the PTE valid is taken in consider.
The PRT case is missied when bo update which raise problem.
We need add condition for PRT case.

v2: add PRT condition for amdgpu_vm_bo_update_mapping, too
v3: fix one typo error

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