summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/gk20a.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.h')
-rw-r--r--drivers/gpu/nvgpu/gk20a/gk20a.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h
index a361648f..c6bc129f 100644
--- a/drivers/gpu/nvgpu/gk20a/gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/gk20a.h
@@ -446,8 +446,25 @@ struct gpu_ops {
446 void (*init_kind_attr)(struct gk20a *g); 446 void (*init_kind_attr)(struct gk20a *g);
447 void (*set_mmu_page_size)(struct gk20a *g); 447 void (*set_mmu_page_size)(struct gk20a *g);
448 bool (*set_use_full_comp_tag_line)(struct gk20a *g); 448 bool (*set_use_full_comp_tag_line)(struct gk20a *g);
449
450 /*
451 * Compression tag line coverage. When mapping a compressible
452 * buffer, ctagline is increased when the virtual address
453 * crosses over the compression page boundary.
454 */
449 unsigned int (*compression_page_size)(struct gk20a *g); 455 unsigned int (*compression_page_size)(struct gk20a *g);
456
457 /*
458 * Minimum page size that can be used for compressible kinds.
459 */
450 unsigned int (*compressible_page_size)(struct gk20a *g); 460 unsigned int (*compressible_page_size)(struct gk20a *g);
461
462 /*
463 * Compressible kind mappings: Mask for the virtual and physical
464 * address bits that must match.
465 */
466 u32 (*compression_align_mask)(struct gk20a *g);
467
451 void (*dump_vpr_wpr_info)(struct gk20a *g); 468 void (*dump_vpr_wpr_info)(struct gk20a *g);
452 int (*vpr_info_fetch)(struct gk20a *g); 469 int (*vpr_info_fetch)(struct gk20a *g);
453 void (*read_wpr_info)(struct gk20a *g, 470 void (*read_wpr_info)(struct gk20a *g,