Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpu/drm/amd/display/dc/inc/hw/
H A Dtransform.h183 void (*transform_reset)(struct transform *xfm);
189 struct transform *xfm,
194 struct transform *xfm,
199 struct transform *xfm,
203 struct transform *xfm,
207 struct transform *xfm,
211 struct transform *xfm,
215 struct transform *xfm,
220 struct transform *xfm,
224 struct transform *xfm,
[all …]
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dce110/
H A Ddce110_transform_v.h38 struct transform *xfm,
42 struct transform *xfm,
47 struct transform *xfm,
51 struct transform *xfm,
55 struct transform *xfm,
H A Ddce110_opp_regamma_v.c34 static void power_on_lut(struct transform *xfm, in power_on_lut() argument
37 uint32_t value = dm_read_reg(xfm->ctx, mmDCFEV_MEM_PWR_CTRL); in power_on_lut()
68 dm_write_reg(xfm->ctx, mmDCFEV_MEM_PWR_CTRL, value); in power_on_lut()
71 value = dm_read_reg(xfm->ctx, mmDCFEV_MEM_PWR_CTRL); in power_on_lut()
494 struct transform *xfm, in dce110_opp_program_regamma_pwl_v() argument
497 struct dce_transform *xfm_dce = TO_DCE_TRANSFORM(xfm); in dce110_opp_program_regamma_pwl_v()
505 power_on_lut(xfm, true, false, true); in dce110_opp_program_regamma_pwl_v()
514 power_on_lut(xfm, false, false, true); in dce110_opp_program_regamma_pwl_v()
518 struct transform *xfm, in dce110_opp_power_on_regamma_lut_v() argument
547 dm_write_reg(xfm->ctx, mmDCFEV_MEM_PWR_CTRL, value); in dce110_opp_power_on_regamma_lut_v()
[all …]
H A Ddce110_opp_csc_v.c462 static void set_Denormalization(struct transform *xfm, in set_Denormalization() argument
465 uint32_t value = dm_read_reg(xfm->ctx, mmDENORM_CLAMP_CONTROL); in set_Denormalization()
503 dm_write_reg(xfm->ctx, mmDENORM_CLAMP_CONTROL, value); in set_Denormalization()
532 struct transform *xfm, enum dc_color_space color_space) in program_input_csc() argument
535 struct dc_context *ctx = xfm->ctx; in program_input_csc()
672 struct transform *xfm, in dce110_opp_v_set_csc_default() argument
675 struct dce_transform *xfm_dce = TO_DCE_TRANSFORM(xfm); in dce110_opp_v_set_csc_default()
705 program_input_csc(xfm, default_adjust->in_color_space); in dce110_opp_v_set_csc_default()
717 set_Denormalization(xfm, default_adjust->color_depth); in dce110_opp_v_set_csc_default()
721 struct transform *xfm, in dce110_opp_v_set_csc_adjustment() argument
[all …]
H A Ddce110_transform_v.c34 xfm->ctx->logger
505 struct dce_transform *xfm_dce = TO_DCE_TRANSFORM(xfm); in dce110_xfmv_power_up_line_buffer()
522 struct transform *xfm, in dce110_xfmv_set_scaler() argument
525 struct dce_transform *xfm_dce = TO_DCE_TRANSFORM(xfm); in dce110_xfmv_set_scaler()
532 dce110_xfmv_power_up_line_buffer(xfm); in dce110_xfmv_set_scaler()
608 static void dce110_xfmv_reset(struct transform *xfm) in dce110_xfmv_reset() argument
610 struct dce_transform *xfm_dce = TO_DCE_TRANSFORM(xfm); in dce110_xfmv_reset()
619 struct transform *xfm, in dce110_xfmv_set_gamut_remap() argument
626 struct transform *xfm, in dce110_xfmv_set_pixel_storage_depth() argument
630 struct dce_transform *xfm_dce = TO_DCE_TRANSFORM(xfm); in dce110_xfmv_set_pixel_storage_depth()
[all …]
H A Ddce110_hw_sequencer.c609 struct transform *xfm = pipe_ctx->plane_res.xfm; in dce110_set_output_transfer_func() local
611 xfm->funcs->opp_power_on_regamma_lut(xfm, true); in dce110_set_output_transfer_func()
617 xfm->funcs->opp_set_regamma_mode(xfm, OPP_REGAMMA_SRGB); in dce110_set_output_transfer_func()
620 xfm->funcs->opp_program_regamma_pwl(xfm, &xfm->regamma_params); in dce110_set_output_transfer_func()
621 xfm->funcs->opp_set_regamma_mode(xfm, OPP_REGAMMA_USER); in dce110_set_output_transfer_func()
623 xfm->funcs->opp_set_regamma_mode(xfm, OPP_REGAMMA_BYPASS); in dce110_set_output_transfer_func()
626 xfm->funcs->opp_power_on_regamma_lut(xfm, false); in dce110_set_output_transfer_func()
1390 pipe_ctx->plane_res.xfm, in program_scaler()
1408 pipe_ctx->plane_res.xfm->funcs->transform_set_scaler(pipe_ctx->plane_res.xfm, in program_scaler()
2587 struct transform *xfm; in init_hw() local
[all …]
H A Ddce110_resource.c620 static void dce110_transform_destroy(struct transform **xfm) in dce110_transform_destroy() argument
622 kfree(TO_DCE_TRANSFORM(*xfm)); in dce110_transform_destroy()
623 *xfm = NULL; in dce110_transform_destroy()
1140 pipe_ctx->plane_res.xfm = pool->transforms[underlay_idx]; in dce110_acquire_underlay()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dce60/
H A Ddce60_hw_sequencer.c160 pipe_ctx->plane_res.xfm->funcs->opp_set_csc_default( in dce60_set_default_colors()
161 pipe_ctx->plane_res.xfm, &default_adjust); in dce60_set_default_colors()
246 pipe_ctx->plane_res.xfm->funcs->transform_set_pixel_storage_depth( in dce60_program_scaler()
247 pipe_ctx->plane_res.xfm, in dce60_program_scaler()
265 pipe_ctx->plane_res.xfm->funcs->transform_set_scaler(pipe_ctx->plane_res.xfm, in dce60_program_scaler()
298 pipe_ctx->plane_res.xfm->funcs->opp_set_csc_adjustment in dce60_program_front_end_for_pipe()
299 (pipe_ctx->plane_res.xfm, &tbl_entry); in dce60_program_front_end_for_pipe()
310 pipe_ctx->plane_res.xfm->funcs->transform_set_gamut_remap(pipe_ctx->plane_res.xfm, &adjust); in dce60_program_front_end_for_pipe()
H A Ddce60_resource.c683 static void dce60_transform_destroy(struct transform **xfm) in dce60_transform_destroy() argument
685 kfree(TO_DCE_TRANSFORM(*xfm)); in dce60_transform_destroy()
686 *xfm = NULL; in dce60_transform_destroy()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dce/
H A Ddce_transform.c409 struct transform *xfm, in dce_transform_set_scaler() argument
412 struct dce_transform *xfm_dce = TO_DCE_TRANSFORM(xfm); in dce_transform_set_scaler()
491 struct transform *xfm, in dce60_transform_set_scaler() argument
494 struct dce_transform *xfm_dce = TO_DCE_TRANSFORM(xfm); in dce60_transform_set_scaler()
979 struct transform *xfm, in dce_transform_set_pixel_storage_depth() argument
1032 struct transform *xfm, in dce60_transform_set_pixel_storage_depth() argument
1118 struct transform *xfm, in dce_transform_set_gamut_remap() argument
1164 struct transform *xfm, in dce_transform_get_optimal_number_of_taps() argument
1225 static void dce_transform_reset(struct transform *xfm) in dce_transform_reset() argument
1349 struct transform *xfm, in dce110_opp_set_csc_adjustment() argument
[all …]
H A Ddce_transform.h671 struct transform *xfm,
676 struct transform *xfm,
680 struct transform *xfm,
685 struct transform *xfm,
689 struct transform *xfm,
692 void dce110_opp_set_regamma_mode(struct transform *xfm,
/openbmc/linux/fs/xfs/
H A Dxfs_fsmap.c238 struct xfs_fsmap *xfm, in xfs_getfsmap_format() argument
243 trace_xfs_getfsmap_mapping(mp, xfm); in xfs_getfsmap_format()
246 xfs_fsmap_from_internal(rec, xfm); in xfs_getfsmap_format()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dce100/
H A Ddce100_resource.c575 static void dce100_transform_destroy(struct transform **xfm) in dce100_transform_destroy() argument
577 kfree(TO_DCE_TRANSFORM(*xfm)); in dce100_transform_destroy()
578 *xfm = NULL; in dce100_transform_destroy()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dce120/
H A Ddce120_resource.c590 static void dce120_transform_destroy(struct transform **xfm) in dce120_transform_destroy() argument
592 kfree(TO_DCE_TRANSFORM(*xfm)); in dce120_transform_destroy()
593 *xfm = NULL; in dce120_transform_destroy()
/openbmc/linux/fs/ext4/
H A Dioctl.c858 static int ext4_getfsmap_format(struct ext4_fsmap *xfm, void *priv) in ext4_getfsmap_format() argument
863 trace_ext4_getfsmap_mapping(info->gi_sb, xfm); in ext4_getfsmap_format()
865 info->gi_last_flags = xfm->fmr_flags; in ext4_getfsmap_format()
866 ext4_fsmap_from_internal(info->gi_sb, &fm, xfm); in ext4_getfsmap_format()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dce80/
H A Ddce80_resource.c690 static void dce80_transform_destroy(struct transform **xfm) in dce80_transform_destroy() argument
692 kfree(TO_DCE_TRANSFORM(*xfm)); in dce80_transform_destroy()
693 *xfm = NULL; in dce80_transform_destroy()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dce112/
H A Ddce112_resource.c591 static void dce112_transform_destroy(struct transform **xfm) in dce112_transform_destroy() argument
593 kfree(TO_DCE_TRANSFORM(*xfm)); in dce112_transform_destroy()
594 *xfm = NULL; in dce112_transform_destroy()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/core/
H A Ddc_resource.c1453 if (pipe_ctx->plane_res.xfm != NULL) in resource_build_scaling_params()
1454 res = pipe_ctx->plane_res.xfm->funcs->transform_get_optimal_number_of_taps( in resource_build_scaling_params()
1455 pipe_ctx->plane_res.xfm, &pipe_ctx->plane_res.scl_data, &plane_state->scaling_quality); in resource_build_scaling_params()
1466 if (pipe_ctx->plane_res.xfm != NULL) in resource_build_scaling_params()
1467 res = pipe_ctx->plane_res.xfm->funcs->transform_get_optimal_number_of_taps( in resource_build_scaling_params()
1468 pipe_ctx->plane_res.xfm, in resource_build_scaling_params()
2343 pipe_ctx->plane_res.xfm = pool->transforms[i]; in acquire_first_free_pipe()
2655 pipe_ctx->plane_res.xfm = pool->transforms[id_src[i]]; in acquire_resource_from_hw_enabled_state()
4287 sec_pipe->plane_res.xfm = pool->transforms[pipe_idx]; in dc_resource_acquire_secondary_pipe_for_mpc_odm()
H A Ddc_stream.c415 (!pipe_ctx->plane_res.xfm && !pipe_ctx->plane_res.dpp) || in program_cursor_position()
H A Ddc.c724 if (pipes->plane_res.xfm && in dc_stream_set_dither_option()
725 pipes->plane_res.xfm->funcs->transform_set_pixel_storage_depth) { in dc_stream_set_dither_option()
726 pipes->plane_res.xfm->funcs->transform_set_pixel_storage_depth( in dc_stream_set_dither_option()
727 pipes->plane_res.xfm, in dc_stream_set_dither_option()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/inc/
H A Dcore_types.h322 struct transform *xfm; member
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn20/
H A Ddcn20_resource.c1477 next_odm_pipe->plane_res.xfm = pool->transforms[next_odm_pipe->pipe_idx]; in dcn20_split_stream_for_odm()
1562 secondary_pipe->plane_res.xfm = pool->transforms[secondary_pipe->pipe_idx]; in dcn20_split_stream_for_mpc()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn30/
H A Ddcn30_resource.c1537 sec_pipe->plane_res.xfm = pool->transforms[pipe_idx]; in dcn30_split_stream_for_mpc_or_odm()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/calcs/
H A Ddcn_calcs.c539 secondary_pipe->plane_res.xfm = pool->transforms[secondary_pipe->pipe_idx]; in split_stream_across_pipes()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/dcn32/
H A Ddcn32_fpu.c1591 sec_pipe->plane_res.xfm = pool->transforms[pipe_idx]; in dcn32_split_stream_for_mpc_or_odm()