]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: fix parentheses in amdgpu_vm_update_ptes
authorChristian König <christian.koenig@amd.com>
Thu, 30 Jan 2020 12:09:07 +0000 (13:09 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 5 Feb 2020 04:30:39 +0000 (23:30 -0500)
commita9a841f7b54a76bd82c836157d3ed33915310d08
treeed9d183c1fb138de46a2787977ada43d6c6a1a93
parent2740b8947c78fc50a09c9dc0d2ca8d1d1384df37
drm/amdgpu: fix parentheses in amdgpu_vm_update_ptes

For the root PD mask can be 0xffffffff as well which would
overrun to 0 if we don't cast it before we add one.

Signed-off-by: Christian König <christian.koenig@amd.com>
Tested-by: Tom St Denis <tom.stdenis@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c