mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-22 17:36:20 +03:00
gpu: nvgpu: move gk20a_init_gr to common.gr.init
Move gk20a_init_gr function from gr_gk20a.c to gr.c as nvgpu_gr_init. Update all files that call gk20a_init_gr function. JIRA NVGPU-1885 Change-Id: I318a34778e23a7372be574ee9c21c5b65011e535 Signed-off-by: Vinod G <vinodg@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2092648 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
c99f13e842
commit
f57d9f97c2
@@ -30,6 +30,7 @@
|
||||
#include <nvgpu/sizes.h>
|
||||
#include <nvgpu/gk20a.h>
|
||||
#include <nvgpu/regops.h>
|
||||
#include <nvgpu/gr/gr.h>
|
||||
|
||||
#include "platform_gk20a.h"
|
||||
#include "module.h"
|
||||
@@ -102,7 +103,7 @@ static void nvgpu_init_vars(struct gk20a *g)
|
||||
|
||||
static void nvgpu_init_gr_vars(struct gk20a *g)
|
||||
{
|
||||
gk20a_init_gr(g);
|
||||
nvgpu_gr_init(g);
|
||||
|
||||
nvgpu_log_info(g, "total ram pages : %lu", totalram_pages);
|
||||
g->max_comptag_mem = totalram_size_in_mb;
|
||||
|
||||
Reference in New Issue
Block a user