Home
last modified time | relevance | path

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

12

/linux/drivers/gpu/drm/amd/display/dc/dpp/dcn201/
H A Ddcn201_dpp.c35 dpp->tf_regs->reg
38 dpp->base.ctx
42 dpp->tf_shift->field_name, dpp->tf_mask->field_name
45 struct dpp *dpp_base, in dpp201_cnv_setup()
52 struct dcn201_dpp *dpp = TO_DCN201_DPP(dpp_base); in dpp201_cnv_setup() local
191 struct dpp *dpp, in dpp201_get_optimal_number_of_taps() argument
198 dpp->caps->dscl_data_proc_format == DSCL_DATA_PRCESSING_FIXED_FORMAT && in dpp201_get_optimal_number_of_taps()
203 dpp->ctx->dc->debug.max_downscale_src_width != 0 && in dpp201_get_optimal_number_of_taps()
204 scl_data->viewport.width > dpp->ctx->dc->debug.max_downscale_src_width) in dpp201_get_optimal_number_of_taps()
251 if (!dpp->ctx->dc->debug.always_scale) { in dpp201_get_optimal_number_of_taps()
[all …]
H A Ddcn201_dpp.h30 #define TO_DCN201_DPP(dpp)\ argument
31 container_of(dpp, struct dcn201_dpp, base)
58 struct dpp base;
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn30/
H A Ddcn30_hwseq.c92 struct dpp *dpp = pool->dpps[i]; in dcn30_log_color_state() local
95 dpp->funcs->dpp_read_state(dpp, &s); in dcn30_log_color_state()
97 if (dpp->funcs->dpp_get_gamut_remap) { in dcn30_log_color_state()
98 dpp->funcs->dpp_get_gamut_remap(dpp, &s.gamut_remap); in dcn30_log_color_state()
106 dpp->inst, in dcn30_log_color_state()
161 dc->caps.color.dpp.input_lut_shared, in dcn30_log_color_state()
162 dc->caps.color.dpp in dcn30_log_color_state()
260 dcn30_set_mpc_shaper_3dlut(struct dpp * dpp,struct mpc * mpc,int mpcc_id,const struct dc_stream_state * stream) dcn30_set_mpc_shaper_3dlut() argument
360 struct dpp *dpp = params->dpp; dcn30_program_gamut_remap() local
401 struct dpp *dpp = otf_params->dpp; dcn30_set_output_transfer_func() local
1316 struct dpp *dpp = dc->res_pool->dpps[i]; dcn30_get_underflow_debug_data() local
[all...]
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn50/
H A Ddcn50_hwseq.c90 struct dpp *dpp = pipe_ctx->plane_res.dpp; in dcn50_update_dchubp_dpp() local
97 dpp->funcs->dpp_dppclk_control(dpp, false, true); in dcn50_update_dchubp_dpp()
100 dccg->funcs->update_dpp_dto(dccg, dpp->inst, pipe_ctx->plane_res.bw.dppclk_khz); in dcn50_update_dchubp_dpp()
151 dpp->funcs->dpp_setup(dpp, in dcn50_update_dchubp_dpp()
158 if (dpp->funcs->set_cursor_matrix) { in dcn50_update_dchubp_dpp()
159 dpp in dcn50_update_dchubp_dpp()
262 struct dpp *dpp = pipe_ctx->plane_res.dpp; dcn50_update_dchubp_dpp_sequence() local
[all...]
/linux/drivers/gpu/drm/amd/display/dc/core/
H A Ddc_surface.c161 struct dpp *dpp = pipe_ctx->plane_res.dpp; in dc_plane_get_status() local
163 if (dpp && dpp->funcs->dpp_cm_hist_read) in dc_plane_get_status()
164 dpp->funcs->dpp_cm_hist_read(dpp, &pipe_ctx->plane_state->status.cm_hist); in dc_plane_get_status()
/linux/drivers/gpu/drm/amd/display/dc/dpp/dcn35/
H A Ddcn35_dpp.h53 struct dpp *dpp_base,
62 void dpp35_set_fgcg(struct dcn3_dpp *dpp, bool enable);
64 void dpp35_program_bias_and_scale_fcnv(struct dpp *dpp_base,
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn303/
H A Ddcn303_resource.c637 static struct dpp *dcn303_dpp_create(struct dc_context *ctx, uint32_t inst) in dcn303_dpp_create()
639 struct dcn3_dpp *dpp = kzalloc_obj(struct dcn3_dpp); in dcn303_dpp_create() local
641 if (!dpp) in dcn303_dpp_create()
644 if (dpp3_construct(dpp, ctx, inst, &dpp_regs[inst], &tf_shift, &tf_mask)) in dcn303_dpp_create()
645 return &dpp->base; in dcn303_dpp_create()
648 kfree(dpp); in dcn303_dpp_create()
1333 dc->caps.color.dpp.dcn_arch = 1; in dcn303_resource_construct()
1334 dc->caps.color.dpp.input_lut_shared = 0; in dcn303_resource_construct()
1335 dc->caps.color.dpp.icsc = 1; in dcn303_resource_construct()
1336 dc->caps.color.dpp.dgam_ram = 0; // must use gamma_corr in dcn303_resource_construct()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn302/
H A Ddcn302_resource.c659 static struct dpp *dcn302_dpp_create(struct dc_context *ctx, uint32_t inst) in dcn302_dpp_create()
661 struct dcn3_dpp *dpp = kzalloc_obj(struct dcn3_dpp); in dcn302_dpp_create() local
663 if (!dpp) in dcn302_dpp_create()
666 if (dpp3_construct(dpp, ctx, inst, &dpp_regs[inst], &tf_shift, &tf_mask)) in dcn302_dpp_create()
667 return &dpp->base; in dcn302_dpp_create()
670 kfree(dpp); in dcn302_dpp_create()
1389 dc->caps.color.dpp.dcn_arch = 1; in dcn302_resource_construct()
1390 dc->caps.color.dpp.input_lut_shared = 0; in dcn302_resource_construct()
1391 dc->caps.color.dpp.icsc = 1; in dcn302_resource_construct()
1392 dc->caps.color.dpp.dgam_ram = 0; // must use gamma_corr in dcn302_resource_construct()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/dpp/dcn30/
H A Ddcn30_dpp.h30 #define TO_DCN30_DPP(dpp)\ argument
31 container_of(dpp, struct dcn3_dpp, base)
561 struct dpp base;
588 struct dpp *dpp_base, const struct pwl_params *params);
593 struct dpp *dpp_base);
596 struct dpp *dpp_base);
599 struct dpp *dpp_base,
605 struct dcn3_dpp *dpp,
609 struct dpp *dpp_base,
613 struct dpp *dpp_bas
[all...]
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn316/
H A Ddcn316_resource.c964 static void dcn31_dpp_destroy(struct dpp **dpp) in dcn31_dpp_destroy() argument
966 kfree(TO_DCN20_DPP(*dpp)); in dcn31_dpp_destroy()
967 *dpp = NULL; in dcn31_dpp_destroy()
970 static struct dpp *dcn31_dpp_create( in dcn31_dpp_create()
974 struct dcn3_dpp *dpp = in dcn31_dpp_create() local
977 if (!dpp) in dcn31_dpp_create()
980 if (dpp3_construct(dpp, ctx, inst, in dcn31_dpp_create()
982 return &dpp->base; in dcn31_dpp_create()
985 kfree(dpp); in dcn31_dpp_create()
1942 dc->caps.color.dpp.dcn_arch = 1; in dcn316_resource_construct()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn314/
H A Ddcn314_resource.c973 .dpp = true,
1007 static void dcn31_dpp_destroy(struct dpp **dpp) in dcn31_dpp_destroy() argument
1009 kfree(TO_DCN20_DPP(*dpp)); in dcn31_dpp_destroy()
1010 *dpp = NULL; in dcn31_dpp_destroy()
1013 static struct dpp *dcn31_dpp_create( in dcn31_dpp_create()
1017 struct dcn3_dpp *dpp = in dcn31_dpp_create() local
1020 if (!dpp) in dcn31_dpp_create()
1023 if (dpp3_construct(dpp, ctx, inst, in dcn31_dpp_create()
1025 return &dpp->base; in dcn31_dpp_create()
1028 kfree(dpp); in dcn31_dpp_create()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn36/
H A Ddcn36_resource.c791 .dpp = true,
843 static void dcn35_dpp_destroy(struct dpp **dpp) in dcn35_dpp_destroy() argument
845 kfree(TO_DCN20_DPP(*dpp)); in dcn35_dpp_destroy()
846 *dpp = NULL; in dcn35_dpp_destroy()
849 static struct dpp *dcn35_dpp_create(struct dc_context *ctx, uint32_t inst) in dcn35_dpp_create()
851 struct dcn3_dpp *dpp = kzalloc_obj(struct dcn3_dpp); in dcn35_dpp_create() local
852 bool success = (dpp != NULL); in dcn35_dpp_create()
864 success = dpp35_construct(dpp, ctx, inst, &dpp_regs[inst], &tf_shift, in dcn35_dpp_create()
868 dpp, in dcn35_dpp_create()
[all...]
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn35/
H A Ddcn35_resource.c804 .dpp = true,
856 static void dcn35_dpp_destroy(struct dpp **dpp) in dcn35_dpp_destroy() argument
858 kfree(TO_DCN20_DPP(*dpp)); in dcn35_dpp_destroy()
859 *dpp = NULL; in dcn35_dpp_destroy()
862 static struct dpp *dcn35_dpp_create(struct dc_context *ctx, uint32_t inst) in dcn35_dpp_create()
864 struct dcn3_dpp *dpp = kzalloc_obj(struct dcn3_dpp); in dcn35_dpp_create() local
865 bool success = (dpp != NULL); in dcn35_dpp_create()
877 success = dpp35_construct(dpp, ctx, inst, &dpp_regs[inst], &tf_shift, in dcn35_dpp_create()
881 dpp, in dcn35_dpp_create()
[all...]
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn351/
H A Ddcn351_resource.c784 .dpp = true,
836 static void dcn35_dpp_destroy(struct dpp **dpp) in dcn35_dpp_destroy() argument
838 kfree(TO_DCN20_DPP(*dpp)); in dcn35_dpp_destroy()
839 *dpp = NULL; in dcn35_dpp_destroy()
842 static struct dpp *dcn35_dpp_create(struct dc_context *ctx, uint32_t inst) in dcn35_dpp_create()
844 struct dcn3_dpp *dpp = kzalloc_obj(struct dcn3_dpp); in dcn35_dpp_create() local
845 bool success = (dpp != NULL); in dcn35_dpp_create()
857 success = dpp35_construct(dpp, ctx, inst, &dpp_regs[inst], &tf_shift, in dcn35_dpp_create()
861 dpp, in dcn35_dpp_create()
[all...]
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn315/
H A Ddcn315_resource.c971 static void dcn31_dpp_destroy(struct dpp **dpp) in dcn31_dpp_destroy() argument
973 kfree(TO_DCN20_DPP(*dpp)); in dcn31_dpp_destroy()
974 *dpp = NULL; in dcn31_dpp_destroy()
977 static struct dpp *dcn31_dpp_create( in dcn31_dpp_create()
981 struct dcn3_dpp *dpp = in dcn31_dpp_create() local
984 if (!dpp) in dcn31_dpp_create()
987 if (dpp3_construct(dpp, ctx, inst, in dcn31_dpp_create()
989 return &dpp->base; in dcn31_dpp_create()
992 kfree(dpp); in dcn31_dpp_create()
2068 dc->caps.color.dpp.dcn_arch = 1; in dcn315_resource_construct()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn31/
H A Ddcn31_resource.c972 static void dcn31_dpp_destroy(struct dpp **dpp) in dcn31_dpp_destroy() argument
974 kfree(TO_DCN20_DPP(*dpp)); in dcn31_dpp_destroy()
975 *dpp = NULL; in dcn31_dpp_destroy()
978 static struct dpp *dcn31_dpp_create( in dcn31_dpp_create()
982 struct dcn3_dpp *dpp = in dcn31_dpp_create() local
985 if (!dpp) in dcn31_dpp_create()
988 if (dpp3_construct(dpp, ctx, inst, in dcn31_dpp_create()
990 return &dpp->base; in dcn31_dpp_create()
993 kfree(dpp); in dcn31_dpp_create()
2096 dc->caps.color.dpp.dcn_arch = 1; in dcn31_resource_construct()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn30/
H A Ddcn30_resource.c790 static void dcn30_dpp_destroy(struct dpp **dpp) in dcn30_dpp_destroy() argument
792 kfree(TO_DCN20_DPP(*dpp)); in dcn30_dpp_destroy()
793 *dpp = NULL; in dcn30_dpp_destroy()
796 static struct dpp *dcn30_dpp_create( in dcn30_dpp_create()
800 struct dcn3_dpp *dpp = in dcn30_dpp_create() local
803 if (!dpp) in dcn30_dpp_create()
806 if (dpp3_construct(dpp, ctx, inst, in dcn30_dpp_create()
808 return &dpp->base; in dcn30_dpp_create()
811 kfree(dpp); in dcn30_dpp_create()
1698 sec_pipe->plane_res.dpp = pool->dpps[pipe_idx]; in dcn30_split_stream_for_mpc_or_odm()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn321/
H A Ddcn321_resource.c978 static void dcn321_dpp_destroy(struct dpp **dpp) in dcn321_dpp_destroy() argument
980 kfree(TO_DCN30_DPP(*dpp)); in dcn321_dpp_destroy()
981 *dpp = NULL; in dcn321_dpp_destroy()
984 static struct dpp *dcn321_dpp_create( in dcn321_dpp_create()
1911 dc->caps.color.dpp.dcn_arch = 1; in dcn321_resource_construct()
1912 dc->caps.color.dpp.input_lut_shared = 0; in dcn321_resource_construct()
1913 dc->caps.color.dpp.icsc = 1; in dcn321_resource_construct()
1914 dc->caps.color.dpp.dgam_ram = 0; // must use gamma_corr in dcn321_resource_construct()
1915 dc->caps.color.dpp.dgam_rom_caps.srgb = 1; in dcn321_resource_construct()
1916 dc->caps.color.dpp.dgam_rom_caps.bt2020 = 1; in dcn321_resource_construct()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn42/
H A Ddcn42_resource.c779 .dpp = true,
1027 static void dcn42_dpp_destroy(struct dpp **dpp) in dcn42_dpp_create()
1029 kfree(TO_DCN42_DPP(*dpp)); in dcn42_dpp_create()
1030 *dpp = NULL; in dcn42_dpp_create()
1033 static struct dpp *dcn42_dpp_create( in dcn42_dpp_create()
2095 dc->caps.color.dpp.dcn_arch = 1; in dcn42_resource_construct()
2096 dc->caps.color.dpp.input_lut_shared = 0; in dcn42_resource_construct()
2097 dc->caps.color.dpp.icsc = 1; in dcn42_resource_construct()
2098 dc->caps.color.dpp in dcn42_resource_construct()
1016 dcn42_dpp_destroy(struct dpp ** dpp) dcn42_dpp_destroy() argument
[all...]
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn60/
H A Ddcn60_resource.c1163 static void dcn60_dpp_destroy(struct dpp **dpp) in dcn60_dpp_destroy()
1165 kfree(TO_DCN60_DPP(*dpp)); in dcn60_dpp_create()
1166 *dpp = NULL; in dcn60_dpp_create()
1169 static struct dpp *dcn60_dpp_create( in dcn60_dpp_create()
2068 dc->caps.color.dpp.dcn_arch = 1; in dcn60_resource_construct()
2069 dc->caps.color.dpp.input_lut_shared = 0; in dcn60_resource_construct()
2070 dc->caps.color.dpp.icsc = 1; in dcn60_resource_construct()
2071 dc->caps.color.dpp.dgam_ram = 0; // must use gamma_corr in dcn60_resource_construct()
2072 dc->caps.color.dpp in dcn60_resource_construct()
1159 dcn60_dpp_destroy(struct dpp ** dpp) dcn60_dpp_destroy() argument
[all...]
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn401/
H A Ddcn401_resource.c995 static void dcn401_dpp_destroy(struct dpp **dpp) in dcn401_dpp_destroy() argument
997 kfree(TO_DCN401_DPP(*dpp)); in dcn401_dpp_destroy()
998 *dpp = NULL; in dcn401_dpp_destroy()
1001 static struct dpp *dcn401_dpp_create( in dcn401_dpp_create()
2117 dc->caps.color.dpp.dcn_arch = 1; in dcn401_resource_construct()
2118 dc->caps.color.dpp.input_lut_shared = 0; in dcn401_resource_construct()
2119 dc->caps.color.dpp.icsc = 1; in dcn401_resource_construct()
2120 dc->caps.color.dpp.dgam_ram = 0; // must use gamma_corr in dcn401_resource_construct()
2121 dc->caps.color.dpp in dcn401_resource_construct()
[all...]
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn42b/
H A Ddcn42b_resource.c837 .dpp = true,
1091 static void dcn42b_dpp_destroy(struct dpp **dpp) in dcn42b_dpp_create()
1093 kfree(TO_DCN42_DPP(*dpp)); in dcn42b_dpp_create()
1094 *dpp = NULL; in dcn42b_dpp_create()
1097 static struct dpp *dcn42b_dpp_create( in dcn42b_dpp_create()
2062 dc->caps.color.dpp.dcn_arch = 1; in dcn42b_resource_construct()
2063 dc->caps.color.dpp.input_lut_shared = 0; in dcn42b_resource_construct()
2064 dc->caps.color.dpp.icsc = 1; in dcn42b_resource_construct()
2065 dc->caps.color.dpp in dcn42b_resource_construct()
1075 dcn42b_dpp_destroy(struct dpp ** dpp) dcn42b_dpp_destroy() argument
[all...]
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn60/
H A Ddcn60_hwseq.c58 struct dpp *dpp_base = params->dpp; in dcn60_build_audio_output()
917 pipe_ctx->plane_res.dpp->funcs->set_cursor_attributes( in dcn60_build_hubbub_perfmon_sequence()
918 pipe_ctx->plane_res.dpp, attributes); in dcn60_build_hubbub_perfmon_sequence()
922 uint8_t pipe_idx, const struct dpp *dpp, const struct hubp *hubp) in dcn60_build_hubbub_perfmon_sequence()
948 p->CM_CUR0_CURSOR0_CONTROL__CUR0_ENABLE = dpp->att.cur0_ctl.bits.cur0_enable; in dcn60_build_hubbub_perfmon_sequence()
949 p->CM_CUR0_CURSOR0_CONTROL__CUR0_MODE = dpp->att.cur0_ctl.bits.mode; in dcn60_build_hubbub_perfmon_sequence()
950 p->CM_CUR0_CURSOR0_CONTROL__CUR0_EXPANSION_MODE = dpp->att.cur0_ctl.bits.expansion_mode; in dcn60_build_hubbub_perfmon_sequence()
951 p->CM_CUR0_CURSOR0_CONTROL__CUR0_ROM_EN = dpp in dcn60_build_hubbub_perfmon_sequence()
789 const struct dpp *dpp = pipe->plane_res.dpp; dcn60_update_cursor_offload_pipe() local
[all...]
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn32/
H A Ddcn32_resource.c990 static void dcn32_dpp_destroy(struct dpp **dpp) in dcn32_dpp_destroy() argument
992 kfree(TO_DCN30_DPP(*dpp)); in dcn32_dpp_destroy()
993 *dpp = NULL; in dcn32_dpp_destroy()
996 static struct dpp *dcn32_dpp_create( in dcn32_dpp_create()
2433 dc->caps.color.dpp.dcn_arch = 1; in dcn32_resource_construct()
2434 dc->caps.color.dpp.input_lut_shared = 0; in dcn32_resource_construct()
2435 dc->caps.color.dpp.icsc = 1; in dcn32_resource_construct()
2436 dc->caps.color.dpp.dgam_ram = 0; // must use gamma_corr in dcn32_resource_construct()
2437 dc->caps.color.dpp in dcn32_resource_construct()
[all...]
/linux/fs/xfs/libxfs/
H A Dxfs_dquot_buf.c466 struct xfs_inode **dpp) in xfs_dqinode_metadir_link()
473 return xfs_metadir_mkdir(mp->m_metadirip, "quota", dpp);
484 struct xfs_inode **dpp) in xfs_dqinode_mkdir_parent()
494 dpp); in xfs_dqinode_load_parent()
477 xfs_dqinode_mkdir_parent(struct xfs_mount * mp,struct xfs_inode ** dpp) xfs_dqinode_mkdir_parent() argument
495 xfs_dqinode_load_parent(struct xfs_trans * tp,struct xfs_inode ** dpp) xfs_dqinode_load_parent() argument

12