mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 10:34:43 +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
@@ -44,7 +44,7 @@ struct device;
|
||||
struct nvgpu_os_linux;
|
||||
struct gk20a;
|
||||
struct gk20a_fence;
|
||||
struct nvgpu_fence;
|
||||
struct nvgpu_channel_fence;
|
||||
struct channel_gk20a;
|
||||
struct vm_gk20a;
|
||||
struct nvgpu_gpfifo;
|
||||
@@ -306,7 +306,7 @@ int gk20a_cde_convert(struct nvgpu_os_linux *l,
|
||||
struct dma_buf *compbits_buf,
|
||||
u64 compbits_byte_offset,
|
||||
u64 scatterbuffer_byte_offset,
|
||||
struct nvgpu_fence *fence,
|
||||
struct nvgpu_channel_fence *fence,
|
||||
u32 __flags, struct gk20a_cde_param *params,
|
||||
int num_params, struct gk20a_fence **fence_out);
|
||||
|
||||
@@ -315,7 +315,7 @@ int gk20a_prepare_compressible_read(
|
||||
u64 compbits_hoffset, u64 compbits_voffset,
|
||||
u64 scatterbuffer_offset,
|
||||
u32 width, u32 height, u32 block_height_log2,
|
||||
u32 submit_flags, struct nvgpu_fence *fence,
|
||||
u32 submit_flags, struct nvgpu_channel_fence *fence,
|
||||
u32 *valid_compbits, u32 *zbc_color,
|
||||
struct gk20a_fence **fence_out);
|
||||
int gk20a_mark_compressible_write(
|
||||
|
||||
Reference in New Issue
Block a user