Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 5 files:
- drivers/gpu/drm/amd/display/dc/dsc/rc_calc_dpi.c, line 114
- drivers/gpu/drm/display/drm_dsc_helper.c, line 1439
- drivers/gpu/drm/i915/display/icl_dsi.c, line 1651
- drivers/gpu/drm/i915/display/intel_dp.c, line 1902
- drivers/gpu/drm/msm/dsi/dsi_host.c, line 1917
Smatch caller information:
drivers/gpu/drm/msm/dsi/dsi_host.c dsi_populate_dsc_params() -> drm_dsc_compute_rc_parameters()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vdsc_cfg | 4096-ptr_max |
| PARAM_VALUE | 0 | vdsc_cfg->bits_per_component | 8,10,12 |
| PARAM_VALUE | 0 | vdsc_cfg->bits_per_pixel | 64,80,96,112,128,160,192,240 |
| PARAM_VALUE | 0 | vdsc_cfg->convert_rgb | 1 |
| PARAM_VALUE | 0 | vdsc_cfg->first_line_bpg_offset | 0,12,15 |
| PARAM_VALUE | 0 | vdsc_cfg->flatness_max_qp | 0,12-13,16-17,20-21,24-25,28-29 |
| PARAM_VALUE | 0 | vdsc_cfg->flatness_min_qp | 0,3,7,11,15,19 |
| PARAM_VALUE | 0 | vdsc_cfg->initial_offset | 0,2048,5632,6144 |
| PARAM_VALUE | 0 | vdsc_cfg->initial_xmit_delay | 0,256,273,341,410,512,683,768 |
| PARAM_VALUE | 0 | vdsc_cfg->line_buf_depth | 9,11,13 |
| PARAM_VALUE | 0 | vdsc_cfg->mux_word_size | 48,64 |
| PARAM_VALUE | 0 | vdsc_cfg->pic_height | 1-u16max |
| PARAM_VALUE | 0 | vdsc_cfg->pic_width | 1-u16max |
| PARAM_VALUE | 0 | vdsc_cfg->rc_edge_factor | 6 |
| PARAM_VALUE | 0 | vdsc_cfg->rc_model_size | 1-u16max |
| PARAM_VALUE | 0 | vdsc_cfg->rc_quant_incr_limit0 | 0,11,15,19,23,27 |
| PARAM_VALUE | 0 | vdsc_cfg->rc_quant_incr_limit1 | 0,11,15,19,23,27 |
| PARAM_VALUE | 0 | vdsc_cfg->rc_tgt_offset_high | 3 |
| PARAM_VALUE | 0 | vdsc_cfg->rc_tgt_offset_low | 3 |
| PARAM_VALUE | 0 | vdsc_cfg->simple_422 | 0 |
| PARAM_VALUE | 0 | vdsc_cfg->vbr_enable | 0 |
| PARAM_VALUE | 0 | *vdsc_cfg->rc_buf_thresh | 14,28,42,56,70,84,98,105,112,119,121,123,125-126 |
| CAPPED_DATA | 0 | vdsc_cfg->bits_per_component | 1 |
| CAPPED_DATA | 0 | vdsc_cfg->bits_per_pixel | 1 |
| CAPPED_DATA | 0 | vdsc_cfg->line_buf_depth | 1 |
| DATA_SOURCE | 0 | vdsc_cfg | $1 |
| BIT_INFO | 0 | vdsc_cfg->bits_per_pixel | 0x0,0xfff0 |
| LOCK2 | &msm_host->dev_mutex | ||
| TYPE_LOCK | (struct msm_dsi_host)->dev_mutex |
drivers/gpu/drm/i915/display/icl_dsi.c gen11_dsi_dsc_compute_config() -> drm_dsc_compute_rc_parameters()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vdsc_cfg | 4096-ptr_max |
| PARAM_VALUE | 0 | vdsc_cfg->rc_model_size | 8192 |
| BUF_SIZE | 0 | vdsc_cfg | 136 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/i915/display/intel_dp.c intel_dp_dsc_compute_params() -> drm_dsc_compute_rc_parameters()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vdsc_cfg | 4096-ptr_max |
| PARAM_VALUE | 0 | vdsc_cfg->bits_per_component | 0 |
| PARAM_VALUE | 0 | vdsc_cfg->bits_per_pixel | 0 |
| PARAM_VALUE | 0 | vdsc_cfg->dsc_version_major | 0-15 |
| PARAM_VALUE | 0 | vdsc_cfg->dsc_version_minor | 0-2 |
| PARAM_VALUE | 0 | vdsc_cfg->final_offset | 0 |
| PARAM_VALUE | 0 | vdsc_cfg->first_line_bpg_offset | 0 |
| PARAM_VALUE | 0 | vdsc_cfg->flatness_max_qp | 0 |
| PARAM_VALUE | 0 | vdsc_cfg->flatness_min_qp | 0 |
| PARAM_VALUE | 0 | vdsc_cfg->initial_dec_delay | 0 |
| PARAM_VALUE | 0 | vdsc_cfg->initial_offset | 0 |
| PARAM_VALUE | 0 | vdsc_cfg->initial_scale_value | 0 |
| PARAM_VALUE | 0 | vdsc_cfg->initial_xmit_delay | 0 |
| PARAM_VALUE | 0 | vdsc_cfg->line_buf_depth | 8-13 |
| PARAM_VALUE | 0 | vdsc_cfg->mux_word_size | 0 |
| PARAM_VALUE | 0 | vdsc_cfg->native_420 | 0 |
| PARAM_VALUE | 0 | vdsc_cfg->native_422 | 0 |
| PARAM_VALUE | 0 | vdsc_cfg->nfl_bpg_offset | 0 |
| PARAM_VALUE | 0 | vdsc_cfg->nsl_bpg_offset | 0 |
| PARAM_VALUE | 0 | vdsc_cfg->pic_width | 0 |
| PARAM_VALUE | 0 | vdsc_cfg->rc_bits | 0 |
| PARAM_VALUE | 0 | vdsc_cfg->rc_edge_factor | 0 |
| PARAM_VALUE | 0 | vdsc_cfg->rc_model_size | 8192 |
| PARAM_VALUE | 0 | vdsc_cfg->rc_quant_incr_limit0 | 0 |
| PARAM_VALUE | 0 | vdsc_cfg->rc_quant_incr_limit1 | 0 |
| PARAM_VALUE | 0 | vdsc_cfg->scale_decrement_interval | 0 |
| PARAM_VALUE | 0 | vdsc_cfg->scale_increment_interval | 0 |
| PARAM_VALUE | 0 | vdsc_cfg->second_line_bpg_offset | 0 |
| PARAM_VALUE | 0 | vdsc_cfg->second_line_offset_adj | 0 |
| PARAM_VALUE | 0 | vdsc_cfg->simple_422 | 0 |
| PARAM_VALUE | 0 | vdsc_cfg->slice_bpg_offset | 0 |
| PARAM_VALUE | 0 | vdsc_cfg->slice_chunk_size | 0 |
| PARAM_VALUE | 0 | vdsc_cfg->slice_count | 0 |
| PARAM_VALUE | 0 | vdsc_cfg->slice_height | 2,108 |
| PARAM_VALUE | 0 | vdsc_cfg->slice_width | 0 |
| PARAM_VALUE | 0 | vdsc_cfg->vbr_enable | 0 |
| BUF_SIZE | 0 | vdsc_cfg | 136 |
| CAPPED_DATA | 0 | vdsc_cfg->dsc_version_minor | 1 |
| CAPPED_DATA | 0 | vdsc_cfg->line_buf_depth | 1 |
| CAPPED_DATA | 0 | vdsc_cfg->pic_height | 1 |
| MEM_ZERO | 0 | vdsc_cfg | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/amd/amdgpu/../display/dc/dsc/rc_calc_dpi.c dscc_compute_dsc_parameters() -> drm_dsc_compute_rc_parameters()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vdsc_cfg | 7609597404466135040 |
| PARAM_VALUE | 0 | vdsc_cfg->bits_per_component | 8,10,12-13 |
| PARAM_VALUE | 0 | vdsc_cfg->bits_per_pixel | 96-2046 |
| PARAM_VALUE | 0 | vdsc_cfg->dsc_version_minor | 1-2 |
| PARAM_VALUE | 0 | vdsc_cfg->line_buf_depth | 0,8-15 |
| PARAM_VALUE | 0 | vdsc_cfg->mux_word_size | 48,64 |
| PARAM_VALUE | 0 | vdsc_cfg->scale_decrement_interval | 0-21845 |
| PARAM_VALUE | 0 | vdsc_cfg->second_line_bpg_offset | 0,12 |
| PARAM_VALUE | 0 | vdsc_cfg->slice_width | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |