mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-23 09:57:08 +03:00
gpu: nvgpu: Add ELPG_ENABLE register
Change-Id: I8b2272641c7f406cec9bb2649846e4b4b195e21a Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: http://git-master/r/708720 GVS: Gerrit_Virtual_Submit
This commit is contained in:
committed by
Deepak Nibade
parent
fc898d8f56
commit
3d08b0dc35
@@ -226,4 +226,20 @@ static inline u32 mc_enable_pb_sel_f(u32 v, u32 i)
|
|||||||
{
|
{
|
||||||
return (v & 0x1) << (0 + i*1);
|
return (v & 0x1) << (0 + i*1);
|
||||||
}
|
}
|
||||||
|
static inline u32 mc_elpg_enable_r(void)
|
||||||
|
{
|
||||||
|
return 0x0000020c;
|
||||||
|
}
|
||||||
|
static inline u32 mc_elpg_enable_xbar_enabled_f(void)
|
||||||
|
{
|
||||||
|
return 0x4;
|
||||||
|
}
|
||||||
|
static inline u32 mc_elpg_enable_pfb_enabled_f(void)
|
||||||
|
{
|
||||||
|
return 0x100000;
|
||||||
|
}
|
||||||
|
static inline u32 mc_elpg_enable_hub_enabled_f(void)
|
||||||
|
{
|
||||||
|
return 0x20000000;
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user