Home
last modified time | relevance | path

Searched refs:num_hits (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.4/drivers/gpu/drm/selftests/
Dtest-drm_damage_helper.c78 uint32_t num_hits = 0; in igt_damage_iter_no_damage() local
96 num_hits++; in igt_damage_iter_no_damage()
98 FAIL(num_hits != 1, "Should return plane src as damage."); in igt_damage_iter_no_damage()
109 uint32_t num_hits = 0; in igt_damage_iter_no_damage_fractional_src() local
129 num_hits++; in igt_damage_iter_no_damage_fractional_src()
131 FAIL(num_hits != 1, "Should return rounded off plane src as damage."); in igt_damage_iter_no_damage_fractional_src()
142 uint32_t num_hits = 0; in igt_damage_iter_no_damage_src_moved() local
161 num_hits++; in igt_damage_iter_no_damage_src_moved()
163 FAIL(num_hits != 1, "Should return plane src as damage."); in igt_damage_iter_no_damage_src_moved()
174 uint32_t num_hits = 0; in igt_damage_iter_no_damage_fractional_src_moved() local
[all …]
/Linux-v5.4/drivers/gpu/drm/vmwgfx/
Dvmwgfx_scrn.c469 uint32_t num_hits) in vmw_sou_bo_fifo_size() argument
472 sizeof(struct vmw_kms_sou_bo_blit) * num_hits; in vmw_sou_bo_fifo_size()
565 uint32_t num_hits) in vmw_sou_surface_fifo_size() argument
568 num_hits; in vmw_sou_surface_fifo_size()
589 void *cmd, uint32_t num_hits) in vmw_sou_surface_pre_clip() argument
598 num_hits; in vmw_sou_surface_pre_clip()
643 uint32_t num_hits; in vmw_sou_surface_post_clip() local
653 num_hits = (blit->header.size - sizeof(blit->body))/ in vmw_sou_surface_post_clip()
675 for (i = 0; i < num_hits; i++) { in vmw_sou_surface_post_clip()
1029 size_t region_size = dirty->num_hits * sizeof(SVGASignedRect); in vmw_sou_surface_fifo_commit()
[all …]
Dvmwgfx_stdu.c461 blit += dirty->num_hits; in vmw_stdu_bo_clip()
469 dirty->num_hits++; in vmw_stdu_bo_clip()
498 (SVGA3dCmdSurfaceDMASuffix *) &blit[dirty->num_hits]; in vmw_stdu_bo_fifo_commit()
499 size_t blit_size = sizeof(*blit) * dirty->num_hits + sizeof(*suffix); in vmw_stdu_bo_fifo_commit()
501 if (!dirty->num_hits) { in vmw_stdu_bo_fifo_commit()
545 dirty->num_hits = 1; in vmw_stdu_bo_cpu_clip()
583 if (!dirty->num_hits) in vmw_stdu_bo_cpu_commit()
758 blit += dirty->num_hits; in vmw_kms_stdu_surface_clip()
768 dirty->num_hits++; in vmw_kms_stdu_surface_clip()
794 size_t blit_size = sizeof(SVGA3dCopyBox) * dirty->num_hits; in vmw_kms_stdu_surface_fifo_commit()
[all …]
Dvmwgfx_kms.h65 uint32_t num_hits);
92 uint32_t num_hits);
192 u32 num_hits; member
Dvmwgfx_kms.c2485 dirty->num_hits = 0; in vmw_kms_helper_dirty()
2805 uint32_t num_hits = 0; in vmw_du_helper_plane_update() local
2816 num_hits++; in vmw_du_helper_plane_update()
2818 if (num_hits == 0) in vmw_du_helper_plane_update()
2843 reserved_size = update->calc_fifo_size(update, num_hits); in vmw_du_helper_plane_update()
2859 curr_size = update->pre_clip(update, cmd_next, num_hits); in vmw_du_helper_plane_update()