drm/amdgpu/gmc: move vram type fetching into sw_init

commit d1518a1db3 upstream.

early_init gets called before atom asic init so on non-posted
cards, the vram type is not initialized.

Reviewed-by: Harish Kasiviswanathan <Harish.Kasiviswanathan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Alex Deucher 2016-03-31 16:07:38 -04:00 • committed by Greg Kroah-Hartman
commit 1e84f8b8da
2 changed files with 16 additions and 16 deletions