Revert "drm/amdgpu: move internal vram_mgr function into the C file"
authorArunpravin Paneer Selvam <Arunpravin.PaneerSelvam@amd.com>
Fri, 8 Jul 2022 09:30:45 +0000 (02:30 -0700)
committerChristian König <christian.koenig@amd.com>
Mon, 11 Jul 2022 07:41:06 +0000 (09:41 +0200)
commitd395fb1999abb7eaa3fb5fd2107cae0f1e41e6d0
treeb8990f9acf2cfc603bdc9c08eed6dfbc2e0b61bd
parent006f3b2f324cb2277bdcb89693296d9647ece251
Revert "drm/amdgpu: move internal vram_mgr function into the C file"

This reverts commit 708d19d9f362766147cab79eccae60912c6d3068.

This is part of a revert of the following commits:
commit 708d19d9f362 ("drm/amdgpu: move internal vram_mgr function into the C file")
commit 5e3f1e7729ec ("drm/amdgpu: fix start calculation in amdgpu_vram_mgr_new")
commit c9cad937c0c5 ("drm/amdgpu: add drm buddy support to amdgpu")

[WHY]
Few users reported garbaged graphics as soon as x starts,
reverting until this can be resolved.

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