mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 10:34:43 +03:00
gpu: nvgpu: remove g->ops.gr.halt_pipe hal
Hal API g->ops.gr.halt_pipe() is defined in unsafe unit hal.gr.gr It is called from safe unit, and it calls into API g->ops.gr.falcon.ctrl_ctxsw() which is also safe Hence get rid of unsafe API g->ops.gr.halt_pipe(). Caller now directly calls hal.gr.falcon API to halt pipe Jira NVGPU-3506 Change-Id: I5439cb79431795fc7c22384832cf632d6db03316 Signed-off-by: Deepak Nibade <dnibade@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2127755 Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> Reviewed-by: svc-mobile-misra <svc-mobile-misra@nvidia.com> GVS: Gerrit_Virtual_Submit 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
e40994c884
commit
d16ddb244f
@@ -189,7 +189,6 @@ static const struct gpu_ops gm20b_ops = {
|
||||
.set_debug_mode = gm20b_gr_set_debug_mode,
|
||||
.reset = nvgpu_gr_reset,
|
||||
.esr_bpt_pending_events = gm20b_gr_esr_bpt_pending_events,
|
||||
.halt_pipe = nvgpu_gr_halt_pipe,
|
||||
.disable_ctxsw = nvgpu_gr_disable_ctxsw,
|
||||
.enable_ctxsw = nvgpu_gr_enable_ctxsw,
|
||||
.ctxsw_prog = {
|
||||
|
||||
@@ -222,7 +222,6 @@ static const struct gpu_ops gp10b_ops = {
|
||||
.set_debug_mode = gm20b_gr_set_debug_mode,
|
||||
.reset = nvgpu_gr_reset,
|
||||
.esr_bpt_pending_events = gm20b_gr_esr_bpt_pending_events,
|
||||
.halt_pipe = nvgpu_gr_halt_pipe,
|
||||
.disable_ctxsw = nvgpu_gr_disable_ctxsw,
|
||||
.enable_ctxsw = nvgpu_gr_enable_ctxsw,
|
||||
.ecc = {
|
||||
|
||||
@@ -276,7 +276,6 @@ static const struct gpu_ops gv11b_ops = {
|
||||
.set_mmu_debug_mode = gm20b_gr_set_mmu_debug_mode,
|
||||
.reset = nvgpu_gr_reset,
|
||||
.esr_bpt_pending_events = gv11b_gr_esr_bpt_pending_events,
|
||||
.halt_pipe = nvgpu_gr_halt_pipe,
|
||||
.disable_ctxsw = nvgpu_gr_disable_ctxsw,
|
||||
.enable_ctxsw = nvgpu_gr_enable_ctxsw,
|
||||
.ecc = {
|
||||
|
||||
@@ -323,7 +323,6 @@ static const struct gpu_ops tu104_ops = {
|
||||
.set_debug_mode = gm20b_gr_set_debug_mode,
|
||||
.reset = nvgpu_gr_reset,
|
||||
.esr_bpt_pending_events = gv11b_gr_esr_bpt_pending_events,
|
||||
.halt_pipe = nvgpu_gr_halt_pipe,
|
||||
.disable_ctxsw = nvgpu_gr_disable_ctxsw,
|
||||
.enable_ctxsw = nvgpu_gr_enable_ctxsw,
|
||||
.ecc = {
|
||||
|
||||
Reference in New Issue
Block a user