/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn30/ |
H A D | dcn30_dwb_cm.c | 37 dwbc30->dwbc_regs->reg 40 dwbc30->base.ctx 44 dwbc30->dwbc_shift->field_name, dwbc30->dwbc_mask->field_name 49 static void dwb3_get_reg_field_ogam(struct dcn30_dwbc *dwbc30, in dwb3_get_reg_field_ogam() argument 52 reg->shifts.field_region_start_base = dwbc30->dwbc_shift->DWB_OGAM_RAMA_EXP_REGION_START_BASE_B; in dwb3_get_reg_field_ogam() 53 reg->masks.field_region_start_base = dwbc30->dwbc_mask->DWB_OGAM_RAMA_EXP_REGION_START_BASE_B; in dwb3_get_reg_field_ogam() 54 reg->shifts.field_offset = dwbc30->dwbc_shift->DWB_OGAM_RAMA_OFFSET_B; in dwb3_get_reg_field_ogam() 55 reg->masks.field_offset = dwbc30->dwbc_mask->DWB_OGAM_RAMA_OFFSET_B; in dwb3_get_reg_field_ogam() 57 reg->shifts.exp_region0_lut_offset = dwbc30 in dwb3_get_reg_field_ogam() 81 dwb3_program_ogam_luta_settings( struct dcn30_dwbc *dwbc30, const struct pwl_params *params) dwb3_program_ogam_luta_settings() argument 114 dwb3_program_ogam_lutb_settings( struct dcn30_dwbc *dwbc30, const struct pwl_params *params) dwb3_program_ogam_lutb_settings() argument 146 dwb3_get_ogam_current( struct dcn30_dwbc *dwbc30) dwb3_get_ogam_current() argument 175 dwb3_configure_ogam_lut( struct dcn30_dwbc *dwbc30, bool is_ram_a) dwb3_configure_ogam_lut() argument 186 dwb3_program_ogam_pwl(struct dcn30_dwbc *dwbc30, const struct pwl_result_data *rgb, uint32_t num) dwb3_program_ogam_pwl() argument 234 dwb3_program_ogam_lut( struct dcn30_dwbc *dwbc30, const struct pwl_params *params) dwb3_program_ogam_lut() argument 273 struct dcn30_dwbc *dwbc30 = TO_DCN30_DWBC(dwbc); dwb3_ogam_set_input_transfer_func() local 303 struct dcn30_dwbc *dwbc30 = TO_DCN30_DWBC(dwbc); dwb3_program_gamut_remap() local 356 struct dcn30_dwbc *dwbc30 = TO_DCN30_DWBC(dwbc); dwb3_set_gamut_remap() local 389 struct dcn30_dwbc *dwbc30 = TO_DCN30_DWBC(dwbc); dwb3_program_hdr_mult() local [all...] |
H A D | dcn30_dwb.c | 34 dwbc30->dwbc_regs->reg 37 dwbc30->base.ctx 41 dwbc30->dwbc_shift->field_name, dwbc30->dwbc_mask->field_name 44 dwbc30->base.ctx->logger 68 struct dcn30_dwbc *dwbc30 = TO_DCN30_DWBC(dwbc); in dwb3_config_fc() local 93 struct dcn30_dwbc *dwbc30 = TO_DCN30_DWBC(dwbc); in dwb3_enable() local 121 struct dcn30_dwbc *dwbc30 = TO_DCN30_DWBC(dwbc); in dwb3_disable() local 135 struct dcn30_dwbc *dwbc30 = TO_DCN30_DWBC(dwbc); in dwb3_update() local 173 struct dcn30_dwbc *dwbc30 in dwb3_is_enabled() local 186 struct dcn30_dwbc *dwbc30 = TO_DCN30_DWBC(dwbc); dwb3_set_stereo() local 201 struct dcn30_dwbc *dwbc30 = TO_DCN30_DWBC(dwbc); dwb3_set_new_content() local 208 struct dcn30_dwbc *dwbc30 = TO_DCN30_DWBC(dwbc); dwb3_set_denorm() local 236 dcn30_dwbc_construct(struct dcn30_dwbc *dwbc30, struct dc_context *ctx, const struct dcn30_dwbc_registers *dwbc_regs, const struct dcn30_dwbc_shift *dwbc_shift, const struct dcn30_dwbc_mask *dwbc_mask, int inst) dcn30_dwbc_construct() argument 255 struct dcn30_dwbc *dwbc30 = TO_DCN30_DWBC(dwbc); dwb3_set_host_read_rate_control() local [all...] |
H A D | dcn30_resource.c | 1351 struct dcn30_dwbc *dwbc30 = kzalloc(sizeof(struct dcn30_dwbc), in dcn30_dwbc_create() local 1354 if (!dwbc30) { in dcn30_dwbc_create() 1355 dm_error("DC: failed to create dwbc30!\n"); in dcn30_dwbc_create() 1359 dcn30_dwbc_construct(dwbc30, ctx, in dcn30_dwbc_create() 1365 pool->dwbc[i] = &dwbc30->base; in dcn30_dwbc_create()
|
H A D | dcn30_dwb.h | 882 void dcn30_dwbc_construct(struct dcn30_dwbc *dwbc30,
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn30/ |
H A D | dcn30_dwb_cm.c | 37 dwbc30->dwbc_regs->reg 40 dwbc30->base.ctx 44 dwbc30->dwbc_shift->field_name, dwbc30->dwbc_mask->field_name 49 static void dwb3_get_reg_field_ogam(struct dcn30_dwbc *dwbc30, in dwb3_get_reg_field_ogam() argument 52 reg->shifts.field_region_start_base = dwbc30->dwbc_shift->DWB_OGAM_RAMA_EXP_REGION_START_BASE_B; in dwb3_get_reg_field_ogam() 53 reg->masks.field_region_start_base = dwbc30->dwbc_mask->DWB_OGAM_RAMA_EXP_REGION_START_BASE_B; in dwb3_get_reg_field_ogam() 54 reg->shifts.field_offset = dwbc30->dwbc_shift->DWB_OGAM_RAMA_OFFSET_B; in dwb3_get_reg_field_ogam() 55 reg->masks.field_offset = dwbc30->dwbc_mask->DWB_OGAM_RAMA_OFFSET_B; in dwb3_get_reg_field_ogam() 57 reg->shifts.exp_region0_lut_offset = dwbc30 in dwb3_get_reg_field_ogam() 81 dwb3_program_ogam_luta_settings( struct dcn30_dwbc *dwbc30, const struct pwl_params *params) dwb3_program_ogam_luta_settings() argument 114 dwb3_program_ogam_lutb_settings( struct dcn30_dwbc *dwbc30, const struct pwl_params *params) dwb3_program_ogam_lutb_settings() argument 146 dwb3_get_ogam_current( struct dcn30_dwbc *dwbc30) dwb3_get_ogam_current() argument 175 dwb3_configure_ogam_lut( struct dcn30_dwbc *dwbc30, bool is_ram_a) dwb3_configure_ogam_lut() argument 186 dwb3_program_ogam_pwl(struct dcn30_dwbc *dwbc30, const struct pwl_result_data *rgb, uint32_t num) dwb3_program_ogam_pwl() argument 234 dwb3_program_ogam_lut( struct dcn30_dwbc *dwbc30, const struct pwl_params *params) dwb3_program_ogam_lut() argument 273 struct dcn30_dwbc *dwbc30 = TO_DCN30_DWBC(dwbc); dwb3_ogam_set_input_transfer_func() local 303 struct dcn30_dwbc *dwbc30 = TO_DCN30_DWBC(dwbc); dwb3_program_gamut_remap() local 356 struct dcn30_dwbc *dwbc30 = TO_DCN30_DWBC(dwbc); dwb3_set_gamut_remap() local 389 struct dcn30_dwbc *dwbc30 = TO_DCN30_DWBC(dwbc); dwb3_program_hdr_mult() local [all...] |
H A D | dcn30_dwb.c | 34 dwbc30->dwbc_regs->reg 37 dwbc30->base.ctx 41 dwbc30->dwbc_shift->field_name, dwbc30->dwbc_mask->field_name 44 dwbc30->base.ctx->logger 68 struct dcn30_dwbc *dwbc30 = TO_DCN30_DWBC(dwbc); in dwb3_config_fc() local 93 struct dcn30_dwbc *dwbc30 = TO_DCN30_DWBC(dwbc); in dwb3_enable() local 121 struct dcn30_dwbc *dwbc30 = TO_DCN30_DWBC(dwbc); in dwb3_disable() local 135 struct dcn30_dwbc *dwbc30 = TO_DCN30_DWBC(dwbc); in dwb3_update() local 173 struct dcn30_dwbc *dwbc30 in dwb3_is_enabled() local 186 struct dcn30_dwbc *dwbc30 = TO_DCN30_DWBC(dwbc); dwb3_set_stereo() local 201 struct dcn30_dwbc *dwbc30 = TO_DCN30_DWBC(dwbc); dwb3_set_new_content() local 208 struct dcn30_dwbc *dwbc30 = TO_DCN30_DWBC(dwbc); dwb3_set_denorm() local 236 dcn30_dwbc_construct(struct dcn30_dwbc *dwbc30, struct dc_context *ctx, const struct dcn30_dwbc_registers *dwbc_regs, const struct dcn30_dwbc_shift *dwbc_shift, const struct dcn30_dwbc_mask *dwbc_mask, int inst) dcn30_dwbc_construct() argument 255 struct dcn30_dwbc *dwbc30 = TO_DCN30_DWBC(dwbc); dwb3_set_host_read_rate_control() local [all...] |
H A D | dcn30_resource.c | 1219 struct dcn30_dwbc *dwbc30 = kzalloc(sizeof(struct dcn30_dwbc), in dcn30_dwbc_create() local 1222 if (!dwbc30) { in dcn30_dwbc_create() 1223 dm_error("DC: failed to create dwbc30!\n"); in dcn30_dwbc_create() 1227 dcn30_dwbc_construct(dwbc30, ctx, in dcn30_dwbc_create() 1233 pool->dwbc[i] = &dwbc30->base; in dcn30_dwbc_create()
|
H A D | dcn30_dwb.h | 867 void dcn30_dwbc_construct(struct dcn30_dwbc *dwbc30,
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn302/ |
H A D | dcn302_resource.c | 711 struct dcn30_dwbc *dwbc30 = kzalloc(sizeof(struct dcn30_dwbc), GFP_KERNEL); in dcn302_dwbc_create() local 713 if (!dwbc30) { in dcn302_dwbc_create() 714 dm_error("DC: failed to create dwbc30!\n"); in dcn302_dwbc_create() 718 dcn30_dwbc_construct(dwbc30, ctx, &dwbc30_regs[i], &dwbc30_shift, &dwbc30_mask, i); in dcn302_dwbc_create() 720 pool->dwbc[i] = &dwbc30->base; in dcn302_dwbc_create()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn303/ |
H A D | dcn303_resource.c | 654 struct dcn30_dwbc *dwbc30 = kzalloc(sizeof(struct dcn30_dwbc), GFP_KERNEL); in dcn303_dwbc_create() local 656 if (!dwbc30) { in dcn303_dwbc_create() 657 dm_error("DC: failed to create dwbc30!\n"); in dcn303_dwbc_create() 661 dcn30_dwbc_construct(dwbc30, ctx, &dwbc30_regs[i], &dwbc30_shift, &dwbc30_mask, i); in dcn303_dwbc_create() 663 pool->dwbc[i] = &dwbc30->base; in dcn303_dwbc_create()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn31/ |
H A D | dcn31_resource.c | 1516 struct dcn30_dwbc *dwbc30 = kzalloc(sizeof(struct dcn30_dwbc), in dcn31_dwbc_create() local 1519 if (!dwbc30) { in dcn31_dwbc_create() 1520 dm_error("DC: failed to create dwbc30!\n"); in dcn31_dwbc_create() 1524 dcn30_dwbc_construct(dwbc30, ctx, in dcn31_dwbc_create() 1530 pool->dwbc[i] = &dwbc30->base; in dcn31_dwbc_create()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn321/ |
H A D | dcn321_resource.c | 1486 struct dcn30_dwbc *dwbc30 = kzalloc(sizeof(struct dcn30_dwbc), in dcn321_dwbc_create() local 1489 if (!dwbc30) { in dcn321_dwbc_create() 1490 dm_error("DC: failed to create dwbc30!\n"); in dcn321_dwbc_create() 1498 dcn30_dwbc_construct(dwbc30, ctx, in dcn321_dwbc_create() 1504 pool->dwbc[i] = &dwbc30->base; in dcn321_dwbc_create()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn301/ |
H A D | dcn301_resource.c | 1178 struct dcn30_dwbc *dwbc30 = kzalloc(sizeof(struct dcn30_dwbc), in dcn301_dwbc_create() local 1181 if (!dwbc30) { in dcn301_dwbc_create() 1182 dm_error("DC: failed to create dwbc30!\n"); in dcn301_dwbc_create() 1186 dcn30_dwbc_construct(dwbc30, ctx, in dcn301_dwbc_create() 1192 pool->dwbc[i] = &dwbc30->base; in dcn301_dwbc_create()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn315/ |
H A D | dcn315_resource.c | 1513 struct dcn30_dwbc *dwbc30 = kzalloc(sizeof(struct dcn30_dwbc), in dcn31_dwbc_create() local 1516 if (!dwbc30) { in dcn31_dwbc_create() 1517 dm_error("DC: failed to create dwbc30!\n"); in dcn31_dwbc_create() 1521 dcn30_dwbc_construct(dwbc30, ctx, in dcn31_dwbc_create() 1527 pool->dwbc[i] = &dwbc30->base; in dcn31_dwbc_create()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn314/ |
H A D | dcn314_resource.c | 1588 struct dcn30_dwbc *dwbc30 = kzalloc(sizeof(struct dcn30_dwbc), in dcn31_dwbc_create() local 1591 if (!dwbc30) { in dcn31_dwbc_create() 1592 dm_error("DC: failed to create dwbc30!\n"); in dcn31_dwbc_create() 1596 dcn30_dwbc_construct(dwbc30, ctx, in dcn31_dwbc_create() 1602 pool->dwbc[i] = &dwbc30->base; in dcn31_dwbc_create()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn316/ |
H A D | dcn316_resource.c | 1511 struct dcn30_dwbc *dwbc30 = kzalloc(sizeof(struct dcn30_dwbc), in dcn31_dwbc_create() local 1514 if (!dwbc30) { in dcn31_dwbc_create() 1515 dm_error("DC: failed to create dwbc30!\n"); in dcn31_dwbc_create() 1519 dcn30_dwbc_construct(dwbc30, ctx, in dcn31_dwbc_create() 1525 pool->dwbc[i] = &dwbc30->base; in dcn31_dwbc_create()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn32/ |
H A D | dcn32_resource.c | 1501 struct dcn30_dwbc *dwbc30 = kzalloc(sizeof(struct dcn30_dwbc), in dcn32_dwbc_create() local 1504 if (!dwbc30) { in dcn32_dwbc_create() 1505 dm_error("DC: failed to create dwbc30!\n"); in dcn32_dwbc_create() 1513 dcn30_dwbc_construct(dwbc30, ctx, in dcn32_dwbc_create() 1519 pool->dwbc[i] = &dwbc30->base; in dcn32_dwbc_create()
|