mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-25 11:04:51 +03:00
gpu: nvgpu: cta preemption mode HAL for tu104
Use gp10b_ctxsw_prog_set_compute_preemption_mode_cta instead of gm20b_ctxsw_prog_set_compute_preemption_mode_cta for tu104. Jira NVGPU-4661 Change-Id: I7b85cbcc139e6843c8b7bd89e0afb6030160362f Signed-off-by: Thomas Fleury <tfleury@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2316206 Tested-by: mobile promotions <svcmobile_promotions@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
Alex Waterman
parent
28ccd63f69
commit
25edcc1353
@@ -326,7 +326,6 @@ srcs += hal/gr/falcon/gr_falcon_gm20b.c \
|
||||
hal/fb/fb_gp106.c \
|
||||
hal/falcon/falcon_gk20a.c \
|
||||
hal/bus/bus_gk20a.c \
|
||||
hal/gr/ctxsw_prog/ctxsw_prog_gm20b.c \
|
||||
hal/pmu/pmu_gv11b.c
|
||||
endif
|
||||
endif
|
||||
|
||||
@@ -42,8 +42,7 @@ void gm20b_ctxsw_prog_set_priv_access_map_addr(struct gk20a *g,
|
||||
struct nvgpu_mem *ctx_mem, u64 addr);
|
||||
void gm20b_ctxsw_prog_disable_verif_features(struct gk20a *g,
|
||||
struct nvgpu_mem *ctx_mem);
|
||||
#if defined(CONFIG_NVGPU_HAL_NON_FUSA) || defined(CONFIG_NVGPU_DGPU)
|
||||
/* FIXME: below function is used in dGPU safety build. */
|
||||
#if defined(CONFIG_NVGPU_HAL_NON_FUSA)
|
||||
void gm20b_ctxsw_prog_set_compute_preemption_mode_cta(struct gk20a *g,
|
||||
struct nvgpu_mem *ctx_mem);
|
||||
#endif
|
||||
|
||||
@@ -417,7 +417,7 @@ static const struct gpu_ops tu104_ops = {
|
||||
.set_patch_addr = gm20b_ctxsw_prog_set_patch_addr,
|
||||
.init_ctxsw_hdr_data = gp10b_ctxsw_prog_init_ctxsw_hdr_data,
|
||||
.set_compute_preemption_mode_cta =
|
||||
gm20b_ctxsw_prog_set_compute_preemption_mode_cta,
|
||||
gp10b_ctxsw_prog_set_compute_preemption_mode_cta,
|
||||
.set_priv_access_map_config_mode =
|
||||
gm20b_ctxsw_prog_set_priv_access_map_config_mode,
|
||||
.set_priv_access_map_addr =
|
||||
|
||||
Reference in New Issue
Block a user