]> git.karo-electronics.de Git - linux-beck.git/commit
drm/amdgpu/gmc: move vram type fetching into sw_init
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 31 Mar 2016 20:07:38 +0000 (16:07 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 1 Apr 2016 14:08:35 +0000 (10:08 -0400)
commitd1518a1db31a25682ea09c4b135fa72d9883be42
treee37a82b78b172d4674275e0de3cd103c0929c932
parent354edd8e94e910a68bb74a434f055bc3600499f2
drm/amdgpu/gmc: move vram type fetching into sw_init

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>
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c
drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c