mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-22 09:12:24 +03:00
gpu: nvgpu: add gops to init pce2lce and grce configs
This patch adds the following gops for CE unit: - init_pce2lce_configs - init_grce_configs JIRA NVGPU-9329 Change-Id: I6e067b1f5066ccd71c4b287fa564a77afe4a25a5 Signed-off-by: Rajesh Devaraj <rdevaraj@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2856498 Reviewed-by: Seema Khowala <seemaj@nvidia.com> Reviewed-by: Ankur Kishore <ankkishore@nvidia.com> GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
2e73de831f
commit
cc17f80896
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2019-2022, NVIDIA CORPORATION. All rights reserved.
|
* Copyright (c) 2019-2023, NVIDIA CORPORATION. All rights reserved.
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||||
* copy of this software and associated documentation files (the "Software"),
|
* copy of this software and associated documentation files (the "Software"),
|
||||||
@@ -142,6 +142,8 @@ struct gops_ce {
|
|||||||
void (*init_prod_values)(struct gk20a *g);
|
void (*init_prod_values)(struct gk20a *g);
|
||||||
void (*halt_engine)(struct gk20a *g, const struct nvgpu_device *dev);
|
void (*halt_engine)(struct gk20a *g, const struct nvgpu_device *dev);
|
||||||
void (*request_idle)(struct gk20a *g);
|
void (*request_idle)(struct gk20a *g);
|
||||||
|
void (*init_pce2lce_configs)(struct gk20a *g, u32 *pce2lce_configs);
|
||||||
|
void (*init_grce_configs)(struct gk20a *g, u32 *grce_configs);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* @brief Enable/disable ce interrupts.
|
* @brief Enable/disable ce interrupts.
|
||||||
|
|||||||
Reference in New Issue
Block a user