Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/gpu/drm/loongson/
Dlsdc_plane.c244 enum lsdc_cursor_size cursor_size; in lsdc_cursor_plane_atomic_async_update() local
248 cursor_size = CURSOR_SIZE_64X64; in lsdc_cursor_plane_atomic_async_update()
251 cursor_size = CURSOR_SIZE_32X32; in lsdc_cursor_plane_atomic_async_update()
254 cursor_size = CURSOR_SIZE_32X32; in lsdc_cursor_plane_atomic_async_update()
260 ops->update_cfg(cursor, cursor_size, CURSOR_FORMAT_ARGB8888); in lsdc_cursor_plane_atomic_async_update()
389 enum lsdc_cursor_size cursor_size; in ls7a2000_cursor_plane_atomic_update() local
404 cursor_size = CURSOR_SIZE_64X64; in ls7a2000_cursor_plane_atomic_update()
407 cursor_size = CURSOR_SIZE_32X32; in ls7a2000_cursor_plane_atomic_update()
410 cursor_size = CURSOR_SIZE_64X64; in ls7a2000_cursor_plane_atomic_update()
414 ops->update_cfg(cursor, cursor_size, CURSOR_FORMAT_ARGB8888); in ls7a2000_cursor_plane_atomic_update()
[all …]
Dlsdc_drv.h159 enum lsdc_cursor_size cursor_size,
/linux-6.6.21/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-6.6.21/drivers/gpu/drm/amd/display/dc/dcn32/
Ddcn32_hubp.c120 uint32_t cursor_size = cursor_width * cursor_height; in hubp32_cursor_set_attributes() local
147 cursor_size /= 2; in hubp32_cursor_set_attributes()
152 cursor_size *= 4; in hubp32_cursor_set_attributes()
158 cursor_size *= 8; in hubp32_cursor_set_attributes()
162 if (cursor_size > 16384) in hubp32_cursor_set_attributes()
Ddcn32_resource_helpers.c62 uint32_t cursor_size = hubp->curs_attr.pitch * hubp->curs_attr.height; in dcn32_helper_calculate_mall_bytes_for_cursor() local
67 cursor_size /= 2; in dcn32_helper_calculate_mall_bytes_for_cursor()
72 cursor_size *= 4; in dcn32_helper_calculate_mall_bytes_for_cursor()
77 cursor_size *= 8; in dcn32_helper_calculate_mall_bytes_for_cursor()
85 cursor_size > 16384)) { in dcn32_helper_calculate_mall_bytes_for_cursor()
89 cursor_mall_size_bytes = ((cursor_size + DCN3_2_MALL_MBLK_SIZE_BYTES - 1) / in dcn32_helper_calculate_mall_bytes_for_cursor()
Ddcn32_hwseq.c663 int cursor_size = hubp->curs_attr.pitch * hubp->curs_attr.height; in dcn32_update_mall_sel() local
667 cursor_size /= 2; in dcn32_update_mall_sel()
672 cursor_size *= 4; in dcn32_update_mall_sel()
678 cursor_size *= 8; in dcn32_update_mall_sel()
682 if (cursor_size > 16384) in dcn32_update_mall_sel()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn30/
Ddcn30_hwseq.c882 unsigned int cursor_size = 0; in dcn30_does_plane_fit_in_mall() local
888 cursor_size = dc->caps.max_cursor_size * dc->caps.max_cursor_size; in dcn30_does_plane_fit_in_mall()
892 cursor_size /= 2; in dcn30_does_plane_fit_in_mall()
897 cursor_size *= 4; in dcn30_does_plane_fit_in_mall()
902 cursor_size *= 8; in dcn30_does_plane_fit_in_mall()
907 return (surface_size + cursor_size) < mall_size; in dcn30_does_plane_fit_in_mall()
/linux-6.6.21/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-6.6.21/drivers/gpu/drm/ast/
Dast_mode.c725 unsigned long cursor_size = roundup(AST_HWC_SIZE + AST_HWC_SIGNATURE_SIZE, PAGE_SIZE); in ast_primary_plane_init() local
726 unsigned long size = ast->vram_fb_available - cursor_size; in ast_primary_plane_init()
/linux-6.6.21/drivers/gpu/drm/i915/display/
Dskl_watermark.c1500 u16 cursor_size; in skl_crtc_allocate_plane_ddb() local
1517 cursor_size = skl_cursor_allocation(crtc_state, num_active); in skl_crtc_allocate_plane_ddb()
1518 iter.size -= cursor_size; in skl_crtc_allocate_plane_ddb()
1520 alloc->end - cursor_size, alloc->end); in skl_crtc_allocate_plane_ddb()