mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-25 02:52:51 +03:00
gpu: nvgpu: add cache maintenance timeout override
Add functions to get per-chip cache maintenance timeout overrides. JIRA: NVGPUGV100-GV100 Change-Id: Ie14efc616e7af52ede60031c789bd2ae70857a6e Signed-off-by: David Nieto <dmartineznie@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1582768 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
1cee7b2a39
commit
fea32c74dc
@@ -137,6 +137,7 @@ enum gk20a_cbc_op {
|
||||
|
||||
enum nvgpu_unit;
|
||||
|
||||
enum nvgpu_flush_op;
|
||||
/*
|
||||
* gpu_ops should only contain function pointers! Non-function pointer members
|
||||
* should go in struct gk20a or be implemented with the boolean flag API defined
|
||||
@@ -569,6 +570,7 @@ struct gpu_ops {
|
||||
struct tsg_gk20a *tsg);
|
||||
void (*deinit_eng_method_buffers)(struct gk20a *g,
|
||||
struct tsg_gk20a *tsg);
|
||||
u32 (*get_preempt_timeout)(struct gk20a *g);
|
||||
#ifdef CONFIG_TEGRA_GK20A_NVHOST
|
||||
int (*alloc_syncpt_buf)(struct channel_gk20a *c,
|
||||
u32 syncpt_id, struct nvgpu_mem *syncpt_buf);
|
||||
@@ -760,6 +762,8 @@ struct gpu_ops {
|
||||
void (*fault_info_mem_destroy)(struct gk20a *g);
|
||||
u32 (*get_kind_invalid)(void);
|
||||
u32 (*get_kind_pitch)(void);
|
||||
u32 (*get_flush_retries)(struct gk20a *g,
|
||||
enum nvgpu_flush_op op);
|
||||
} mm;
|
||||
/*
|
||||
* This function is called to allocate secure memory (memory
|
||||
|
||||
Reference in New Issue
Block a user