mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-22 17:36:20 +03:00
gpu: nvgpu: move engine_activity functions to common.fifo.engine unit.
The following functions belong to engine unit and are moved gk20a_fifo_enable_engine_activity gk20a_fifo_enable_all_engine_activity gk20a_fifo_disable_engine_activity gk20a_fifo_disable_all_engine_activity These are renamed by replacing gk20a_fifo with nvgpu_engine as prefix. These functions are only invoked by linux build and not required for safety build and hence they are defined when -DNVGPU_ENGINE is enabled. Jira NVGPU-1315 Change-Id: I39d820879bb55b40e754526c657d794930a4b6a1 Signed-off-by: Debarshi Dutta <ddutta@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2032606 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
2eea2b23c5
commit
adc27cc9b4
@@ -47,6 +47,7 @@
|
||||
#include <nvgpu/sim.h>
|
||||
#include <nvgpu/clk_arb.h>
|
||||
#include <nvgpu/timers.h>
|
||||
#include <nvgpu/engines.h>
|
||||
#include <nvgpu/channel.h>
|
||||
|
||||
#include "platform_gk20a.h"
|
||||
@@ -960,7 +961,7 @@ int nvgpu_quiesce(struct gk20a *g)
|
||||
return err;
|
||||
}
|
||||
|
||||
err = gk20a_fifo_disable_all_engine_activity(g, true);
|
||||
err = nvgpu_engine_disable_activity_all(g, true);
|
||||
if (err) {
|
||||
nvgpu_err(g,
|
||||
"failed to disable engine activity, err=%d",
|
||||
|
||||
Reference in New Issue
Block a user