mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 02:22:34 +03:00
gpu: nvgpu: cleanup gr_priv header include
Add new common gr functions nvgpu_gr_remove_support nvgpu_gr_sw_ready nvgpu_gr_override_ecc_val These functions help to avoid gr_priv.h include outside some gr files. Jira NVGPU-3218 Change-Id: I5d59a61b8b8c63c29a0b2407b961fb57f8e400bd Signed-off-by: Vinod G <vinodg@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2107700 GVS: Gerrit_Virtual_Submit Reviewed-by: Seshendra Gadagottu <sgadagottu@nvidia.com> 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
e22c4cbbec
commit
7e396a7e9f
@@ -26,6 +26,7 @@
|
||||
#include <nvgpu/gr/config.h>
|
||||
#include <nvgpu/gr/obj_ctx.h>
|
||||
#include <nvgpu/gr/gr_falcon.h>
|
||||
#include <nvgpu/gr/gr.h>
|
||||
#include <nvgpu/power_features/cg.h>
|
||||
#include <nvgpu/power_features/pg.h>
|
||||
#include <nvgpu/pmu/pmu_perfmon.h>
|
||||
@@ -898,7 +899,7 @@ static ssize_t tpc_fs_mask_store(struct device *dev,
|
||||
|
||||
nvgpu_gr_config_deinit(g, g->gr->config);
|
||||
/* Cause next poweron to reinit just gr */
|
||||
g->gr->sw_ready = false;
|
||||
nvgpu_gr_sw_ready(g, false);
|
||||
}
|
||||
|
||||
return count;
|
||||
|
||||
Reference in New Issue
Block a user