diff --git a/drivers/gpu/nvgpu/hal/fb/fb_gm20b.c b/drivers/gpu/nvgpu/hal/fb/fb_gm20b.c index 253e9de8d..fe8b9ba57 100644 --- a/drivers/gpu/nvgpu/hal/fb/fb_gm20b.c +++ b/drivers/gpu/nvgpu/hal/fb/fb_gm20b.c @@ -1,7 +1,7 @@ /* * GM20B GPC MMU * - * Copyright (c) 2014-2022, NVIDIA CORPORATION. All rights reserved. + * Copyright (c) 2014-2023, NVIDIA CORPORATION. All rights reserved. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), @@ -90,7 +90,7 @@ void gm20b_fb_set_mmu_debug_mode(struct gk20a *g, bool enable) void gm20b_fb_set_debug_mode(struct gk20a *g, bool enable) { - gm20b_fb_set_mmu_debug_mode(g, enable); + g->ops.fb.set_mmu_debug_mode(g, enable); g->ops.gr.set_debug_mode(g, enable); } #endif diff --git a/drivers/gpu/nvgpu/hal/fb/fb_mmu_fault_gv11b_fusa.c b/drivers/gpu/nvgpu/hal/fb/fb_mmu_fault_gv11b_fusa.c index 14fb8efea..d652f1ac6 100644 --- a/drivers/gpu/nvgpu/hal/fb/fb_mmu_fault_gv11b_fusa.c +++ b/drivers/gpu/nvgpu/hal/fb/fb_mmu_fault_gv11b_fusa.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016-2022, NVIDIA CORPORATION. All rights reserved. + * Copyright (c) 2016-2023, NVIDIA CORPORATION. All rights reserved. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), @@ -587,7 +587,7 @@ void gv11b_fb_handle_mmu_fault(struct gk20a *g, u32 niso_intr) #ifdef CONFIG_NVGPU_REPLAYABLE_FAULT void gv11b_fb_handle_replayable_mmu_fault(struct gk20a *g) { - u32 fault_status = nvgpu_readl(g, fb_mmu_fault_status_r()); + u32 fault_status = g->ops.fb.read_mmu_fault_status(g); if ((fault_status & fb_mmu_fault_status_replayable_m()) == 0U) { return;