mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 02:22:34 +03:00
gpu: nvgpu: added non-functional changes to engines unit
The following changes are made in this patch. 1) nvgpu driver is incorrectly using u32 to store enum values in some functions. Replaced them with correct type enum nvgpu_fifo_engine 2) change parameter type in nvgpu_engine_get_ids from engine_id[] to *engine_ids 3) rename some function names to remove redundant characters to make the name shorter. 4) Removed the initialization of enum nvgpu_fifo_engine in functions where we assign a value before direct access. Jira NVGPU-1315 Change-Id: Ic65b40c9cb1e90ad278cb36a00e1c9de51724f27 Signed-off-by: Debarshi Dutta <ddutta@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2020230 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
10d0799dd7
commit
675a2b6858
@@ -70,7 +70,7 @@ static int gk20a_fifo_sched_debugfs_seq_show(
|
||||
int ret = SEQ_SKIP;
|
||||
u32 engine_id;
|
||||
|
||||
engine_id = nvgpu_engine_get_gr_eng_id(g);
|
||||
engine_id = nvgpu_engine_get_gr_id(g);
|
||||
engine_info = (f->engine_info + engine_id);
|
||||
runlist_id = engine_info->runlist_id;
|
||||
runlist = &f->runlist_info[runlist_id];
|
||||
|
||||
Reference in New Issue
Block a user