drm/amdgpu: reapply "fix start calculation in amdgpu_vram_mgr_new""
authorChristian König <christian.koenig@amd.com>
Thu, 14 Jul 2022 12:44:17 +0000 (14:44 +0200)
committerChristian König <christian.koenig@amd.com>
Fri, 15 Jul 2022 11:24:01 +0000 (13:24 +0200)
commit55b3d6a63fb58e154f0a1ab3930cdd003a39ba9b
treef1ad8588aec510968de27f0831ce83aeec9c96bc
parentf6ee30407e883042482ad4ad30da5eaba47872ee
drm/amdgpu: reapply "fix start calculation in amdgpu_vram_mgr_new""

This re-applys commit 5e3f1e7729ec7a99e145e9d8ed58963d86cdfb98.

The original problem this was reverted for was found and the correct fix
will be merged to drm-misc-next-fixes.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Arunpravin Paneer Selvam <Arunpravin.PaneerSelvam@amd.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220714132315.587217-1-christian.koenig@amd.com
drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c