mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-25 11:04:51 +03:00
gpu: nvgpu: modify handle_pbdma_intr* functions
RC_TYPE_PBDMA_FAULT is the only recovery type for all the pbdma intr functions. Thus, rc_type variable is changed to a boolean type in all implementations of handle_pbdma_intr* functions. "handled" variable is unused and removed from all the implementations of handle_pbdma_intr* functions. handle_pbdma_intr* HAL ops are renamed to handle_intr*. Jira NVGPU-2950 Change-Id: I9605d930225a38ed76f25b6a94cb02d855f522dd Signed-off-by: Debarshi Dutta <ddutta@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2083748 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
0f1726ae1f
commit
b1ceb5c4d2
@@ -453,9 +453,9 @@ static const struct gpu_ops vgpu_gp10b_ops = {
|
||||
.pbdma_acquire_val = gm20b_pbdma_acquire_val,
|
||||
.get_pbdma_signature = gp10b_pbdma_get_signature,
|
||||
.dump_pbdma_status = NULL,
|
||||
.handle_pbdma_intr_0 = NULL,
|
||||
.handle_pbdma_intr_1 = gm20b_pbdma_handle_intr_1,
|
||||
.handle_pbdma_intr = gm20b_pbdma_handle_intr,
|
||||
.handle_intr_0 = NULL,
|
||||
.handle_intr_1 = gm20b_pbdma_handle_intr_1,
|
||||
.handle_intr = gm20b_pbdma_handle_intr,
|
||||
.read_pbdma_data = NULL,
|
||||
.reset_pbdma_header = NULL,
|
||||
.device_fatal_0_intr_descs = NULL,
|
||||
|
||||
@@ -532,9 +532,9 @@ static const struct gpu_ops vgpu_gv11b_ops = {
|
||||
.pbdma_acquire_val = gm20b_pbdma_acquire_val,
|
||||
.get_pbdma_signature = gp10b_pbdma_get_signature,
|
||||
.dump_pbdma_status = NULL,
|
||||
.handle_pbdma_intr_0 = NULL,
|
||||
.handle_pbdma_intr_1 = gv11b_pbdma_handle_intr_1,
|
||||
.handle_pbdma_intr = gm20b_pbdma_handle_intr,
|
||||
.handle_intr_0 = NULL,
|
||||
.handle_intr_1 = gv11b_pbdma_handle_intr_1,
|
||||
.handle_intr = gm20b_pbdma_handle_intr,
|
||||
.read_pbdma_data = NULL,
|
||||
.reset_pbdma_header = NULL,
|
||||
.device_fatal_0_intr_descs = NULL,
|
||||
|
||||
Reference in New Issue
Block a user