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>
This commit is contained in:
Deepak Nibade
2018-08-08 14:53:08 +05:30
committed by mobile promotions
parent 542e6a0ab4
commit 84c0ab81ab
9 changed files with 11 additions and 11 deletions

View File

@@ -935,7 +935,7 @@ static int nvgpu_ioctl_channel_reg_ops(struct dbg_session_gk20a *dbg_s,
if (err)
break;
err = g->ops.dbg_session_ops.exec_reg_ops(
err = g->ops.regops.exec_regops(
dbg_s, g->dbg_regops_tmp_buf, num_ops);
if (err) {