/linux-6.1.9/drivers/media/platform/aspeed/ |
D | aspeed-video.c | 294 bool yuv420; member 463 static void aspeed_video_init_jpeg_table(u32 *table, bool yuv420) in aspeed_video_init_jpeg_table() argument 481 if (yuv420) in aspeed_video_init_jpeg_table() 487 static void aspeed_video_update_jpeg_table(u32 *table, bool yuv420) in aspeed_video_update_jpeg_table() argument 497 table[base + 2] = (yuv420) ? 0x00220103 : 0x00110103; in aspeed_video_update_jpeg_table() 1136 if (video->yuv420) in aspeed_video_init_regs() 1502 aspeed_video_update_jpeg_table(video->jpeg.virt, video->yuv420); in aspeed_video_update_subsampling() 1504 if (video->yuv420) in aspeed_video_update_subsampling() 1523 video->yuv420 = true; in aspeed_video_set_ctrl() 1526 video->yuv420 = false; in aspeed_video_set_ctrl() [all …]
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn30/ |
D | display_rq_dlg_calc_30.c | 127 if (rq_param->yuv420) { in extract_rq_regs() 138 …if (rq_param->sizing.rq_l.chunk_bytes >= 32 * 1024 || (rq_param->yuv420 && rq_param->sizing.rq_c.c… in extract_rq_regs() 147 if (rq_param->yuv420) { in extract_rq_regs() 189 if (rq_param->yuv420) in handle_det_buf_split() 199 } else if (!rq_param->yuv420) { in handle_det_buf_split() 230 if (rq_param->yuv420) in handle_det_buf_split() 756 rq_param->yuv420 = pipe_param->src.source_format == dm_420_8 in dml_rq_dlg_get_rq_params()
|
D | display_mode_vba_30.c | 1335 int yuv420 = 0; in CalculateDCCConfiguration() local 1378 …yuv420 = ((SourcePixelFormat == dm_420_8 || SourcePixelFormat == dm_420_10 || SourcePixelFormat ==… in CalculateDCCConfiguration() 1411 / (1 + yuv420)); in CalculateDCCConfiguration() 1415 / (1 + vert_div_c) / (1 + yuv420)); in CalculateDCCConfiguration() 1432 eff_surf_width_c = eff_surf_width_l / (1 + yuv420); in CalculateDCCConfiguration() 1436 eff_surf_height_c = eff_surf_height_l / (1 + yuv420); in CalculateDCCConfiguration()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn20/ |
D | display_rq_dlg_calc_20.c | 201 if (rq_param->yuv420) { in extract_rq_regs() 221 if (rq_param->yuv420) { in extract_rq_regs() 263 if (rq_param->yuv420) { in handle_det_buf_split() 416 bool yuv420 = (source_format == dm_420_8 || source_format == dm_420_10); in get_meta_and_pte_attr() local 606 pde_buf_entries = yuv420 ? (pde_proc_buffer_size_64k_reqs >> 1) : pde_proc_buffer_size_64k_reqs; in get_meta_and_pte_attr() 743 rq_param->yuv420 = pipe_src_param->source_format == dm_420_8 in dml20_rq_dlg_get_rq_params()
|
D | display_rq_dlg_calc_20v2.c | 201 if (rq_param->yuv420) { in extract_rq_regs() 221 if (rq_param->yuv420) { in extract_rq_regs() 263 if (rq_param->yuv420) { in handle_det_buf_split() 416 bool yuv420 = (source_format == dm_420_8 || source_format == dm_420_10); in get_meta_and_pte_attr() local 606 pde_buf_entries = yuv420 ? (pde_proc_buffer_size_64k_reqs >> 1) : pde_proc_buffer_size_64k_reqs; in get_meta_and_pte_attr() 743 rq_param->yuv420 = pipe_src_param->source_format == dm_420_8 in dml20v2_rq_dlg_get_rq_params()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn31/ |
D | display_rq_dlg_calc_31.c | 121 if (rq_param->yuv420) { in extract_rq_regs() 131 …if (rq_param->sizing.rq_l.chunk_bytes >= 32 * 1024 || (rq_param->yuv420 && rq_param->sizing.rq_c.c… in extract_rq_regs() 141 if (rq_param->yuv420) { in extract_rq_regs() 199 if (rq_param->yuv420) in handle_det_buf_split() 214 } else if (!rq_param->yuv420) { in handle_det_buf_split() 245 if (rq_param->yuv420) in handle_det_buf_split() 750 …rq_param->yuv420 = pipe_param->src.source_format == dm_420_8 || pipe_param->src.source_format == d… in dml_rq_dlg_get_rq_params()
|
D | display_mode_vba_31.c | 1493 int yuv420; local 1531 …yuv420 = ((SourcePixelFormat == dm_420_8 || SourcePixelFormat == dm_420_10 || SourcePixelFormat ==… 1554 + (double) RequestHeight256ByteChroma * BytePerPixelC / (1 + horz_div_c) / (1 + yuv420)); 1556 …yteLuma / (1 + vert_div_l) + 256.0 / RequestHeight256ByteChroma / (1 + vert_div_c) / (1 + yuv420)); 1572 eff_surf_width_c = eff_surf_width_l / (1 + yuv420); 1574 eff_surf_height_c = eff_surf_height_l / (1 + yuv420);
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn314/ |
D | display_rq_dlg_calc_314.c | 209 if (rq_param->yuv420) { in extract_rq_regs() 219 …if (rq_param->sizing.rq_l.chunk_bytes >= 32 * 1024 || (rq_param->yuv420 && rq_param->sizing.rq_c.c… in extract_rq_regs() 229 if (rq_param->yuv420) { in extract_rq_regs() 287 if (rq_param->yuv420) in handle_det_buf_split() 302 } else if (!rq_param->yuv420) { in handle_det_buf_split() 333 if (rq_param->yuv420) in handle_det_buf_split() 837 …rq_param->yuv420 = pipe_param->src.source_format == dm_420_8 || pipe_param->src.source_format == d… in dml_rq_dlg_get_rq_params()
|
D | display_mode_vba_314.c | 1514 int yuv420; local 1552 …yuv420 = ((SourcePixelFormat == dm_420_8 || SourcePixelFormat == dm_420_10 || SourcePixelFormat ==… 1575 + (double) RequestHeight256ByteChroma * BytePerPixelC / (1 + horz_div_c) / (1 + yuv420)); 1577 …yteLuma / (1 + vert_div_l) + 256.0 / RequestHeight256ByteChroma / (1 + vert_div_c) / (1 + yuv420)); 1593 eff_surf_width_c = eff_surf_width_l / (1 + yuv420); 1595 eff_surf_height_c = eff_surf_height_l / (1 + yuv420);
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn21/ |
D | display_rq_dlg_calc_21.c | 180 if (rq_param->yuv420) { in extract_rq_regs() 201 if (rq_param->yuv420) { in extract_rq_regs() 247 if (rq_param->yuv420) { in handle_det_buf_split() 407 bool yuv420 = (source_format == dm_420_8 || source_format == dm_420_10); in get_meta_and_pte_attr() local 604 yuv420 ? (pde_proc_buffer_size_64k_reqs >> 1) : pde_proc_buffer_size_64k_reqs; in get_meta_and_pte_attr() 785 rq_param->yuv420 = pipe_param->src.source_format == dm_420_8 in dml_rq_dlg_get_rq_params()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/ |
D | dml1_display_rq_dlg_calc.c | 240 if (rq_param->yuv420) in dml1_extract_rq_regs() 258 if (rq_param->yuv420) { in dml1_extract_rq_regs() 304 if (rq_param->yuv420) { in handle_det_buf_split() 966 rq_param->yuv420 = pipe_src_param->source_format == dm_420_8 in dml1_rq_dlg_get_rq_params()
|
D | display_mode_structs.h | 609 unsigned char yuv420; member
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn32/ |
D | display_mode_vba_util_32.c | 5326 unsigned int yuv420; in dml32_CalculateDCCConfiguration() local 5336 yuv420 = ((SourcePixelFormat == dm_420_8 || SourcePixelFormat == dm_420_10 || in dml32_CalculateDCCConfiguration() 5358 BytePerPixelC / (1 + horz_div_c) / (1 + yuv420)); in dml32_CalculateDCCConfiguration() 5361 (1 + vert_div_c) / (1 + yuv420)); in dml32_CalculateDCCConfiguration() 5377 eff_surf_width_c = eff_surf_width_l / (1 + yuv420); in dml32_CalculateDCCConfiguration() 5379 eff_surf_height_c = eff_surf_height_l / (1 + yuv420); in dml32_CalculateDCCConfiguration()
|