Home
last modified time | relevance | path

Searched refs:dpp (Results 1 – 25 of 37) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/inc/hw/
Ddpp.h32 struct dpp { struct
126 struct dpp *dpp_base, const struct pwl_params *params);
128 void (*dpp_set_pre_degam)(struct dpp *dpp_base,
132 void (*dpp_program_cm_dealpha)(struct dpp *dpp_base,
136 struct dpp *dpp_base,
139 void (*dpp_read_state)(struct dpp *dpp, struct dcn_dpp_state *s);
141 void (*dpp_reset)(struct dpp *dpp);
143 void (*dpp_set_scaler)(struct dpp *dpp,
147 struct dpp *dpp,
152 struct dpp *dpp,
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_dpp_cm.c43 dpp->tf_regs->reg
46 dpp->base.ctx
50 dpp->tf_shift->field_name, dpp->tf_mask->field_name
92 struct dcn10_dpp *dpp, in program_gamut_remap() argument
118 gam_regs.shifts.csc_c11 = dpp->tf_shift->CM_GAMUT_REMAP_C11; in program_gamut_remap()
119 gam_regs.masks.csc_c11 = dpp->tf_mask->CM_GAMUT_REMAP_C11; in program_gamut_remap()
120 gam_regs.shifts.csc_c12 = dpp->tf_shift->CM_GAMUT_REMAP_C12; in program_gamut_remap()
121 gam_regs.masks.csc_c12 = dpp->tf_mask->CM_GAMUT_REMAP_C12; in program_gamut_remap()
129 dpp->base.ctx, in program_gamut_remap()
139 dpp->base.ctx, in program_gamut_remap()
[all …]
Ddcn10_dpp.c42 dpp->tf_regs->reg
45 dpp->base.ctx
49 dpp->tf_shift->field_name, dpp->tf_mask->field_name
94 void dpp_read_state(struct dpp *dpp_base, in dpp_read_state()
97 struct dcn10_dpp *dpp = TO_DCN10_DPP(dpp_base); in dpp_read_state() local
123 void dpp_set_gamut_remap_bypass(struct dcn10_dpp *dpp) in dpp_set_gamut_remap_bypass() argument
133 struct dpp *dpp, in dpp1_get_optimal_number_of_taps() argument
139 dpp->caps->dscl_data_proc_format == DSCL_DATA_PRCESSING_FIXED_FORMAT && in dpp1_get_optimal_number_of_taps()
145 dpp->ctx->dc->debug.max_downscale_src_width != 0 && in dpp1_get_optimal_number_of_taps()
146 scl_data->viewport.width > dpp->ctx->dc->debug.max_downscale_src_width) in dpp1_get_optimal_number_of_taps()
[all …]
Ddcn10_dpp_dscl.c43 dpp->tf_regs->reg
46 dpp->base.ctx
50 dpp->tf_shift->field_name, dpp->tf_mask->field_name
89 struct dcn10_dpp *dpp, in dpp1_dscl_set_overscan() argument
117 struct dcn10_dpp *dpp, const struct scaler_data *data) in dpp1_dscl_set_otg_blank() argument
168 struct dpp *dpp_base, in dpp1_dscl_get_dscl_mode()
202 struct dcn10_dpp *dpp, in dpp1_dscl_set_lb() argument
207 if (dpp->base.caps->dscl_data_proc_format == DSCL_DATA_PRCESSING_FIXED_FORMAT) { in dpp1_dscl_set_lb()
259 struct dcn10_dpp *dpp, in dpp1_dscl_set_scaler_filter() argument
297 struct dcn10_dpp *dpp, in dpp1_dscl_set_scl_filter() argument
[all …]
Ddcn10_hw_sequencer.c287 struct dpp *dpp = pool->dpps[i]; in dcn10_log_hw_state() local
290 dpp->funcs->dpp_read_state(dpp, &s); in dcn10_log_hw_state()
297 dpp->inst, in dcn10_log_hw_state()
1051 int dpp_id = pipe_ctx->plane_res.dpp->inst; in dcn10_plane_atomic_disconnect()
1078 struct dpp *dpp, in dcn10_plane_atomic_power_down() argument
1089 hws->funcs.dpp_pg_control(hws, dpp->inst, false); in dcn10_plane_atomic_power_down()
1094 dpp->funcs->dpp_reset(dpp); in dcn10_plane_atomic_power_down()
1109 struct dpp *dpp = pipe_ctx->plane_res.dpp; in dcn10_plane_atomic_disable() local
1116 dpp->funcs->dpp_dppclk_control(dpp, false, false); in dcn10_plane_atomic_disable()
1127 pipe_ctx->plane_res.dpp, in dcn10_plane_atomic_disable()
[all …]
Ddcn10_resource.c635 static void dcn10_dpp_destroy(struct dpp **dpp) in dcn10_dpp_destroy() argument
637 kfree(TO_DCN10_DPP(*dpp)); in dcn10_dpp_destroy()
638 *dpp = NULL; in dcn10_dpp_destroy()
641 static struct dpp *dcn10_dpp_create( in dcn10_dpp_create()
645 struct dcn10_dpp *dpp = in dcn10_dpp_create() local
648 if (!dpp) in dcn10_dpp_create()
651 dpp1_construct(dpp, ctx, inst, in dcn10_dpp_create()
653 return &dpp->base; in dcn10_dpp_create()
1174 idle_pipe->plane_res.dpp = pool->dpps[idle_pipe->pipe_idx]; in dcn10_acquire_idle_pipe_for_layer()
1388 dc->caps.color.dpp.dcn_arch = 1; in dcn10_resource_construct()
[all …]
Ddcn10_dpp.h30 #define TO_DCN10_DPP(dpp)\ argument
31 container_of(dpp, struct dcn10_dpp, base)
1345 struct dpp base;
1370 struct dpp *dpp_base,
1374 struct dpp *dpp_base,
1381 struct dpp *dpp_base,
1396 struct dpp *dpp_base,
1400 struct dpp *dpp_base,
1404 struct dpp *dpp_base,
1408 struct dpp *dpp_base,
[all …]
Ddcn10_hw_sequencer_debug.c342 struct dpp *dpp = pool->dpps[i]; in dcn10_get_cm_states() local
345 dpp->funcs->dpp_read_state(dpp, &s); in dcn10_get_cm_states()
352 dpp->inst, s.igam_input_format, in dcn10_get_cm_states()
Ddcn10_hw_sequencer.h188 struct dpp *dpp,
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn30/
Ddcn30_dpp_cm.c34 dpp->tf_regs->reg
37 dpp->base.ctx
41 dpp->tf_shift->field_name, dpp->tf_mask->field_name
44 struct dpp *dpp_base) in dpp3_enable_cm_block()
46 struct dcn3_dpp *dpp = TO_DCN30_DPP(dpp_base); in dpp3_enable_cm_block() local
57 static enum dc_lut_mode dpp30_get_gamcor_current(struct dpp *dpp_base) in dpp30_get_gamcor_current()
62 struct dcn3_dpp *dpp = TO_DCN30_DPP(dpp_base); in dpp30_get_gamcor_current() local
84 struct dpp *dpp_base, in dpp3_program_gammcor_lut()
90 struct dcn3_dpp *dpp = TO_DCN30_DPP(dpp_base); in dpp3_program_gammcor_lut() local
133 struct dpp *dpp_base, in dpp3_power_on_gamcor_lut()
[all …]
Ddcn30_dpp.c34 dpp->tf_regs->reg
37 dpp->base.ctx
41 dpp->tf_shift->field_name, dpp->tf_mask->field_name
44 void dpp30_read_state(struct dpp *dpp_base, in dpp30_read_state()
47 struct dcn20_dpp *dpp = TO_DCN20_DPP(dpp_base); in dpp30_read_state() local
56 struct dpp *dpp_base, in dpp3_program_post_csc()
61 struct dcn3_dpp *dpp = TO_DCN30_DPP(dpp_base); in dpp3_program_post_csc() local
101 gam_regs.shifts.csc_c11 = dpp->tf_shift->CM_POST_CSC_C11; in dpp3_program_post_csc()
102 gam_regs.masks.csc_c11 = dpp->tf_mask->CM_POST_CSC_C11; in dpp3_program_post_csc()
103 gam_regs.shifts.csc_c12 = dpp->tf_shift->CM_POST_CSC_C12; in dpp3_program_post_csc()
[all …]
Ddcn30_dpp.h30 #define TO_DCN30_DPP(dpp)\ argument
31 container_of(dpp, struct dcn3_dpp, base)
543 struct dpp base;
569 struct dpp *dpp_base, const struct pwl_params *params);
572 struct dpp *dpp_base,
576 struct dpp *dpp_base,
580 struct dpp *dpp_base,
584 struct dpp *dpp_base,
587 void dpp3_set_pre_degam(struct dpp *dpp_base,
591 struct dpp *dpp_base,
[all …]
Ddcn30_resource.c874 void dcn30_dpp_destroy(struct dpp **dpp) in dcn30_dpp_destroy() argument
876 kfree(TO_DCN20_DPP(*dpp)); in dcn30_dpp_destroy()
877 *dpp = NULL; in dcn30_dpp_destroy()
880 static struct dpp *dcn30_dpp_create( in dcn30_dpp_create()
884 struct dcn3_dpp *dpp = in dcn30_dpp_create() local
887 if (!dpp) in dcn30_dpp_create()
890 if (dpp3_construct(dpp, ctx, inst, in dcn30_dpp_create()
892 return &dpp->base; in dcn30_dpp_create()
895 kfree(dpp); in dcn30_dpp_create()
1867 sec_pipe->plane_res.dpp = pool->dpps[pipe_idx]; in dcn30_split_stream_for_mpc_or_odm()
[all …]
Ddcn30_hwseq.c72 struct dpp *dpp_base = pipe_ctx->plane_res.dpp; in dcn30_set_blend_lut()
93 struct dpp *dpp_base = pipe_ctx->plane_res.dpp; in dcn30_set_mpc_shaper_3dlut()
147 struct dpp *dpp_base = pipe_ctx->plane_res.dpp; in dcn30_set_input_transfer_func()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_dpp_cm.c37 dpp->tf_regs->reg
43 dpp->base.ctx
47 dpp->tf_shift->field_name, dpp->tf_mask->field_name
51 struct dpp *dpp_base) in dpp2_enable_cm_block()
53 struct dcn20_dpp *dpp = TO_DCN20_DPP(dpp_base); in dpp2_enable_cm_block() local
65 struct dpp *dpp_base, in dpp2_degamma_ram_inuse()
70 struct dcn20_dpp *dpp = TO_DCN20_DPP(dpp_base); in dpp2_degamma_ram_inuse() local
86 struct dpp *dpp_base, in dpp2_program_degamma_lut()
93 struct dcn20_dpp *dpp = TO_DCN20_DPP(dpp_base); in dpp2_program_degamma_lut() local
117 struct dpp *dpp_base, in dpp2_set_degamma_pwl()
[all …]
Ddcn20_dpp.c42 dpp->tf_regs->reg
45 dpp->base.ctx
49 dpp->tf_shift->field_name, dpp->tf_mask->field_name
51 void dpp20_read_state(struct dpp *dpp_base, in dpp20_read_state()
54 struct dcn20_dpp *dpp = TO_DCN20_DPP(dpp_base); in dpp20_read_state() local
76 struct dpp *dpp_base, in dpp2_power_on_obuf()
79 struct dcn20_dpp *dpp = TO_DCN20_DPP(dpp_base); in dpp2_power_on_obuf() local
91 struct dpp *dpp_base, in dpp2_dummy_program_input_lut()
96 struct dpp *dpp_base, in dpp2_cnv_setup()
103 struct dcn20_dpp *dpp = TO_DCN20_DPP(dpp_base); in dpp2_cnv_setup() local
[all …]
Ddcn20_hwseq.c570 struct dpp *dpp = pipe_ctx->plane_res.dpp; in dcn20_plane_atomic_disable() local
584 dpp->funcs->dpp_dppclk_control(dpp, false, false); in dcn20_plane_atomic_disable()
589 pipe_ctx->plane_res.dpp, in dcn20_plane_atomic_disable()
841 struct dpp *dpp_base = pipe_ctx->plane_res.dpp; in dcn20_set_blend_lut()
863 struct dpp *dpp_base = pipe_ctx->plane_res.dpp; in dcn20_set_shaper_3dlut()
894 struct dpp *dpp_base = pipe_ctx->plane_res.dpp; in dcn20_set_input_transfer_func()
1074 hws->funcs.dpp_pg_control(hws, pipe_ctx->plane_res.dpp->inst, true); in dcn20_power_on_plane()
1299 if (old_pipe->plane_res.dpp != new_pipe->plane_res.dpp in dcn20_detect_pipe_changes()
1377 struct dpp *dpp = pipe_ctx->plane_res.dpp; in dcn20_update_dchubp_dpp() local
1382 dpp->funcs->dpp_dppclk_control(dpp, false, true); in dcn20_update_dchubp_dpp()
[all …]
Ddcn20_dpp.h30 #define TO_DCN20_DPP(dpp)\ argument
31 container_of(dpp, struct dcn20_dpp, base)
681 struct dpp base;
711 void dpp20_read_state(struct dpp *dpp_base,
715 struct dpp *dpp_base,
719 struct dpp *dpp_base,
723 struct dpp *dpp_base,
727 struct dpp *dpp_base,
733 struct dpp *dpp_base, const struct pwl_params *params);
736 struct dpp *dpp_base,
[all …]
Ddcn20_resource.h72 void dcn20_dpp_destroy(struct dpp **dpp);
74 struct dpp *dcn20_dpp_create(
Ddcn20_resource.c1096 void dcn20_dpp_destroy(struct dpp **dpp) in dcn20_dpp_destroy() argument
1098 kfree(TO_DCN20_DPP(*dpp)); in dcn20_dpp_destroy()
1099 *dpp = NULL; in dcn20_dpp_destroy()
1102 struct dpp *dcn20_dpp_create( in dcn20_dpp_create()
1106 struct dcn20_dpp *dpp = in dcn20_dpp_create() local
1109 if (!dpp) in dcn20_dpp_create()
1112 if (dpp2_construct(dpp, ctx, inst, in dcn20_dpp_create()
1114 return &dpp->base; in dcn20_dpp_create()
1117 kfree(dpp); in dcn20_dpp_create()
1880 next_odm_pipe->plane_res.dpp = pool->dpps[next_odm_pipe->pipe_idx]; in dcn20_split_stream_for_odm()
[all …]
/kernel/linux/linux-5.10/arch/sparc/vdso/
Dvma.c250 struct page *dp, **dpp = NULL; in init_vdso_image() local
290 dpp = kcalloc(dnpages, sizeof(struct page *), GFP_KERNEL); in init_vdso_image()
291 vvar_mapping.pages = dpp; in init_vdso_image()
293 if (!dpp) in init_vdso_image()
300 dpp[0] = dp; in init_vdso_image()
318 if (dpp != NULL) { in init_vdso_image()
320 if (dpp[i] != NULL) in init_vdso_image()
321 __free_page(dpp[i]); in init_vdso_image()
323 kfree(dpp); in init_vdso_image()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn21/
Ddcn21_resource.c725 static struct dpp *dcn21_dpp_create( in dcn21_dpp_create()
729 struct dcn20_dpp *dpp = in dcn21_dpp_create() local
732 if (!dpp) in dcn21_dpp_create()
735 if (dpp2_construct(dpp, ctx, inst, in dcn21_dpp_create()
737 return &dpp->base; in dcn21_dpp_create()
740 kfree(dpp); in dcn21_dpp_create()
1837 dc->caps.color.dpp.dcn_arch = 1; in dcn21_resource_construct()
1838 dc->caps.color.dpp.input_lut_shared = 0; in dcn21_resource_construct()
1839 dc->caps.color.dpp.icsc = 1; in dcn21_resource_construct()
1840 dc->caps.color.dpp.dgam_ram = 1; in dcn21_resource_construct()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/inc/
Dhw_sequencer_private.h64 struct dpp;
110 struct dpp *dpp,
Dcore_types.h186 struct dpp *dpps[MAX_PIPES];
282 struct dpp *dpp; member
/kernel/linux/linux-5.10/arch/ia64/kernel/
Dunwind_decoder.c67 unw_decode_uleb128 (unsigned char **dpp) in unw_decode_uleb128() argument
71 unsigned char *bp = *dpp; in unw_decode_uleb128()
81 *dpp = bp; in unw_decode_uleb128()

12