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:
02680ef
)
drm/amdgpu/vega20: add CLK base offset
author
Alex Deucher
<
[email protected]
>
Tue, 6 Nov 2018 16:19:00 +0000
(11:19 -0500)
committer
Alex Deucher
<
[email protected]
>
Tue, 6 Nov 2018 21:25:51 +0000
(16:25 -0500)
In case we need to access CLK registers.
Acked-by: Harry Wentland <
[email protected]
>
Signed-off-by: Alex Deucher <
[email protected]
>
drivers/gpu/drm/amd/amdgpu/vega20_reg_init.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/amdgpu/vega20_reg_init.c
b/drivers/gpu/drm/amd/amdgpu/vega20_reg_init.c
index 2d4473557b0d23210782ff72397b47bd7f9c94ef..d13fc4fcb51790859f03aefb14f4bd90067c8fd8 100644
(file)
--- a/
drivers/gpu/drm/amd/amdgpu/vega20_reg_init.c
+++ b/
drivers/gpu/drm/amd/amdgpu/vega20_reg_init.c
@@
-49,6
+49,7
@@
int vega20_reg_base_init(struct amdgpu_device *adev)
adev->reg_offset[SMUIO_HWIP][i] = (uint32_t *)(&(SMUIO_BASE.instance[i]));
adev->reg_offset[NBIF_HWIP][i] = (uint32_t *)(&(NBIO_BASE.instance[i]));
adev->reg_offset[THM_HWIP][i] = (uint32_t *)(&(THM_BASE.instance[i]));
+ adev->reg_offset[CLK_HWIP][i] = (uint32_t *)(&(CLK_BASE.instance[i]));
}
return 0;
}