summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/cde_gk20a.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/cde_gk20a.h')
-rw-r--r--drivers/gpu/nvgpu/gk20a/cde_gk20a.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/cde_gk20a.h b/drivers/gpu/nvgpu/gk20a/cde_gk20a.h
index 784ae8b4..3782b44b 100644
--- a/drivers/gpu/nvgpu/gk20a/cde_gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/cde_gk20a.h
@@ -245,10 +245,20 @@ struct gk20a_cde_app {
245int gk20a_cde_destroy(struct gk20a *g); 245int gk20a_cde_destroy(struct gk20a *g);
246int gk20a_init_cde_support(struct gk20a *g); 246int gk20a_init_cde_support(struct gk20a *g);
247int gk20a_cde_reload(struct gk20a *g); 247int gk20a_cde_reload(struct gk20a *g);
248int gk20a_cde_convert(struct gk20a *g, u32 src_fd, u32 dst_fd, 248int gk20a_cde_convert(struct gk20a *g, struct dma_buf *src, struct dma_buf *dst,
249 s32 dst_kind, u64 dst_word_offset, 249 s32 dst_kind, u64 dst_word_offset,
250 u32 dst_size, struct nvhost_fence *fence, 250 u32 dst_size, struct nvhost_fence *fence,
251 u32 __flags, struct gk20a_cde_param *params, 251 u32 __flags, struct gk20a_cde_param *params,
252 int num_params, struct gk20a_fence **fence_out); 252 int num_params, struct gk20a_fence **fence_out);
253void gk20a_cde_debugfs_init(struct platform_device *dev);
254
255int gk20a_prepare_compressible_read(
256 struct gk20a *g, u32 buffer_fd, u32 request, u64 offset,
257 u64 compbits_hoffset, u64 compbits_voffset,
258 u32 width, u32 height, u32 block_height_log2,
259 u32 submit_flags, struct nvhost_fence *fence,
260 u32 *valid_compbits, struct gk20a_fence **fence_out);
261int gk20a_mark_compressible_write(
262 struct gk20a *g, u32 buffer_fd, u32 valid_compbits, u64 offset);
253 263
254#endif 264#endif