Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/drivers/gpu/drm/vmwgfx/
Dvmwgfx_scrn.c472 uint32_t num_hits) in vmw_sou_bo_fifo_size() argument
475 sizeof(struct vmw_kms_sou_bo_blit) * num_hits; in vmw_sou_bo_fifo_size()
568 uint32_t num_hits) in vmw_sou_surface_fifo_size() argument
571 num_hits; in vmw_sou_surface_fifo_size()
592 void *cmd, uint32_t num_hits) in vmw_sou_surface_pre_clip() argument
601 num_hits; in vmw_sou_surface_pre_clip()
646 uint32_t num_hits; in vmw_sou_surface_post_clip() local
656 num_hits = (blit->header.size - sizeof(blit->body))/ in vmw_sou_surface_post_clip()
678 for (i = 0; i < num_hits; i++) { in vmw_sou_surface_post_clip()
1027 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.c2394 dirty->num_hits = 0; in vmw_kms_helper_dirty()
2714 uint32_t num_hits = 0; in vmw_du_helper_plane_update() local
2725 num_hits++; in vmw_du_helper_plane_update()
2727 if (num_hits == 0) in vmw_du_helper_plane_update()
2752 reserved_size = update->calc_fifo_size(update, num_hits); in vmw_du_helper_plane_update()
2768 curr_size = update->pre_clip(update, cmd_next, num_hits); in vmw_du_helper_plane_update()