]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: fix mask in GART location calculation
authorChristian König <christian.koenig@amd.com>
Fri, 14 Sep 2018 08:17:24 +0000 (10:17 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 14 Sep 2018 15:05:34 +0000 (10:05 -0500)
commitc36a7568f975130909f2a2ebe44e5fb2b72da7f1
treeeb0c7e701a31203b5132a8c928eab30f98da78d6
parent238832da65786b9dc7414028ea6af73946b55e81
drm/amdgpu: fix mask in GART location calculation

We need to mask the lower bits not the upper one.

Fixes: e9178bc4b8ec4 drm/amdgpu: put GART away from VRAM v2
Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Acked-by: James Zhu <James.Zhu@amd.com>
Tested-by: James Zhu <James.Zhu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c