mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 10:34:43 +03:00
gpu: nvgpu: gv11b : init gpu clocks
gp10b_tegra_get_clocks called from gv11b_tegra_probe. Also gv11b_tegra_probe is called from nvgpu_probe via function ptr platform->probe JIRA GV11B-34 Change-Id: I782286e191eef84ce41bc65440fbe5ae00995af3 Signed-off-by: Seema Khowala <seemaj@nvidia.com> Reviewed-on: http://git-master/r/1296840 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
a04aa3e3f0
commit
ed7b35ef60
@@ -27,22 +27,12 @@
|
||||
|
||||
#include "gk20a/platform_gk20a.h"
|
||||
#include "gk20a/gk20a.h"
|
||||
#include "platform_tegra.h"
|
||||
|
||||
#include "gp10b/platform_gp10b.h"
|
||||
|
||||
#include "platform_tegra.h"
|
||||
#include "gr_gv11b.h"
|
||||
|
||||
/*
|
||||
* gv11b_tegra_get_clocks()
|
||||
*
|
||||
* This function finds clocks in tegra platform and populates
|
||||
* the clock information to gv11b platform data.
|
||||
*/
|
||||
|
||||
static int gv11b_tegra_get_clocks(struct device *dev)
|
||||
{
|
||||
/* TODO */
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int gv11b_tegra_probe(struct device *dev)
|
||||
{
|
||||
@@ -62,7 +52,7 @@ static int gv11b_tegra_probe(struct device *dev)
|
||||
/* soc memory accessed as system memory aperture */
|
||||
platform->g->mm.vidmem_is_vidmem = platform->vidmem_is_vidmem;
|
||||
|
||||
gv11b_tegra_get_clocks(dev);
|
||||
gp10b_tegra_get_clocks(dev);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user