]> git.karo-electronics.de Git - karo-tx-linux.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 20 Apr 2016 06:41:56 +0000 (15:41 +0900)
commit1e84f8b8dad8c270006b89385b4b60e1cc1ccf4c
tree34a5de9fb2a659bbea1f70e443ab6eaf88b20d5d
parent0bccb7a91e02086d7fcdd61042d508e012ba87ef
drm/amdgpu/gmc: move vram type fetching into sw_init

commit d1518a1db31a25682ea09c4b135fa72d9883be42 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>
drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c
drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c