Home
last modified time | relevance | path

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

12

/linux/drivers/gpu/drm/amd/display/dc/hubbub/dcn201/
H A Ddcn201_hubbub.c54 struct hubbub *hubbub, in hubbub201_program_watermarks() argument
59 struct dcn20_hubbub *hubbub1 = TO_DCN20_HUBBUB(hubbub); in hubbub201_program_watermarks()
62 if (hubbub1_program_urgent_watermarks(hubbub, watermarks, refclk_mhz, safe_to_lower)) in hubbub201_program_watermarks()
65 if (hubbub1_program_pstate_watermarks(hubbub, watermarks, refclk_mhz, safe_to_lower)) in hubbub201_program_watermarks()
73 hubbub1_allow_self_refresh_control(hubbub, !hubbub->ctx->dc->debug.disable_stutter); in hubbub201_program_watermarks()
91 void hubbub201_construct(struct dcn20_hubbub *hubbub, in hubbub201_construct() argument
97 hubbub->base.ctx = ctx; in hubbub201_construct()
99 hubbub->base.funcs = &hubbub201_funcs; in hubbub201_construct()
101 hubbub->regs = hubbub_regs; in hubbub201_construct()
102 hubbub->shifts = hubbub_shift; in hubbub201_construct()
[all …]
H A Ddcn201_hubbub.h39 void hubbub201_construct(struct dcn20_hubbub *hubbub,
/linux/drivers/gpu/drm/amd/display/dc/hubbub/dcn20/
H A Ddcn20_hubbub.c217 bool hubbub2_get_dcc_compression_cap(struct hubbub *hubbub, in hubbub2_get_dcc_compression_cap() argument
221 struct dc *dc = hubbub->ctx->dc; in hubbub2_get_dcc_compression_cap()
233 if (!hubbub->funcs->dcc_support_pixel_format(input->format, in hubbub2_get_dcc_compression_cap()
237 if (!hubbub->funcs->dcc_support_swizzle(input->swizzle_mode, bpe, in hubbub2_get_dcc_compression_cap()
241 hubbub2_det_request_size(TO_DCN20_HUBBUB(hubbub)->detile_buf_size, in hubbub2_get_dcc_compression_cap()
378 void hubbub2_init_vm_ctx(struct hubbub *hubbub, in hubbub2_init_vm_ctx() argument
382 struct dcn20_hubbub *hubbub1 = TO_DCN20_HUBBUB(hubbub); in hubbub2_init_vm_ctx()
394 int hubbub2_init_dchub_sys_ctx(struct hubbub *hubbub, in hubbub2_init_dchub_sys_ctx() argument
397 struct dcn20_hubbub *hubbub1 = TO_DCN20_HUBBUB(hubbub); in hubbub2_init_dchub_sys_ctx()
431 void hubbub2_update_dchub(struct hubbub *hubbub, in hubbub2_update_dchub() argument
[all …]
/linux/drivers/gpu/drm/amd/display/dc/hubbub/dcn32/
H A Ddcn32_hubbub.h120 struct hubbub *hubbub,
126 struct hubbub *hubbub,
132 struct hubbub *hubbub,
138 struct hubbub *hubbub,
143 void hubbub32_force_usr_retraining_allow(struct hubbub *hubbub, bool allow);
145 void hubbub32_force_wm_propagate_to_pipes(struct hubbub *hubbub);
147 void hubbub32_init(struct hubbub *hubbub);
149 void dcn32_program_det_size(struct hubbub *hubbub, int hubp_inst, unsigned int det_buffer_size_in_k…
160 void hubbub32_set_request_limit(struct hubbub *hubbub, int umc_count, int words_per_umc);
162 void hubbub32_get_mall_en(struct hubbub *hubbub, unsigned int *mall_in_use);
[all …]
/linux/drivers/gpu/drm/amd/display/dc/hubbub/dcn401/
H A Ddcn401_hubbub.h139 struct hubbub *hubbub,
145 struct hubbub *hubbub,
151 struct hubbub *hubbub,
157 struct hubbub *hubbub,
193 struct hubbub *hubbub,
198 struct hubbub *hubbub,
211 void dcn401_program_det_segments(struct hubbub *hubbub, int hubp_inst, unsigned det_buffer_size_seg…
212 void dcn401_program_compbuf_segments(struct hubbub *hubbub, unsigned compbuf_size_seg, bool safe_to…
213 void dcn401_wait_for_det_update(struct hubbub *hubbub, int hubp_inst);
214 void dcn401_init_crb(struct hubbub *hubbub);
/linux/drivers/gpu/drm/amd/display/dc/hubbub/dcn21/
H A Ddcn21_hubbub.h125 void dcn21_dchvm_init(struct hubbub *hubbub);
126 int hubbub21_init_dchub(struct hubbub *hubbub,
129 struct hubbub *hubbub,
134 struct hubbub *hubbub,
139 struct hubbub *hubbub,
144 struct hubbub *hubbub,
149 void hubbub21_wm_read_state(struct hubbub *hubbub,
152 void hubbub21_construct(struct dcn20_hubbub *hubbub,
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn401/
H A Ddcn401_hwseq.c181 if (res_pool->hubbub) { in dcn401_init_hw()
188 (res_pool->hubbub->funcs->get_dchub_ref_freq)(res_pool->hubbub, in dcn401_init_hw()
248 if (dc->res_pool->hubbub->funcs->allow_self_refresh_control) in dcn401_init_hw()
249 dc->res_pool->hubbub->funcs->allow_self_refresh_control(dc->res_pool->hubbub, in dcn401_init_hw()
250 !dc->res_pool->hubbub->ctx->dc->debug.disable_stutter); in dcn401_init_hw()
339 if (!dcb->funcs->is_accelerated_mode(dcb) && dc->res_pool->hubbub->funcs->init_watermarks) in dcn401_init_hw()
340 dc->res_pool->hubbub->funcs->init_watermarks(dc->res_pool->hubbub); in dcn401_init_hw()
345 if (dc->res_pool->hubbub->funcs->force_pstate_change_control) in dcn401_init_hw()
346 dc->res_pool->hubbub->funcs->force_pstate_change_control( in dcn401_init_hw()
347 dc->res_pool->hubbub, false, false); in dcn401_init_hw()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/hubbub/dcn31/
H A Ddcn31_hubbub.h133 int hubbub31_init_dchub_sys_ctx(struct hubbub *hubbub,
136 void hubbub31_init(struct hubbub *hubbub);
/linux/drivers/gpu/drm/amd/display/dc/core/
H A Ddc_hw_sequencer.c1767 struct hubbub *hubbub, in hwss_add_hubp_program_det_size() argument
1772 seq_state->steps[*seq_state->num_steps].params.program_det_size_params.hubbub = hubbub; in hwss_add_hubp_program_det_size()
1793 struct hubbub *hubbub, in hwss_add_hubbub_force_pstate_change_control() argument
1798 …ate->steps[*seq_state->num_steps].params.hubbub_force_pstate_change_control_params.hubbub = hubbub; in hwss_add_hubbub_force_pstate_change_control()
1810 struct hubbub *hubbub, in hwss_add_hubp_program_det_segments() argument
1815 seq_state->steps[*seq_state->num_steps].params.program_det_segments_params.hubbub = hubbub; in hwss_add_hubp_program_det_segments()
2439 struct hubbub *hubbub = params->program_det_size_params.hubbub; in hwss_program_det_size() local
2443 if (hubbub->funcs->program_det_size) in hwss_program_det_size()
2444 hubbub->funcs->program_det_size(hubbub, hubp_inst, det_buffer_size_kb); in hwss_program_det_size()
2449 struct hubbub *hubbub = params->program_det_segments_params.hubbub; in hwss_program_det_segments() local
[all …]
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn201/
H A Ddcn201_resource.c744 static struct hubbub *dcn201_hubbub_create(struct dc_context *ctx) in dcn201_hubbub_create()
746 struct dcn20_hubbub *hubbub = kzalloc_obj(struct dcn20_hubbub); in dcn201_hubbub_create() local
748 if (!hubbub) in dcn201_hubbub_create()
751 hubbub201_construct(hubbub, ctx, in dcn201_hubbub_create()
756 return &hubbub->base; in dcn201_hubbub_create()
956 if (pool->base.hubbub != NULL) { in dcn201_resource_destruct()
957 kfree(pool->base.hubbub); in dcn201_resource_destruct()
958 pool->base.hubbub = NULL; in dcn201_resource_destruct()
1067 return dc->res_pool->hubbub->funcs->get_dcc_compression_cap( in dcn201_get_dcc_compression_cap()
1068 dc->res_pool->hubbub, in dcn201_get_dcc_compression_cap()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn21/
H A Ddcn21_resource.c696 if (pool->base.hubbub != NULL) { in dcn21_resource_destruct()
697 kfree(pool->base.hubbub); in dcn21_resource_destruct()
698 pool->base.hubbub = NULL; in dcn21_resource_destruct()
1030 static struct hubbub *dcn21_hubbub_create(struct dc_context *ctx) in dcn21_hubbub_create()
1034 struct dcn20_hubbub *hubbub = kzalloc_obj(struct dcn20_hubbub); in dcn21_hubbub_create() local
1036 if (!hubbub) in dcn21_hubbub_create()
1039 hubbub21_construct(hubbub, ctx, in dcn21_hubbub_create()
1045 struct dcn20_vmid *vmid = &hubbub->vmid[i]; in dcn21_hubbub_create()
1053 hubbub->num_vmid = res_cap_rn.num_vmid; in dcn21_hubbub_create()
1055 return &hubbub->base; in dcn21_hubbub_create()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn20/
H A Ddcn20_resource.c883 struct hubbub *dcn20_hubbub_create(struct dc_context *ctx) in dcn20_hubbub_create()
886 struct dcn20_hubbub *hubbub = kzalloc_obj(struct dcn20_hubbub); in dcn20_hubbub_create() local
888 if (!hubbub) in dcn20_hubbub_create()
891 hubbub2_construct(hubbub, ctx, in dcn20_hubbub_create()
897 struct dcn20_vmid *vmid = &hubbub->vmid[i]; in dcn20_hubbub_create()
906 return &hubbub->base; in dcn20_hubbub_create()
1132 if (pool->base.hubbub != NULL) { in dcn20_resource_destruct()
1133 kfree(pool->base.hubbub); in dcn20_resource_destruct()
1134 pool->base.hubbub = NULL; in dcn20_resource_destruct()
2228 if (dc->res_pool->hubbub->funcs->get_dcc_compression_cap) in dcn20_get_dcc_compression_cap()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn21/
H A Ddcn21_hwseq.c84 return dc->res_pool->hubbub->funcs->init_dchub_sys_ctx(dc->res_pool->hubbub, &config); in dcn21_init_sys_ctx()
/linux/drivers/gpu/drm/amd/display/dc/
H A DMakefile25 DC_LIBS = basics bios dml clk_mgr dce gpio hwss irq link dsc resource optc dpp hubbub dccg hubp dio…
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn10/
H A Ddcn10_resource.c715 static struct hubbub *dcn10_hubbub_create(struct dc_context *ctx) in dcn10_hubbub_create()
946 kfree(pool->base.hubbub); in dcn10_resource_destruct()
947 pool->base.hubbub = NULL; in dcn10_resource_destruct()
1151 return dc->res_pool->hubbub->funcs->get_dcc_compression_cap( in dcn10_get_dcc_compression_cap()
1152 dc->res_pool->hubbub, in dcn10_get_dcc_compression_cap()
1692 pool->base.hubbub = dcn10_hubbub_create(ctx); in dcn10_resource_construct()
1693 if (pool->base.hubbub == NULL) { in dcn10_resource_construct()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn303/
H A Ddcn303_resource.c280 static struct hubbub *dcn303_hubbub_create(struct dc_context *ctx) in dcn303_hubbub_create()
993 if (pool->hubbub != NULL) { in dcn303_resource_destruct()
994 kfree(pool->hubbub); in dcn303_resource_destruct()
995 pool->hubbub = NULL; in dcn303_resource_destruct()
1335 pool->hubbub = dcn303_hubbub_create(ctx); in dcn303_resource_construct()
1336 if (pool->hubbub == NULL) { in dcn303_resource_construct()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn302/
H A Ddcn302_resource.c284 static struct hubbub *dcn302_hubbub_create(struct dc_context *ctx) in dcn302_hubbub_create()
1049 if (pool->hubbub != NULL) { in dcn302_resource_destruct()
1050 kfree(pool->hubbub); in dcn302_resource_destruct()
1051 pool->hubbub = NULL; in dcn302_resource_destruct()
1403 pool->hubbub = dcn302_hubbub_create(ctx); in dcn302_resource_construct()
1404 if (pool->hubbub == NULL) { in dcn302_resource_construct()
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn201/
H A Ddcn201_hwseq.c246 if (res_pool->hubbub) { in dcn201_init_hw()
251 (res_pool->hubbub->funcs->get_dchub_ref_freq)(res_pool->hubbub, in dcn201_init_hw()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn301/
H A Ddcn301_resource.c817 static struct hubbub *dcn301_hubbub_create(struct dc_context *ctx) in dcn301_hubbub_create()
1094 if (pool->base.hubbub != NULL) { in dcn301_destruct()
1095 kfree(pool->base.hubbub); in dcn301_destruct()
1096 pool->base.hubbub = NULL; in dcn301_destruct()
1614 pool->base.hubbub = dcn301_hubbub_create(ctx); in dcn301_resource_construct()
1615 if (pool->base.hubbub == NULL) { in dcn301_resource_construct()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn314/
H A Ddcn314_resource.c1110 static struct hubbub *dcn31_hubbub_create(struct dc_context *ctx) in dcn31_hubbub_create()
1483 if (pool->base.hubbub != NULL) { in dcn314_resource_destruct()
1484 kfree(pool->base.hubbub); in dcn314_resource_destruct()
1485 pool->base.hubbub = NULL; in dcn314_resource_destruct()
2020 pool->base.hubbub = dcn31_hubbub_create(ctx); in dcn314_resource_construct()
2021 if (pool->base.hubbub == NULL) { in dcn314_resource_construct()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn316/
H A Ddcn316_resource.c1044 static struct hubbub *dcn31_hubbub_create(struct dc_context *ctx) in dcn31_hubbub_create()
1420 if (pool->base.hubbub != NULL) { in dcn316_resource_destruct()
1421 kfree(pool->base.hubbub); in dcn316_resource_destruct()
1422 pool->base.hubbub = NULL; in dcn316_resource_destruct()
1926 pool->base.hubbub = dcn31_hubbub_create(ctx); in dcn316_resource_construct()
1927 if (pool->base.hubbub == NULL) { in dcn316_resource_construct()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn35/
H A Ddcn35_resource.c1006 static struct hubbub *dcn35_hubbub_create(struct dc_context *ctx) in dcn35_hubbub_create()
1495 if (pool->base.hubbub != NULL) { in dcn35_resource_destruct()
1496 kfree(pool->base.hubbub); in dcn35_resource_destruct()
1497 pool->base.hubbub = NULL; in dcn35_resource_destruct()
2076 pool->base.hubbub = dcn35_hubbub_create(ctx); in dcn35_resource_construct()
2077 if (pool->base.hubbub == NULL) { in dcn35_resource_construct()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn31/
H A Ddcn31_resource.c1052 static struct hubbub *dcn31_hubbub_create(struct dc_context *ctx) in dcn31_hubbub_create()
1424 if (pool->base.hubbub != NULL) { in dcn31_resource_destruct()
1425 kfree(pool->base.hubbub); in dcn31_resource_destruct()
1426 pool->base.hubbub = NULL; in dcn31_resource_destruct()
2102 pool->base.hubbub = dcn31_hubbub_create(ctx); in dcn31_resource_construct()
2103 if (pool->base.hubbub == NULL) { in dcn31_resource_construct()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn315/
H A Ddcn315_resource.c1051 static struct hubbub *dcn31_hubbub_create(struct dc_context *ctx) in dcn31_hubbub_create()
1425 if (pool->base.hubbub != NULL) { in dcn315_resource_destruct()
1426 kfree(pool->base.hubbub); in dcn315_resource_destruct()
1427 pool->base.hubbub = NULL; in dcn315_resource_destruct()
2052 pool->base.hubbub = dcn31_hubbub_create(ctx); in dcn315_resource_construct()
2053 if (pool->base.hubbub == NULL) { in dcn315_resource_construct()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn36/
H A Ddcn36_resource.c993 static struct hubbub *dcn35_hubbub_create(struct dc_context *ctx) in dcn35_hubbub_create()
1482 if (pool->base.hubbub != NULL) { in dcn36_resource_destruct()
1483 kfree(pool->base.hubbub); in dcn36_resource_destruct()
1484 pool->base.hubbub = NULL; in dcn36_resource_destruct()
2046 pool->base.hubbub = dcn35_hubbub_create(ctx); in dcn36_resource_construct()
2047 if (pool->base.hubbub == NULL) { in dcn36_resource_construct()

12