drm/amdgpu: correct pte mtype field for navi
authorHawking Zhang <Hawking.Zhang@amd.com>
Fri, 12 Apr 2019 23:17:24 +0000 (18:17 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 21 Jun 2019 02:35:29 +0000 (21:35 -0500)
commitc304b9e51914d6ffe765f35eb39310d35f988a28
treeb2ebf206759b569db1cccc94dd372b33bf9c0515
parent367adb2ad5bd738b0899edb4825b356f810fd8d8
drm/amdgpu: correct pte mtype field for navi

The MTYPE filed moves from bits 58:57 to 50:48 for NV10
And the size of MTYPE field is now 3bits

Signed-off-by: Hawking Zhang <Hawking.Zhang@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@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
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h