Home
last modified time | relevance | path

Searched refs:dsc (Results 1 – 25 of 97) sorted by relevance

1234

/linux-6.3-rc2/drivers/gpu/drm/msm/disp/dpu1/
A Ddpu_hw_dsc.c70 data = dsc->pic_width << 16; in dpu_hw_dsc_config()
71 data |= dsc->pic_height; in dpu_hw_dsc_config()
74 data = dsc->slice_width << 16; in dpu_hw_dsc_config()
75 data |= dsc->slice_height; in dpu_hw_dsc_config()
102 data |= dsc->final_offset; in dpu_hw_dsc_config()
108 data |= dsc->flatness_min_qp; in dpu_hw_dsc_config()
111 data = dsc->rc_model_size; in dpu_hw_dsc_config()
118 data |= dsc->rc_edge_factor; in dpu_hw_dsc_config()
186 if (dsc == m->dsc[i].id) { in _dsc_offset()
189 return &m->dsc[i]; in _dsc_offset()
[all …]
A Ddpu_hw_dsc.h34 struct drm_dsc_config *dsc,
44 struct drm_dsc_config *dsc);
77 void dpu_hw_dsc_destroy(struct dpu_hw_dsc *dsc);
A Ddpu_encoder.c212 struct drm_dsc_config *dsc; member
538 if (dpu_enc->dsc) in dpu_encoder_use_dsc_merge()
583 if (dpu_enc->dsc) { in dpu_encoder_get_topology()
1068 if (dpu_enc->dsc) { in dpu_encoder_virt_atomic_mode_set()
1818 struct drm_dsc_config *dsc, in dpu_encoder_dsc_pipe_cfg() argument
1826 hw_dsc->ops.dsc_config_thresh(hw_dsc, dsc); in dpu_encoder_dsc_pipe_cfg()
1839 struct drm_dsc_config *dsc) in dpu_encoder_prep_dsc() argument
1863 pic_width = dsc->pic_width; in dpu_encoder_prep_dsc()
1915 if (dpu_enc->dsc) in dpu_encoder_prepare_for_kickoff()
1916 dpu_encoder_prep_dsc(dpu_enc, dpu_enc->dsc); in dpu_encoder_prepare_for_kickoff()
[all …]
/linux-6.3-rc2/drivers/gpu/drm/i915/display/
A Dintel_vdsc.c615 if (crtc_state->dsc.dsc_split) in intel_dsc_pps_configure()
622 if (crtc_state->dsc.dsc_split) in intel_dsc_pps_configure()
639 if (crtc_state->dsc.dsc_split) in intel_dsc_pps_configure()
646 if (crtc_state->dsc.dsc_split) in intel_dsc_pps_configure()
664 if (crtc_state->dsc.dsc_split) in intel_dsc_pps_configure()
671 if (crtc_state->dsc.dsc_split) in intel_dsc_pps_configure()
689 if (crtc_state->dsc.dsc_split) in intel_dsc_pps_configure()
696 if (crtc_state->dsc.dsc_split) in intel_dsc_pps_configure()
714 if (crtc_state->dsc.dsc_split) in intel_dsc_pps_configure()
721 if (crtc_state->dsc.dsc_split) in intel_dsc_pps_configure()
[all …]
A Dintel_dp_mst.c55 bool dsc) in intel_dp_mst_find_vcpi_slots_for_bpp() argument
85 dsc ? bpp << 4 : bpp, in intel_dp_mst_find_vcpi_slots_for_bpp()
86 dsc); in intel_dp_mst_find_vcpi_slots_for_bpp()
115 if (!dsc) in intel_dp_mst_find_vcpi_slots_for_bpp()
118 crtc_state->dsc.compressed_bpp = bpp; in intel_dp_mst_find_vcpi_slots_for_bpp()
213 last_compressed_bpp = crtc_state->dsc.compressed_bpp; in intel_dp_dsc_mst_compute_link_config()
228 crtc_state->dsc.compressed_bpp, in intel_dp_dsc_mst_compute_link_config()
229 crtc_state->dsc.compressed_bpp, in intel_dp_dsc_mst_compute_link_config()
860 bool dsc = false, bigjoiner = false; in intel_dp_mst_mode_valid_ctx() local
930 dsc = dsc_max_output_bpp && dsc_slice_count; in intel_dp_mst_mode_valid_ctx()
[all …]
A Dintel_bios.c2671 devdata->dsc != NULL); in print_ddi_port()
3273 kfree(devdata->dsc); in intel_bios_driver_remove()
3517 if (dsc->slices_per_line & BIT(2)) { in fill_dsc()
3518 crtc_state->dsc.slice_count = 4; in fill_dsc()
3520 crtc_state->dsc.slice_count = 2; in fill_dsc()
3523 if (!(dsc->slices_per_line & BIT(0))) in fill_dsc()
3526 crtc_state->dsc.slice_count = 1; in fill_dsc()
3530 crtc_state->dsc.slice_count != 0) in fill_dsc()
3533 crtc_state->dsc.slice_count); in fill_dsc()
3540 dsc->rc_buffer_size); in fill_dsc()
[all …]
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn20/
A Ddcn20_dsc.c75 dsc->ctx->logger
93 dsc->base.ctx = ctx; in dsc2_construct()
94 dsc->base.inst = inst; in dsc2_construct()
95 dsc->base.funcs = &dcn20_dsc_funcs; in dsc2_construct()
97 dsc->dsc_regs = dsc_regs; in dsc2_construct()
98 dsc->dsc_shift = dsc_shift; in dsc2_construct()
99 dsc->dsc_mask = dsc_mask; in dsc2_construct()
101 dsc->max_image_width = 5184; in dsc2_construct()
205 dsc_config_log(dsc, dsc_cfg); in dsc2_set_config()
224 dsc_config_log(dsc, dsc_cfg); in dsc2_get_packed_pps()
[all …]
A Ddcn20_resource.c1090 struct dcn20_dsc *dsc = in dcn20_dsc_create() local
1093 if (!dsc) { in dcn20_dsc_create()
1099 return &dsc->base; in dcn20_dsc_create()
1105 *dsc = NULL; in dcn20_dsc_destroy()
1340 *dsc = NULL; in dcn20_acquire_dsc()
1344 *dsc = pool->dscs[pipe_idx]; in dcn20_acquire_dsc()
1351 *dsc = dsc_old; in dcn20_acquire_dsc()
1359 *dsc = pool->dscs[i]; in dcn20_acquire_dsc()
1372 if (pool->dscs[i] == *dsc) { in dcn20_release_dsc()
1374 *dsc = NULL; in dcn20_release_dsc()
[all …]
A Ddcn20_resource.h100 void dcn20_dsc_destroy(struct display_stream_compressor **dsc);
131 struct display_stream_compressor **dsc);
145 struct display_stream_compressor **dsc,
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn314/
A Ddcn314_hwseq.c97 struct display_stream_compressor *dsc = pipe_ctx->stream_res.dsc; in update_dsc_on_stream() local
102 ASSERT(dsc); in update_dsc_on_stream()
121 dsc->funcs->dsc_set_config(dsc, &dsc_cfg, &dsc_optc_cfg); in update_dsc_on_stream()
122 dsc->funcs->dsc_enable(dsc, pipe_ctx->stream_res.opp->inst); in update_dsc_on_stream()
148 dsc->funcs->dsc_disable(pipe_ctx->stream_res.dsc); in update_dsc_on_stream()
150 ASSERT(odm_pipe->stream_res.dsc); in update_dsc_on_stream()
151 odm_pipe->stream_res.dsc->funcs->dsc_disable(odm_pipe->stream_res.dsc); in update_dsc_on_stream()
222 if (pipe_ctx->stream_res.dsc) { in dcn314_update_odm()
229 current_pipe_ctx->next_odm_pipe->stream_res.dsc) { in dcn314_update_odm()
230 struct display_stream_compressor *dsc = current_pipe_ctx->next_odm_pipe->stream_res.dsc; in dcn314_update_odm() local
[all …]
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/inc/hw/
A Ddsc.h99 void (*dsc_read_state)(struct display_stream_compressor *dsc, struct dcn_dsc_state *s);
100 …bool (*dsc_validate_stream)(struct display_stream_compressor *dsc, const struct dsc_config *dsc_cf…
101 void (*dsc_set_config)(struct display_stream_compressor *dsc, const struct dsc_config *dsc_cfg,
103 bool (*dsc_get_packed_pps)(struct display_stream_compressor *dsc, const struct dsc_config *dsc_cfg,
105 void (*dsc_enable)(struct display_stream_compressor *dsc, int opp_pipe);
106 void (*dsc_disable)(struct display_stream_compressor *dsc);
107 void (*dsc_disconnect)(struct display_stream_compressor *dsc);
/linux-6.3-rc2/drivers/gpu/drm/msm/dsi/
A Ddsi_host.c846 struct drm_dsc_config *dsc = msm_host->dsc; in dsi_update_dsc_timing() local
933 if (msm_host->dsc) { in dsi_timing_setup()
934 struct drm_dsc_config *dsc = msm_host->dsc; in dsi_timing_setup() local
945 DBG("Mode %dx%d\n", dsc->pic_width, dsc->pic_height); in dsi_timing_setup()
964 if (msm_host->dsc) in dsi_timing_setup()
985 if (msm_host->dsc) in dsi_timing_setup()
989 if (!msm_host->dsc) in dsi_timing_setup()
1605 if (dsi->dsc) in dsi_host_attach()
1606 msm_host->dsc = dsi->dsc; in dsi_host_attach()
1806 dsc->line_buf_depth = dsc->bits_per_component + 1; in dsi_populate_dsc_params()
[all …]
/linux-6.3-rc2/drivers/gpu/drm/tests/
A Ddrm_dp_mst_helper_test.c18 const bool dsc; member
26 .dsc = false,
32 .dsc = false,
38 .dsc = false,
44 .dsc = true,
50 .dsc = true,
59 KUNIT_EXPECT_EQ(test, drm_dp_calc_pbn_mode(params->clock, params->bpp, params->dsc), in drm_test_dp_mst_calc_pbn_mode()
65 sprintf(desc, "Clock %d BPP %d DSC %s", t->clock, t->bpp, t->dsc ? "enabled" : "disabled"); in dp_mst_calc_pbn_mode_desc()
/linux-6.3-rc2/drivers/gpu/drm/amd/display/amdgpu_dm/
A Damdgpu_dm_debugfs.c1354 dsc = pipe_ctx->stream_res.dsc; in dp_dsc_clock_en_read()
1356 dsc->funcs->dsc_read_state(dsc, &dsc_state); in dp_dsc_clock_en_read()
1540 dsc = pipe_ctx->stream_res.dsc; in dp_dsc_slice_width_read()
1542 dsc->funcs->dsc_read_state(dsc, &dsc_state); in dp_dsc_slice_width_read()
1724 dsc = pipe_ctx->stream_res.dsc; in dp_dsc_slice_height_read()
1726 dsc->funcs->dsc_read_state(dsc, &dsc_state); in dp_dsc_slice_height_read()
1904 dsc = pipe_ctx->stream_res.dsc; in dp_dsc_bits_per_pixel_read()
2079 dsc = pipe_ctx->stream_res.dsc; in dp_dsc_pic_width_read()
2135 dsc = pipe_ctx->stream_res.dsc; in dp_dsc_pic_height_read()
2206 dsc = pipe_ctx->stream_res.dsc; in dp_dsc_chunk_size_read()
[all …]
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn32/
A Ddcn32_hwseq.c943 struct display_stream_compressor *dsc = pipe_ctx->stream_res.dsc; in update_dsc_on_stream() local
948 ASSERT(dsc); in update_dsc_on_stream()
967 dsc->funcs->dsc_set_config(dsc, &dsc_cfg, &dsc_optc_cfg); in update_dsc_on_stream()
968 dsc->funcs->dsc_enable(dsc, pipe_ctx->stream_res.opp->inst); in update_dsc_on_stream()
994 dsc->funcs->dsc_disable(pipe_ctx->stream_res.dsc); in update_dsc_on_stream()
996 ASSERT(odm_pipe->stream_res.dsc); in update_dsc_on_stream()
997 odm_pipe->stream_res.dsc->funcs->dsc_disable(odm_pipe->stream_res.dsc); in update_dsc_on_stream()
1070 if (pipe_ctx->stream_res.dsc) { in dcn32_update_odm()
1078 struct display_stream_compressor *dsc = current_pipe_ctx->next_odm_pipe->stream_res.dsc; in dcn32_update_odm() local
1080 dsc->funcs->dsc_disconnect(dsc); in dcn32_update_odm()
[all …]
/linux-6.3-rc2/drivers/net/ethernet/broadcom/
A Dsb1250-mac.c775 struct sbdmadscr *dsc; in sbdma_add_rcvbuffer() local
782 dsc = d->sbdma_addptr; in sbdma_add_rcvbuffer()
848 dsc->dscr_b = 0; in sbdma_add_rcvbuffer()
889 struct sbdmadscr *dsc; in sbdma_add_txbuffer() local
897 dsc = d->sbdma_addptr; in sbdma_add_txbuffer()
928 dsc->dscr_a = phys | in sbdma_add_txbuffer()
1058 struct sbdmadscr *dsc; in sbdma_rx_process() local
1084 dsc = d->sbdma_remptr; in sbdma_rx_process()
1085 curidx = dsc - d->sbdma_dscrtable; in sbdma_rx_process()
1087 prefetch(dsc); in sbdma_rx_process()
[all …]
/linux-6.3-rc2/include/linux/irqchip/
A Dirq-partition-percpu.h28 struct irq_domain *partition_get_domain(struct partition_desc *dsc);
47 struct irq_domain *partition_get_domain(struct partition_desc *dsc) in partition_get_domain() argument
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/link/
A Dlink_dpms.c780 struct display_stream_compressor *dsc = pipe_ctx->stream_res.dsc; in link_set_dsc_on_stream() local
805 dsc->funcs->dsc_set_config(dsc, &dsc_cfg, &dsc_optc_cfg); in link_set_dsc_on_stream()
806 dsc->funcs->dsc_enable(dsc, pipe_ctx->stream_res.opp->inst); in link_set_dsc_on_stream()
862 pipe_ctx->stream_res.dsc->funcs->dsc_disable(pipe_ctx->stream_res.dsc); in link_set_dsc_on_stream()
864 odm_pipe->stream_res.dsc->funcs->dsc_disable(odm_pipe->stream_res.dsc); in link_set_dsc_on_stream()
879 struct display_stream_compressor *dsc = pipe_ctx->stream_res.dsc; in link_set_dsc_pps_packet() local
901 dsc->funcs->dsc_get_packed_pps(dsc, &dsc_cfg, &dsc_packed_pps[0]); in link_set_dsc_pps_packet()
939 struct display_stream_compressor *dsc = pipe_ctx->stream_res.dsc; in link_set_dsc_enable() local
944 if (!dsc) in link_set_dsc_enable()
963 struct display_stream_compressor *dsc = pipe_ctx->stream_res.dsc; in link_update_dsc_config() local
[all …]
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/
A Den_stats.h36 #define MLX5E_READ_CTR64_CPU(ptr, dsc, i) \ argument
37 (*(u64 *)((char *)ptr + dsc[i].offset))
38 #define MLX5E_READ_CTR64_BE(ptr, dsc, i) \ argument
39 be64_to_cpu(*(__be64 *)((char *)ptr + dsc[i].offset))
40 #define MLX5E_READ_CTR32_CPU(ptr, dsc, i) \ argument
41 (*(u32 *)((char *)ptr + dsc[i].offset))
42 #define MLX5E_READ_CTR32_BE(ptr, dsc, i) \ argument
43 be32_to_cpu(*(__be32 *)((char *)ptr + dsc[i].offset))
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
A Dktls_stats.c50 #define MLX5E_READ_CTR_ATOMIC64(ptr, dsc, i) \ argument
51 atomic64_read((atomic64_t *)((char *)(ptr) + (dsc)[i].offset))
A Dipsec_stats.c61 #define MLX5E_READ_CTR_ATOMIC64(ptr, dsc, i) \ argument
62 atomic64_read((atomic64_t *)((char *)(ptr) + (dsc)[i].offset))
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/
A Ddc_dsc.h63 const struct display_stream_compressor *dsc,
72 const struct display_stream_compressor *dsc,
/linux-6.3-rc2/arch/mips/mm/
A Dcerr-sb1.c466 struct dc_state *dsc = dc_states; in dc_state_str() local
467 while (dsc->val != 0xff) { in dc_state_str()
468 if (dsc->val == state) in dc_state_str()
470 dsc++; in dc_state_str()
472 return dsc->name; in dc_state_str()
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dsc/
A Ddc_dsc.c67 const struct display_stream_compressor *dsc,
343 const struct display_stream_compressor *dsc, in dc_dsc_compute_bandwidth_range() argument
356 get_dsc_enc_caps(dsc, &dsc_enc_caps, timing->pix_clk_100hz); in dc_dsc_compute_bandwidth_range()
373 const struct display_stream_compressor *dsc, in get_dsc_enc_caps() argument
380 if (dsc) { in get_dsc_enc_caps()
381 if (!dsc->ctx->dc->debug.disable_dsc) in get_dsc_enc_caps()
382 dsc->funcs->dsc_get_enc_caps(dsc_enc_caps, pixel_clock_100Hz); in get_dsc_enc_caps()
383 if (dsc->ctx->dc->debug.native422_support) in get_dsc_enc_caps()
959 const struct display_stream_compressor *dsc, in dc_dsc_compute_config() argument
970 get_dsc_enc_caps(dsc, &dsc_enc_caps, timing->pix_clk_100hz); in dc_dsc_compute_config()
/linux-6.3-rc2/Documentation/devicetree/bindings/display/mediatek/
A Dmediatek,dsc.yaml4 $id: http://devicetree.org/schemas/display/mediatek/mediatek,dsc.yaml#
24 - const: mediatek,mt8195-disp-dsc
73 compatible = "mediatek,mt8195-disp-dsc";

Completed in 81 milliseconds

1234