drm/amdgpu/ras: use GPU PAGE_SIZE/SHIFT for reserving pages
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 17 Sep 2019 13:11:24 +0000 (08:11 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 3 Oct 2019 14:10:59 +0000 (09:10 -0500)
commita142ba8800dd12de1a9013477efa8ab692041ed3
tree3da945c820876540f83eb33c50cdc11d7b475895
parentec51d3facd3eb2128d9ea914e461885630b4ad07
drm/amdgpu/ras: use GPU PAGE_SIZE/SHIFT for reserving pages

We are reserving vram pages so they should be aligned to the
GPU page size.

Reviewed-by: Tao Zhou <tao.zhou1@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_ras.c