mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 02:22:34 +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
@@ -34,6 +34,7 @@
|
||||
#include <nvgpu/channel.h>
|
||||
#include <nvgpu/regops.h>
|
||||
#include <nvgpu/clk_arb.h>
|
||||
#include <nvgpu/gr/gr.h>
|
||||
|
||||
#include <nvgpu/vgpu/os_init_hal_vgpu.h>
|
||||
|
||||
@@ -441,7 +442,7 @@ int vgpu_probe(struct platform_device *pdev)
|
||||
nvgpu_atomic_set(&gk20a->timeouts_disabled_refcount, 0);
|
||||
|
||||
vgpu_create_sysfs(dev);
|
||||
gk20a_init_gr(gk20a);
|
||||
nvgpu_gr_init(gk20a);
|
||||
|
||||
nvgpu_log_info(gk20a, "total ram pages : %lu", totalram_pages);
|
||||
gk20a->max_comptag_mem = totalram_size_in_mb;
|
||||
|
||||
Reference in New Issue
Block a user