/openbsd-current/sys/dev/pci/drm/amd/display/dc/dsc/ |
H A D | rc_calc.c | 47 int slice_width = pps->slice_width; local 60 slice_width, slice_height,
|
H A D | rc_calc_dpi.c | 34 to->slice_width = from->slice_width; 115 tmp = (unsigned long long)dsc_cfg.slice_chunk_size * 0x10000000 + (dsc_cfg.slice_width - 1); 116 do_div(tmp, (uint32_t)dsc_cfg.slice_width); //ROUND-UP
|
H A D | dc_dsc.c | 853 int slice_width; local 1012 slice_width = pic_width / num_slices_h; 1014 is_dsc_possible = slice_width <= dsc_common_caps.max_slice_width;
|
/openbsd-current/sys/dev/pci/drm/amd/display/dc/dml/dsc/ |
H A D | rc_calc_fpu.h | 86 int slice_width,
|
H A D | rc_calc_fpu.c | 170 int slice_width, 217 slice_width /= 2; 219 padding_pixels = ((slice_width % 3) != 0) ? (3 - (slice_width % 3)) * (rc->initial_xmit_delay / slice_width) : 0; 165 _do_calc_rc_params(struct rc_params *rc, enum colour_mode cm, enum bits_per_comp bpc, u16 drm_bpp, bool is_navite_422_or_420, int slice_width, int slice_height, int minor_version) argument
|
/openbsd-current/sys/dev/pci/drm/amd/display/dc/inc/hw/ |
H A D | dsc.h | 49 uint32_t slice_width; /* Slice width in pixels */ member in struct:dsc_optc_config
|
/openbsd-current/sys/dev/pci/drm/i915/display/ |
H A D | intel_hdmi.h | 54 int intel_hdmi_dsc_get_bpp(int src_fractional_bpp, int slice_width,
|
H A D | intel_vdsc.c | 224 if (vdsc_cfg->slice_height * vdsc_cfg->slice_width < 15000) 227 if (vdsc_cfg->slice_width % 2) 233 if (vdsc_cfg->slice_height * vdsc_cfg->slice_width < 30000) 250 vdsc_cfg->slice_width = DIV_ROUND_UP(vdsc_cfg->pic_width, 469 DSC_SLICE_WIDTH(vdsc_cfg->slice_width); 674 vdsc_cfg->slice_width) |
|
H A D | intel_vdsc_regs.h | 141 #define DSC_SLICE_WIDTH(slice_width) ((slice_width) << 16)
|
H A D | intel_hdmi.c | 3162 int slice_width; local 3207 * per line till we get such a number, for which the slice_width is 3212 slice_width = max_slice_width; 3230 slice_width = DIV_ROUND_UP(crtc_state->hw.adjusted_mode.hdisplay, target_slices); 3231 if (slice_width >= max_slice_width) 3233 } while (slice_width >= max_slice_width); 3243 * @slice_width: dsc slice width supported by the source and sink 3252 intel_hdmi_dsc_get_bpp(int src_fractional_bpp, int slice_width, int num_slices, argument 3323 target_bytes = DIV_ROUND_UP((num_slices * slice_width * bpp), 8);
|
H A D | intel_dp.c | 2851 int num_slices, int slice_width) 2861 return intel_hdmi_dsc_get_bpp(pcon_fractional_bpp, slice_width, 2872 int slice_width; local 2901 slice_width = DIV_ROUND_UP(crtc_state->hw.adjusted_mode.hdisplay, 2905 num_slices, slice_width); 2911 pps_param[2] = slice_width & 0xFF; 2912 pps_param[3] = slice_width >> 8; 2849 intel_dp_pcon_dsc_enc_bpp(struct intel_dp *intel_dp, const struct intel_crtc_state *crtc_state, int num_slices, int slice_width) argument
|
H A D | icl_dsi.c | 1600 vdsc_cfg->pic_width % vdsc_cfg->slice_width);
|
/openbsd-current/sys/dev/pci/drm/include/drm/display/ |
H A D | drm_dsc.h | 96 * @slice_width: Width of each slice in pixels 98 u16 slice_width; member in struct:drm_dsc_config 355 * @slice_width: 358 __be16 slice_width; member in struct:drm_dsc_picture_parameter_set
|
/openbsd-current/sys/dev/pci/drm/display/ |
H A D | drm_dsc_helper.c | 150 pps_payload->slice_width = cpu_to_be16(dsc_cfg->slice_width); 1323 groups_per_line = DIV_ROUND_UP(vdsc_cfg->slice_width / 2, 1327 vdsc_cfg->slice_chunk_size = DIV_ROUND_UP(vdsc_cfg->slice_width / 2 * 1332 groups_per_line = DIV_ROUND_UP(vdsc_cfg->slice_width, 1336 vdsc_cfg->slice_chunk_size = DIV_ROUND_UP(vdsc_cfg->slice_width *
|
/openbsd-current/sys/dev/pci/drm/amd/display/dc/dcn20/ |
H A D | dcn20_dsc.c | 302 DC_LOG_DSC("\tslice_width %d", pps->slice_width); 414 // see what happens when the same condition doesn't apply for slice_width/pic_width. 415 dsc_reg_vals->pps.slice_width = dsc_cfg->pic_width / dsc_cfg->dc_dsc_cfg.num_slices_h; 448 dsc_optc_cfg->slice_width = dsc_reg_vals->pps.slice_width; 542 reg_vals->pps.slice_width = 0; 651 SLICE_WIDTH, reg_vals->pps.slice_width,
|
/openbsd-current/sys/dev/pci/drm/amd/display/dc/dcn314/ |
H A D | dcn314_hwseq.c | 140 dsc_optc_cfg.slice_width);
|
/openbsd-current/sys/dev/pci/drm/amd/display/dc/link/ |
H A D | link_dpms.c | 756 DC_LOG_DSC("\tslice_width %d", config->slice_width); 821 dsc_optc_cfg.slice_width); 832 dsc_optc_cfg.slice_width);
|
/openbsd-current/sys/dev/pci/drm/amd/display/dc/dcn32/ |
H A D | dcn32_hwseq.c | 1045 dsc_optc_cfg.slice_width);
|