Searched refs:cursor_size (Results 1 – 11 of 11) sorted by relevance
| /linux/drivers/gpu/drm/loongson/ |
| H A D | lsdc_plane.c | 245 enum lsdc_cursor_size cursor_size; in lsdc_cursor_plane_atomic_async_update() local 249 cursor_size = CURSOR_SIZE_64X64; in lsdc_cursor_plane_atomic_async_update() 252 cursor_size = CURSOR_SIZE_32X32; in lsdc_cursor_plane_atomic_async_update() 255 cursor_size = CURSOR_SIZE_32X32; in lsdc_cursor_plane_atomic_async_update() 261 ops->update_cfg(cursor, cursor_size, CURSOR_FORMAT_ARGB8888); in lsdc_cursor_plane_atomic_async_update() 390 enum lsdc_cursor_size cursor_size; in ls7a2000_cursor_plane_atomic_update() local 405 cursor_size = CURSOR_SIZE_64X64; in ls7a2000_cursor_plane_atomic_update() 408 cursor_size = CURSOR_SIZE_32X32; in ls7a2000_cursor_plane_atomic_update() 411 cursor_size = CURSOR_SIZE_64X64; in ls7a2000_cursor_plane_atomic_update() 415 ops->update_cfg(cursor, cursor_size, CURSOR_FORMAT_ARGB8888); in ls7a2000_cursor_plane_atomic_update() [all …]
|
| H A D | lsdc_drv.h | 159 enum lsdc_cursor_size cursor_size,
|
| /linux/drivers/video/fbdev/core/ |
| H A D | softcursor.c | 37 if (dsize + sizeof(struct fb_image) != par->cursor_size) { in soft_cursor() 39 par->cursor_size = dsize + sizeof(struct fb_image); in soft_cursor() 41 par->cursor_src = kmalloc(par->cursor_size, GFP_ATOMIC); in soft_cursor() 43 par->cursor_size = 0; in soft_cursor()
|
| H A D | fbcon.h | 88 u32 cursor_size; member
|
| /linux/drivers/gpu/drm/amd/display/dc/hubp/dcn32/ |
| H A D | dcn32_hubp.c | 120 uint32_t cursor_size = cursor_width * cursor_height; in hubp32_cursor_set_attributes() local 125 cursor_size /= 2; in hubp32_cursor_set_attributes() 130 cursor_size *= 4; in hubp32_cursor_set_attributes() 136 cursor_size *= 8; in hubp32_cursor_set_attributes() 139 use_mall_for_cursor = cursor_size > 16384 ? 1 : 0; in hubp32_cursor_set_attributes()
|
| /linux/drivers/gpu/drm/amd/display/dc/resource/dcn32/ |
| H A D | dcn32_resource_helpers.c | 45 uint32_t cursor_size = hubp->curs_attr.pitch * hubp->curs_attr.height; in dcn32_helper_calculate_mall_bytes_for_cursor() local 50 cursor_size /= 2; in dcn32_helper_calculate_mall_bytes_for_cursor() 55 cursor_size *= 4; in dcn32_helper_calculate_mall_bytes_for_cursor() 60 cursor_size *= 8; in dcn32_helper_calculate_mall_bytes_for_cursor() 68 cursor_size > 16384)) { in dcn32_helper_calculate_mall_bytes_for_cursor() 72 cursor_mall_size_bytes = ((cursor_size + DCN3_2_MALL_MBLK_SIZE_BYTES - 1) / in dcn32_helper_calculate_mall_bytes_for_cursor()
|
| /linux/drivers/gpu/drm/amd/display/dc/hwss/dcn30/ |
| H A D | dcn30_hwseq.c | 1116 unsigned int cursor_size = 0; in dcn30_does_plane_fit_in_mall() local 1122 cursor_size = dc->caps.max_cursor_size * dc->caps.max_cursor_size; in dcn30_does_plane_fit_in_mall() 1126 cursor_size /= 2; in dcn30_does_plane_fit_in_mall() 1131 cursor_size *= 4; in dcn30_does_plane_fit_in_mall() 1136 cursor_size *= 8; in dcn30_does_plane_fit_in_mall() 1141 return (surface_size + cursor_size) < mall_size; in dcn30_does_plane_fit_in_mall()
|
| /linux/drivers/gpu/drm/amd/display/dc/hwss/dcn32/ |
| H A D | dcn32_hwseq.c | 685 int cursor_size = hubp->curs_attr.pitch * hubp->curs_attr.height; in dcn32_update_mall_sel() local 689 cursor_size /= 2; in dcn32_update_mall_sel() 694 cursor_size *= 4; in dcn32_update_mall_sel() 700 cursor_size *= 8; in dcn32_update_mall_sel() 704 if (cursor_size > 16384) in dcn32_update_mall_sel()
|
| /linux/drivers/gpu/drm/amd/display/dc/hwss/dcn401/ |
| H A D | dcn401_hwseq.c | 3944 int cursor_size = hubp->curs_attr.pitch * hubp->curs_attr.height; in dcn401_program_mall_pipe_config_sequence() local 3948 cursor_size /= 2; in dcn401_program_mall_pipe_config_sequence() 3953 cursor_size *= 4; in dcn401_program_mall_pipe_config_sequence() 3959 cursor_size *= 8; in dcn401_program_mall_pipe_config_sequence() 3963 if (cursor_size > 16384) in dcn401_program_mall_pipe_config_sequence()
|
| /linux/drivers/gpu/drm/i915/display/ |
| H A D | skl_watermark.c | 1433 u16 cursor_size; in skl_crtc_allocate_plane_ddb() local 1454 cursor_size = skl_cursor_allocation(crtc_state, num_active); in skl_crtc_allocate_plane_ddb() 1455 iter.size -= cursor_size; in skl_crtc_allocate_plane_ddb() 1457 alloc->end - cursor_size, alloc->end); in skl_crtc_allocate_plane_ddb()
|
| /linux/drivers/net/wireless/realtek/rtw89/ |
| H A D | fw.c | 1268 u8 cursor_size) in rtw89_regd_entcpy() argument 1277 u8 valid_size = min_t(u8, sizeof(entry), cursor_size); in rtw89_regd_entcpy()
|