mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 02:22:34 +03:00
gpu: nvgpu: remove usage of nvgpu_fence
Remove the usage of nvgpu_fence splattered across nvgpu, and replace with a struct defined in common code. The usage is still inside Linux, but this helps the subsequent unification efforts, e.g. to unify the submit path. VQRM-3465 Change-Id: Ic3737450123dfc5e1c40ca5b6b8d8f6b3070aa0d Signed-off-by: Sourab Gupta <sourabg@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1691977 Reviewed-by: Konsta Holtta <kholtta@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com> 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
f3d22faef8
commit
585e33e408
@@ -56,7 +56,7 @@ int gk20a_ce_execute_ops(struct gk20a *g,
|
||||
u32 cmd_buf_read_offset;
|
||||
u32 dma_copy_class;
|
||||
struct nvgpu_gpfifo gpfifo;
|
||||
struct nvgpu_fence fence = {0,0};
|
||||
struct nvgpu_channel_fence fence = {0, 0};
|
||||
struct gk20a_fence *ce_cmd_buf_fence_out = NULL;
|
||||
|
||||
if (!ce_app->initialised ||ce_app->app_state != NVGPU_CE_ACTIVE)
|
||||
|
||||
Reference in New Issue
Block a user