Searched refs:cursor_size (Results 1 – 10 of 10) sorted by relevance
37 if (dsize + sizeof(struct fb_image) != ops->cursor_size) { in soft_cursor()39 ops->cursor_size = dsize + sizeof(struct fb_image); in soft_cursor()41 ops->cursor_src = kmalloc(ops->cursor_size, GFP_ATOMIC); in soft_cursor()43 ops->cursor_size = 0; in soft_cursor()
87 u32 cursor_size; member
111 uint32_t cursor_size = cursor_width * cursor_height; in hubp32_cursor_set_attributes() local138 cursor_size /= 2; in hubp32_cursor_set_attributes()143 cursor_size *= 4; in hubp32_cursor_set_attributes()149 cursor_size *= 8; in hubp32_cursor_set_attributes()153 if (cursor_size > 16384) in hubp32_cursor_set_attributes()
61 uint32_t cursor_size = hubp->curs_attr.pitch * hubp->curs_attr.height; in dcn32_helper_calculate_mall_bytes_for_cursor() local67 cursor_size /= 2; in dcn32_helper_calculate_mall_bytes_for_cursor()73 cursor_size *= 4; in dcn32_helper_calculate_mall_bytes_for_cursor()79 cursor_size *= 8; in dcn32_helper_calculate_mall_bytes_for_cursor()88 cursor_size > 16384)) { in dcn32_helper_calculate_mall_bytes_for_cursor()92 cursor_mall_size_bytes = ((cursor_size + DCN3_2_MALL_MBLK_SIZE_BYTES - 1) / in dcn32_helper_calculate_mall_bytes_for_cursor()
618 int cursor_size = hubp->curs_attr.pitch * hubp->curs_attr.height; in dcn32_update_mall_sel() local622 cursor_size /= 2; in dcn32_update_mall_sel()627 cursor_size *= 4; in dcn32_update_mall_sel()633 cursor_size *= 8; in dcn32_update_mall_sel()637 if (cursor_size > 16384) in dcn32_update_mall_sel()
918 unsigned int cursor_size = 0; in dcn30_does_plane_fit_in_mall() local924 cursor_size = dc->caps.max_cursor_size * dc->caps.max_cursor_size; in dcn30_does_plane_fit_in_mall()928 cursor_size /= 2; in dcn30_does_plane_fit_in_mall()933 cursor_size *= 4; in dcn30_does_plane_fit_in_mall()938 cursor_size *= 8; in dcn30_does_plane_fit_in_mall()943 return (surface_size + cursor_size) < mall_size; in dcn30_does_plane_fit_in_mall()
215 u32 cursor_size; member
608 hw->cursor_size = INREG(CURSOR_SIZE); in intelfbhw_read_hw_state()834 printk(" CURSOR_SIZE: 0x%08x\n", hw->cursor_size); in intelfbhw_print_hw_state()
1467 u16 cursor_size; in skl_crtc_allocate_plane_ddb() local1484 cursor_size = skl_cursor_allocation(crtc_state, num_active); in skl_crtc_allocate_plane_ddb()1485 iter.size -= cursor_size; in skl_crtc_allocate_plane_ddb()1487 alloc->end - cursor_size, alloc->end); in skl_crtc_allocate_plane_ddb()
717 unsigned long cursor_size = roundup(AST_HWC_SIZE + AST_HWC_SIGNATURE_SIZE, PAGE_SIZE); in ast_primary_plane_init() local718 unsigned long size = ast->vram_fb_available - cursor_size; in ast_primary_plane_init()
Completed in 35 milliseconds