mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-22 09:12:24 +03:00
gpu: nvgpu: ga10b: restore the ptimer isr hal
Below commit replaced ga10b_ptimer_isr with gk20a_ptimer_isr.
commit 1528170f1c ("gpu: nvgpu: ga10b: update pri_hub and
ptimer error handling")
However, ga10b needs separate hal as timer_pri_timeout_save_0_addr_v()
definition is different for ga10b.
JIRA NVGPU-7986
Change-Id: I9593c90a41c5abdcad2989eb0867b921288064af
Signed-off-by: Sagar Kamble <skamble@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2676699
Reviewed-by: Rajesh Devaraj <rdevaraj@nvidia.com>
Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com>
Reviewed-by: svc-mobile-cert <svc-mobile-cert@nvidia.com>
Reviewed-by: svc-mobile-misra <svc-mobile-misra@nvidia.com>
Reviewed-by: Vaibhav Kachore <vkachore@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
a776f7b1d9
commit
2b2beb7fb6
@@ -118,6 +118,7 @@
|
||||
#include "hal/ptimer/ptimer_gk20a.h"
|
||||
#include "hal/ptimer/ptimer_gp10b.h"
|
||||
#include "hal/ptimer/ptimer_gv11b.h"
|
||||
#include "hal/ptimer/ptimer_ga10b.h"
|
||||
#ifdef CONFIG_NVGPU_DEBUGGER
|
||||
#include "hal/regops/regops_ga10b.h"
|
||||
#include "hal/regops/allowlist_ga10b.h"
|
||||
@@ -1555,7 +1556,7 @@ static const struct gops_bus ga10b_ops_bus = {
|
||||
};
|
||||
|
||||
static const struct gops_ptimer ga10b_ops_ptimer = {
|
||||
.isr = gk20a_ptimer_isr,
|
||||
.isr = ga10b_ptimer_isr,
|
||||
#ifdef CONFIG_NVGPU_IOCTL_NON_FUSA
|
||||
.read_ptimer = gk20a_read_ptimer,
|
||||
.get_timestamps_zipper = nvgpu_get_timestamps_zipper,
|
||||
|
||||
Reference in New Issue
Block a user