projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
12097c6
)
drm/amdgpu/soc15: init nbio registers for vega10
author
Alex Deucher
<alexander.deucher@amd.com>
Thu, 6 Jul 2017 17:43:55 +0000
(13:43 -0400)
committer
Alex Deucher
<alexander.deucher@amd.com>
Fri, 14 Jul 2017 15:06:27 +0000
(11:06 -0400)
Call nbio init registers on hw_init to set up any
nbio registers that need initialization at hw init time.
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/soc15.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/amdgpu/soc15.c
b/drivers/gpu/drm/amd/amdgpu/soc15.c
index 0d9a3dd302a77db0f4754c3c018c308a8428a91a..8dc023296773a4fe22c198b3da3a644c659dc2b1 100644
(file)
--- a/
drivers/gpu/drm/amd/amdgpu/soc15.c
+++ b/
drivers/gpu/drm/amd/amdgpu/soc15.c
@@
-727,6
+727,9
@@
static int soc15_common_hw_init(void *handle)
soc15_pcie_gen3_enable(adev);
/* enable aspm */
soc15_program_aspm(adev);
+ /* setup nbio registers */
+ if (!(adev->flags & AMD_IS_APU))
+ nbio_v6_1_init_registers(adev);
/* enable the doorbell aperture */
soc15_enable_doorbell_aperture(adev, true);