mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-22 09:12:24 +03:00
gpu: nvgpu: compile out priv_access_map config/addr hals
These hals are non-safe. Compile them out with CONFIG_NVGPU_SET_FALCON_ACCESS_MAP. JIRA NVGPU-5358 Change-Id: I75b46e201fa132e09fee15679a402d24bbf9b2ab Signed-off-by: Sagar Kamble <skamble@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2581360 (cherry picked from commit d048333ef391019b2618abf7d09c8fe2042f8ee0) Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2581841 Tested-by: mobile promotions <svcmobile_promotions@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
fe7368f8f4
commit
62b04331de
@@ -446,8 +446,10 @@ static const struct gops_gr_ctxsw_prog ga100_ops_gr_ctxsw_prog = {
|
||||
.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 = gp10b_ctxsw_prog_set_compute_preemption_mode_cta,
|
||||
#ifdef CONFIG_NVGPU_SET_FALCON_ACCESS_MAP
|
||||
.set_priv_access_map_config_mode = gm20b_ctxsw_prog_set_config_mode_priv_access_map,
|
||||
.set_priv_access_map_addr = gm20b_ctxsw_prog_set_addr_priv_access_map,
|
||||
#endif
|
||||
.disable_verif_features = gm20b_ctxsw_prog_disable_verif_features,
|
||||
.set_context_buffer_ptr = gv11b_ctxsw_prog_set_context_buffer_ptr,
|
||||
.set_type_per_veid_header = gv11b_ctxsw_prog_set_type_per_veid_header,
|
||||
|
||||
Reference in New Issue
Block a user