Home
last modified time | relevance | path

Searched refs:cursor_size (Results 1 – 8 of 8) sorted by relevance

/Linux-v6.1/drivers/video/fbdev/core/
Dsoftcursor.c37 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()
Dfbcon.h87 u32 cursor_size; member
/Linux-v6.1/drivers/gpu/drm/amd/display/dc/dcn32/
Ddcn32_hubp.c111 uint32_t cursor_size = cursor_width * cursor_height; in hubp32_cursor_set_attributes() local
138 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()
Ddcn32_hwseq.c212 uint32_t cursor_size = 0; in dcn32_calculate_cab_allocation() local
286 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() local
733 cursor_size /= 2; in dcn32_update_mall_sel()
[all …]
/Linux-v6.1/drivers/gpu/drm/amd/display/dc/dcn30/
Ddcn30_hwseq.c912 unsigned int cursor_size = 0; in dcn30_does_plane_fit_in_mall() local
918 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()
/Linux-v6.1/drivers/video/fbdev/intelfb/
Dintelfb.h215 u32 cursor_size; member
Dintelfbhw.c608 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()
/Linux-v6.1/drivers/gpu/drm/i915/display/
Dskl_watermark.c1468 u16 cursor_size; in skl_crtc_allocate_plane_ddb() local
1485 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()