/drivers/gpu/drm/amd/display/dc/inc/hw/ |
D | transform.h | 187 void (*transform_reset)(struct transform *xfm); 189 void (*transform_set_scaler)(struct transform *xfm, 193 struct transform *xfm, 198 struct transform *xfm, 203 struct transform *xfm, 207 struct transform *xfm, 211 struct transform *xfm, 215 struct transform *xfm, 219 struct transform *xfm, 224 struct transform *xfm, [all …]
|
/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 | 36 static void power_on_lut(struct transform *xfm, in power_on_lut() argument 39 uint32_t value = dm_read_reg(xfm->ctx, mmDCFEV_MEM_PWR_CTRL); in power_on_lut() 70 dm_write_reg(xfm->ctx, mmDCFEV_MEM_PWR_CTRL, value); in power_on_lut() 73 value = dm_read_reg(xfm->ctx, mmDCFEV_MEM_PWR_CTRL); in power_on_lut() 496 struct transform *xfm, in dce110_opp_program_regamma_pwl_v() argument 499 struct dce_transform *xfm_dce = TO_DCE_TRANSFORM(xfm); in dce110_opp_program_regamma_pwl_v() 507 power_on_lut(xfm, true, false, true); in dce110_opp_program_regamma_pwl_v() 516 power_on_lut(xfm, false, false, true); in dce110_opp_program_regamma_pwl_v() 520 struct transform *xfm, in dce110_opp_power_on_regamma_lut_v() argument 523 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 | 36 xfm->ctx->logger 506 static bool dce110_xfmv_power_up_line_buffer(struct transform *xfm) in dce110_xfmv_power_up_line_buffer() argument 508 struct dce_transform *xfm_dce = TO_DCE_TRANSFORM(xfm); in dce110_xfmv_power_up_line_buffer() 525 struct transform *xfm, in dce110_xfmv_set_scaler() argument 528 struct dce_transform *xfm_dce = TO_DCE_TRANSFORM(xfm); in dce110_xfmv_set_scaler() 535 dce110_xfmv_power_up_line_buffer(xfm); in dce110_xfmv_set_scaler() 611 static void dce110_xfmv_reset(struct transform *xfm) in dce110_xfmv_reset() argument 613 struct dce_transform *xfm_dce = TO_DCE_TRANSFORM(xfm); in dce110_xfmv_reset() 622 struct transform *xfm, in dce110_xfmv_set_gamut_remap() argument 629 struct transform *xfm, in dce110_xfmv_set_pixel_storage_depth() argument [all …]
|
D | dce110_hw_sequencer.c | 607 struct transform *xfm = pipe_ctx->plane_res.xfm; in dce110_set_output_transfer_func() local 609 xfm->funcs->opp_power_on_regamma_lut(xfm, true); in dce110_set_output_transfer_func() 610 xfm->regamma_params.hw_points_num = GAMMA_HW_POINTS_NUM; in dce110_set_output_transfer_func() 615 xfm->funcs->opp_set_regamma_mode(xfm, OPP_REGAMMA_SRGB); in dce110_set_output_transfer_func() 617 &xfm->regamma_params)) { in dce110_set_output_transfer_func() 618 xfm->funcs->opp_program_regamma_pwl(xfm, &xfm->regamma_params); in dce110_set_output_transfer_func() 619 xfm->funcs->opp_set_regamma_mode(xfm, OPP_REGAMMA_USER); in dce110_set_output_transfer_func() 621 xfm->funcs->opp_set_regamma_mode(xfm, OPP_REGAMMA_BYPASS); in dce110_set_output_transfer_func() 624 xfm->funcs->opp_power_on_regamma_lut(xfm, false); in dce110_set_output_transfer_func() 1309 if (pipe_ctx->plane_res.xfm->funcs->transform_set_pixel_storage_depth == NULL) in program_scaler() [all …]
|
D | dce110_resource.c | 628 static void dce110_transform_destroy(struct transform **xfm) in dce110_transform_destroy() argument 630 kfree(TO_DCE_TRANSFORM(*xfm)); in dce110_transform_destroy() 631 *xfm = NULL; in dce110_transform_destroy() 1145 pipe_ctx->plane_res.xfm = pool->transforms[underlay_idx]; in dce110_acquire_underlay()
|
/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() 981 struct transform *xfm, in dce_transform_set_pixel_storage_depth() argument 985 struct dce_transform *xfm_dce = TO_DCE_TRANSFORM(xfm); in dce_transform_set_pixel_storage_depth() 1034 struct transform *xfm, in dce60_transform_set_pixel_storage_depth() argument 1038 struct dce_transform *xfm_dce = TO_DCE_TRANSFORM(xfm); in dce60_transform_set_pixel_storage_depth() 1131 struct transform *xfm, in dce_transform_set_gamut_remap() argument 1134 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,
|
/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 | 688 static void dce60_transform_destroy(struct transform **xfm) in dce60_transform_destroy() argument 690 kfree(TO_DCE_TRANSFORM(*xfm)); in dce60_transform_destroy() 691 *xfm = NULL; in dce60_transform_destroy()
|
/drivers/gpu/drm/amd/display/dc/dce100/ |
D | dce100_resource.c | 578 static void dce100_transform_destroy(struct transform **xfm) in dce100_transform_destroy() argument 580 kfree(TO_DCE_TRANSFORM(*xfm)); in dce100_transform_destroy() 581 *xfm = NULL; in dce100_transform_destroy()
|
/drivers/gpu/drm/amd/display/dc/core/ |
D | dc_resource.c | 1176 if (pipe_ctx->plane_res.xfm != NULL) in resource_build_scaling_params() 1177 res = pipe_ctx->plane_res.xfm->funcs->transform_get_optimal_number_of_taps( in resource_build_scaling_params() 1178 pipe_ctx->plane_res.xfm, &pipe_ctx->plane_res.scl_data, &plane_state->scaling_quality); in resource_build_scaling_params() 1189 if (pipe_ctx->plane_res.xfm != NULL) in resource_build_scaling_params() 1190 res = pipe_ctx->plane_res.xfm->funcs->transform_get_optimal_number_of_taps( in resource_build_scaling_params() 1191 pipe_ctx->plane_res.xfm, in resource_build_scaling_params() 1782 pipe_ctx->plane_res.xfm = pool->transforms[i]; in acquire_first_free_pipe() 2038 pipe_ctx->plane_res.xfm = pool->transforms[tg_inst]; in acquire_resource_from_hw_enabled_state()
|
D | dc_stream.c | 375 (!pipe_ctx->plane_res.xfm && !pipe_ctx->plane_res.dpp) || in dc_stream_set_cursor_position()
|
D | dc.c | 471 if (pipes->plane_res.xfm && in dc_stream_set_dither_option() 472 pipes->plane_res.xfm->funcs->transform_set_pixel_storage_depth) { in dc_stream_set_dither_option() 473 pipes->plane_res.xfm->funcs->transform_set_pixel_storage_depth( in dc_stream_set_dither_option() 474 pipes->plane_res.xfm, in dc_stream_set_dither_option()
|
/drivers/gpu/drm/amd/display/dc/dce120/ |
D | dce120_resource.c | 598 static void dce120_transform_destroy(struct transform **xfm) in dce120_transform_destroy() argument 600 kfree(TO_DCE_TRANSFORM(*xfm)); in dce120_transform_destroy() 601 *xfm = NULL; in dce120_transform_destroy()
|
/drivers/gpu/drm/amd/display/dc/inc/ |
D | core_types.h | 281 struct transform *xfm; member
|
/drivers/gpu/drm/amd/display/dc/dce80/ |
D | dce80_resource.c | 693 static void dce80_transform_destroy(struct transform **xfm) in dce80_transform_destroy() argument 695 kfree(TO_DCE_TRANSFORM(*xfm)); in dce80_transform_destroy() 696 *xfm = NULL; in dce80_transform_destroy()
|
/drivers/gpu/drm/amd/display/dc/dce112/ |
D | dce112_resource.c | 594 static void dce112_transform_destroy(struct transform **xfm) in dce112_transform_destroy() argument 596 kfree(TO_DCE_TRANSFORM(*xfm)); in dce112_transform_destroy() 597 *xfm = NULL; in dce112_transform_destroy()
|
/drivers/gpu/drm/amd/display/dc/dcn20/ |
D | dcn20_resource.c | 1879 next_odm_pipe->plane_res.xfm = pool->transforms[next_odm_pipe->pipe_idx]; in dcn20_split_stream_for_odm() 1954 secondary_pipe->plane_res.xfm = pool->transforms[secondary_pipe->pipe_idx]; in dcn20_split_stream_for_mpc()
|
/drivers/gpu/drm/amd/display/dc/calcs/ |
D | dcn_calcs.c | 540 secondary_pipe->plane_res.xfm = pool->transforms[secondary_pipe->pipe_idx]; in split_stream_across_pipes()
|
/drivers/gpu/drm/amd/display/dc/dcn30/ |
D | dcn30_resource.c | 1866 sec_pipe->plane_res.xfm = pool->transforms[pipe_idx]; in dcn30_split_stream_for_mpc_or_odm()
|