Searched refs:cursor_size (Results 1 – 12 of 12) sorted by relevance
/linux-6.6.21/drivers/gpu/drm/loongson/ |
D | lsdc_plane.c | 244 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 …]
|
D | lsdc_drv.h | 159 enum lsdc_cursor_size cursor_size,
|
/linux-6.6.21/drivers/video/fbdev/core/ |
D | softcursor.c | 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()
|
D | fbcon.h | 87 u32 cursor_size; member
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn32/ |
D | dcn32_hubp.c | 120 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()
|
D | dcn32_resource_helpers.c | 62 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()
|
D | dcn32_hwseq.c | 663 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/ |
D | dcn30_hwseq.c | 882 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/ |
D | intelfb.h | 215 u32 cursor_size; member
|
D | intelfbhw.c | 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()
|
/linux-6.6.21/drivers/gpu/drm/ast/ |
D | ast_mode.c | 725 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/ |
D | skl_watermark.c | 1500 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()
|