mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-25 02:52:51 +03:00
gpu: nvgpu: move gk20a_gr_suspend to common.gr.init
Move gk20a_gr_suspend function from gr_gk20a.c to common.gr.init as nvgpu_gr_suspend function. Update the file that use gk20a_gr_suspend function. JIRA NVGPU-1885 Change-Id: I1eb27d644428cf7c637f7a330762a87e6e788d08 Signed-off-by: Vinod G <vinodg@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2083110 Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> Reviewed-by: Seshendra Gadagottu <sgadagottu@nvidia.com> GVS: Gerrit_Virtual_Submit 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
a9c97031b5
commit
e086c6442d
@@ -42,6 +42,7 @@
|
||||
#include <nvgpu/gk20a.h>
|
||||
#include <nvgpu/channel_sync.h>
|
||||
#include <nvgpu/pmu/pstate.h>
|
||||
#include <nvgpu/gr/gr.h>
|
||||
|
||||
#include <trace/events/gk20a.h>
|
||||
|
||||
@@ -97,7 +98,7 @@ int gk20a_prepare_poweroff(struct gk20a *g)
|
||||
ret |= nvgpu_sec2_destroy(g);
|
||||
}
|
||||
|
||||
ret |= gk20a_gr_suspend(g);
|
||||
ret |= nvgpu_gr_suspend(g);
|
||||
ret |= nvgpu_mm_suspend(g);
|
||||
ret |= gk20a_fifo_suspend(g);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user