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)
commitbfcd6c69e4c3f73f2f92b997983537f9a3ac3b29
treeed9d183c1fb138de46a2787977ada43d6c6a1a93
parent46cf5f7626c708fe914142dddbf0d6dea94e3801
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