Searched refs:cursor_size (Results 1 – 8 of 8) 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()
212 uint32_t cursor_size = 0; in dcn32_calculate_cab_allocation() local286 cursor_size = hubp->curs_attr.pitch * hubp->curs_attr.height; in dcn32_calculate_cab_allocation()290 cursor_size /= 2; in dcn32_calculate_cab_allocation()296 cursor_size *= 4; in dcn32_calculate_cab_allocation()302 cursor_size *= 8; in dcn32_calculate_cab_allocation()308 cursor_size > 16384) { in dcn32_calculate_cab_allocation()311 cache_lines_used += (((cursor_size + DCN3_2_MALL_MBLK_SIZE_BYTES - 1) / in dcn32_calculate_cab_allocation()334 cursor_size > 16384) { in dcn32_calculate_cab_allocation()729 int cursor_size = hubp->curs_attr.pitch * hubp->curs_attr.height; in dcn32_update_mall_sel() local733 cursor_size /= 2; in dcn32_update_mall_sel()[all …]
912 unsigned int cursor_size = 0; in dcn30_does_plane_fit_in_mall() local918 cursor_size = dc->caps.max_cursor_size * dc->caps.max_cursor_size; in dcn30_does_plane_fit_in_mall()922 cursor_size /= 2; in dcn30_does_plane_fit_in_mall()927 cursor_size *= 4; in dcn30_does_plane_fit_in_mall()932 cursor_size *= 8; in dcn30_does_plane_fit_in_mall()937 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()
1468 u16 cursor_size; in skl_crtc_allocate_plane_ddb() local1485 cursor_size = skl_cursor_allocation(crtc_state, num_active); in skl_crtc_allocate_plane_ddb()1486 iter.size -= cursor_size; in skl_crtc_allocate_plane_ddb()1488 alloc->end - cursor_size, alloc->end); in skl_crtc_allocate_plane_ddb()