/linux-6.1.9/drivers/gpu/drm/amd/display/dc/inc/hw/ |
D | transform.h | 183 void (*transform_reset)(struct transform *xfm); 185 void (*transform_set_scaler)(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, [all …]
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dce110/ |
D | dce110_transform_v.h | 38 struct transform *xfm, 42 struct transform *xfm, 47 struct transform *xfm, 51 struct transform *xfm, 55 struct transform *xfm,
|
D | dce110_opp_regamma_v.c | 34 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 521 uint32_t value = dm_read_reg(xfm->ctx, mmDCFEV_MEM_PWR_CTRL); in dce110_opp_power_on_regamma_lut_v() [all …]
|
D | dce110_opp_csc_v.c | 462 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 …]
|
D | dce110_transform_v.c | 34 xfm->ctx->logger 503 static bool dce110_xfmv_power_up_line_buffer(struct transform *xfm) in dce110_xfmv_power_up_line_buffer() argument 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 [all …]
|
D | dce110_hw_sequencer.c | 614 struct transform *xfm = pipe_ctx->plane_res.xfm; in dce110_set_output_transfer_func() local 616 xfm->funcs->opp_power_on_regamma_lut(xfm, true); in dce110_set_output_transfer_func() 617 xfm->regamma_params.hw_points_num = GAMMA_HW_POINTS_NUM; in dce110_set_output_transfer_func() 622 xfm->funcs->opp_set_regamma_mode(xfm, OPP_REGAMMA_SRGB); in dce110_set_output_transfer_func() 624 &xfm->regamma_params)) { in dce110_set_output_transfer_func() 625 xfm->funcs->opp_program_regamma_pwl(xfm, &xfm->regamma_params); in dce110_set_output_transfer_func() 626 xfm->funcs->opp_set_regamma_mode(xfm, OPP_REGAMMA_USER); in dce110_set_output_transfer_func() 628 xfm->funcs->opp_set_regamma_mode(xfm, OPP_REGAMMA_BYPASS); in dce110_set_output_transfer_func() 631 xfm->funcs->opp_power_on_regamma_lut(xfm, false); in dce110_set_output_transfer_func() 1382 if (pipe_ctx->plane_res.xfm->funcs->transform_set_pixel_storage_depth == NULL) in program_scaler() [all …]
|
D | dce110_resource.c | 619 static void dce110_transform_destroy(struct transform **xfm) in dce110_transform_destroy() argument 621 kfree(TO_DCE_TRANSFORM(*xfm)); in dce110_transform_destroy() 622 *xfm = NULL; in dce110_transform_destroy() 1137 pipe_ctx->plane_res.xfm = pool->transforms[underlay_idx]; in dce110_acquire_underlay()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dce60/ |
D | dce60_hw_sequencer.c | 160 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()
|
D | dce60_resource.c | 683 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()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dce/ |
D | dce_transform.c | 409 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 983 struct dce_transform *xfm_dce = TO_DCE_TRANSFORM(xfm); in dce_transform_set_pixel_storage_depth() 1033 struct transform *xfm, in dce60_transform_set_pixel_storage_depth() argument 1037 struct dce_transform *xfm_dce = TO_DCE_TRANSFORM(xfm); in dce60_transform_set_pixel_storage_depth() 1119 struct transform *xfm, in dce_transform_set_gamut_remap() argument 1122 struct dce_transform *xfm_dce = TO_DCE_TRANSFORM(xfm); in dce_transform_set_gamut_remap() [all …]
|
D | dce_transform.h | 671 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,
|
/linux-6.1.9/fs/xfs/ |
D | xfs_fsmap.c | 229 struct xfs_fsmap *xfm, in xfs_getfsmap_format() argument 234 trace_xfs_getfsmap_mapping(mp, xfm); in xfs_getfsmap_format() 237 xfs_fsmap_from_internal(rec, xfm); in xfs_getfsmap_format()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dce100/ |
D | dce100_resource.c | 571 static void dce100_transform_destroy(struct transform **xfm) in dce100_transform_destroy() argument 573 kfree(TO_DCE_TRANSFORM(*xfm)); in dce100_transform_destroy() 574 *xfm = NULL; in dce100_transform_destroy()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dce120/ |
D | dce120_resource.c | 589 static void dce120_transform_destroy(struct transform **xfm) in dce120_transform_destroy() argument 591 kfree(TO_DCE_TRANSFORM(*xfm)); in dce120_transform_destroy() 592 *xfm = NULL; in dce120_transform_destroy()
|
/linux-6.1.9/fs/ext4/ |
D | ioctl.c | 850 static int ext4_getfsmap_format(struct ext4_fsmap *xfm, void *priv) in ext4_getfsmap_format() argument 855 trace_ext4_getfsmap_mapping(info->gi_sb, xfm); in ext4_getfsmap_format() 857 info->gi_last_flags = xfm->fmr_flags; in ext4_getfsmap_format() 858 ext4_fsmap_from_internal(info->gi_sb, &fm, xfm); in ext4_getfsmap_format()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/core/ |
D | dc_resource.c | 1180 if (pipe_ctx->plane_res.xfm != NULL) in resource_build_scaling_params() 1181 res = pipe_ctx->plane_res.xfm->funcs->transform_get_optimal_number_of_taps( in resource_build_scaling_params() 1182 pipe_ctx->plane_res.xfm, &pipe_ctx->plane_res.scl_data, &plane_state->scaling_quality); in resource_build_scaling_params() 1193 if (pipe_ctx->plane_res.xfm != NULL) in resource_build_scaling_params() 1194 res = pipe_ctx->plane_res.xfm->funcs->transform_get_optimal_number_of_taps( in resource_build_scaling_params() 1195 pipe_ctx->plane_res.xfm, in resource_build_scaling_params() 2079 pipe_ctx->plane_res.xfm = pool->transforms[i]; in acquire_first_free_pipe() 2388 pipe_ctx->plane_res.xfm = pool->transforms[id_src[i]]; in acquire_resource_from_hw_enabled_state() 3714 sec_pipe->plane_res.xfm = pool->transforms[pipe_idx]; in dc_resource_acquire_secondary_pipe_for_mpc_odm()
|
D | dc_stream.c | 377 (!pipe_ctx->plane_res.xfm && !pipe_ctx->plane_res.dpp) || in program_cursor_position()
|
D | dc.c | 728 if (pipes->plane_res.xfm && in dc_stream_set_dither_option() 729 pipes->plane_res.xfm->funcs->transform_set_pixel_storage_depth) { in dc_stream_set_dither_option() 730 pipes->plane_res.xfm->funcs->transform_set_pixel_storage_depth( in dc_stream_set_dither_option() 731 pipes->plane_res.xfm, in dc_stream_set_dither_option()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dce112/ |
D | dce112_resource.c | 587 static void dce112_transform_destroy(struct transform **xfm) in dce112_transform_destroy() argument 589 kfree(TO_DCE_TRANSFORM(*xfm)); in dce112_transform_destroy() 590 *xfm = NULL; in dce112_transform_destroy()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dce80/ |
D | dce80_resource.c | 686 static void dce80_transform_destroy(struct transform **xfm) in dce80_transform_destroy() argument 688 kfree(TO_DCE_TRANSFORM(*xfm)); in dce80_transform_destroy() 689 *xfm = NULL; in dce80_transform_destroy()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/inc/ |
D | core_types.h | 361 struct transform *xfm; member
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn20/ |
D | dcn20_resource.c | 1472 next_odm_pipe->plane_res.xfm = pool->transforms[next_odm_pipe->pipe_idx]; in dcn20_split_stream_for_odm() 1557 secondary_pipe->plane_res.xfm = pool->transforms[secondary_pipe->pipe_idx]; in dcn20_split_stream_for_mpc()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn30/ |
D | dcn30_resource.c | 1550 sec_pipe->plane_res.xfm = pool->transforms[pipe_idx]; in dcn30_split_stream_for_mpc_or_odm()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/calcs/ |
D | dcn_calcs.c | 539 secondary_pipe->plane_res.xfm = pool->transforms[secondary_pipe->pipe_idx]; in split_stream_across_pipes()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn32/ |
D | dcn32_fpu.c | 1421 sec_pipe->plane_res.xfm = pool->transforms[pipe_idx]; in dcn32_split_stream_for_mpc_or_odm()
|