diff options
author | Deepak Nibade <dnibade@nvidia.com> | 2018-08-08 05:23:08 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2018-08-10 11:15:46 -0400 |
commit | 84c0ab81ab28b349c5477b0512b8bbfdb24edc3d (patch) | |
tree | 5dff4816e5be641d7293e1c4dff1bb5d39653059 /drivers/gpu/nvgpu/os/linux/ioctl_dbg.c | |
parent | 542e6a0ab4fe3839633a3a86c80b394fd046ac79 (diff) |
gpu: nvgpu: move exec_reg_ops() to regops HAL
We right now define HAL exec_reg_ops() under gops.dbg_session_ops operations
But we have separate gops.regops operations for all the regops and this would
be logically correct place for exec_reg_ops()
Move exec_reg_ops() from gops.dbg_session_ops to gops.regops
Also rename it to exec_regops()
Jira NVGPU-620
Change-Id: If4f70639ffbc892c605f7540a83bce12ed821b52
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1794999
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/os/linux/ioctl_dbg.c')
-rw-r--r-- | drivers/gpu/nvgpu/os/linux/ioctl_dbg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/os/linux/ioctl_dbg.c b/drivers/gpu/nvgpu/os/linux/ioctl_dbg.c index b2c7a362..0e7bbf24 100644 --- a/drivers/gpu/nvgpu/os/linux/ioctl_dbg.c +++ b/drivers/gpu/nvgpu/os/linux/ioctl_dbg.c | |||
@@ -935,7 +935,7 @@ static int nvgpu_ioctl_channel_reg_ops(struct dbg_session_gk20a *dbg_s, | |||
935 | if (err) | 935 | if (err) |
936 | break; | 936 | break; |
937 | 937 | ||
938 | err = g->ops.dbg_session_ops.exec_reg_ops( | 938 | err = g->ops.regops.exec_regops( |
939 | dbg_s, g->dbg_regops_tmp_buf, num_ops); | 939 | dbg_s, g->dbg_regops_tmp_buf, num_ops); |
940 | 940 | ||
941 | if (err) { | 941 | if (err) { |