Home
last modified time | relevance | path

Searched refs:pa_config (Results 1 – 19 of 19) sorted by relevance

/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn21/
Ddcn21_hwseq.c67 …cn21_init_sys_ctx(struct dce_hwseq *hws, struct dc *dc, struct dc_phy_addr_space_config *pa_config) in dcn21_init_sys_ctx() argument
71 config.system_aperture.fb_top = pa_config->system_aperture.fb_top; in dcn21_init_sys_ctx()
72 config.system_aperture.fb_offset = pa_config->system_aperture.fb_offset; in dcn21_init_sys_ctx()
73 config.system_aperture.fb_base = pa_config->system_aperture.fb_base; in dcn21_init_sys_ctx()
74 config.system_aperture.agp_top = pa_config->system_aperture.agp_top; in dcn21_init_sys_ctx()
75 config.system_aperture.agp_bot = pa_config->system_aperture.agp_bot; in dcn21_init_sys_ctx()
76 config.system_aperture.agp_base = pa_config->system_aperture.agp_base; in dcn21_init_sys_ctx()
77 config.gart_config.page_table_start_addr = pa_config->gart_config.page_table_start_addr; in dcn21_init_sys_ctx()
78 config.gart_config.page_table_end_addr = pa_config->gart_config.page_table_end_addr; in dcn21_init_sys_ctx()
79 config.gart_config.page_table_base_addr = pa_config->gart_config.page_table_base_addr; in dcn21_init_sys_ctx()
Ddcn21_hubbub.c108 struct dcn_hubbub_phys_addr_config *pa_config) in hubbub21_init_dchub() argument
114 FB_BASE, pa_config->system_aperture.fb_base >> 24); in hubbub21_init_dchub()
116 FB_TOP, pa_config->system_aperture.fb_top >> 24); in hubbub21_init_dchub()
118 FB_OFFSET, pa_config->system_aperture.fb_offset >> 24); in hubbub21_init_dchub()
120 AGP_BOT, pa_config->system_aperture.agp_bot >> 24); in hubbub21_init_dchub()
122 AGP_TOP, pa_config->system_aperture.agp_top >> 24); in hubbub21_init_dchub()
124 AGP_BASE, pa_config->system_aperture.agp_base >> 24); in hubbub21_init_dchub()
126 if (pa_config->gart_config.page_table_start_addr != pa_config->gart_config.page_table_end_addr) { in hubbub21_init_dchub()
127 phys_config.page_table_start_addr = pa_config->gart_config.page_table_start_addr >> 12; in hubbub21_init_dchub()
128 phys_config.page_table_end_addr = pa_config->gart_config.page_table_end_addr >> 12; in hubbub21_init_dchub()
[all …]
Ddcn21_hwseq.h35 struct dc_phy_addr_space_config *pa_config);
Ddcn21_hubbub.h127 struct dcn_hubbub_phys_addr_config *pa_config);
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn30/
Ddcn30_hubbub.c65 struct dcn_hubbub_phys_addr_config *pa_config) in hubbub3_init_dchub_sys_ctx() argument
71 FB_BASE, pa_config->system_aperture.fb_base >> 24); in hubbub3_init_dchub_sys_ctx()
73 FB_TOP, pa_config->system_aperture.fb_top >> 24); in hubbub3_init_dchub_sys_ctx()
75 FB_OFFSET, pa_config->system_aperture.fb_offset >> 24); in hubbub3_init_dchub_sys_ctx()
77 AGP_BOT, pa_config->system_aperture.agp_bot >> 24); in hubbub3_init_dchub_sys_ctx()
79 AGP_TOP, pa_config->system_aperture.agp_top >> 24); in hubbub3_init_dchub_sys_ctx()
81 AGP_BASE, pa_config->system_aperture.agp_base >> 24); in hubbub3_init_dchub_sys_ctx()
83 if (pa_config->gart_config.page_table_start_addr != pa_config->gart_config.page_table_end_addr) { in hubbub3_init_dchub_sys_ctx()
84 phys_config.page_table_start_addr = pa_config->gart_config.page_table_start_addr >> 12; in hubbub3_init_dchub_sys_ctx()
85 phys_config.page_table_end_addr = pa_config->gart_config.page_table_end_addr >> 12; in hubbub3_init_dchub_sys_ctx()
[all …]
Ddcn30_hubbub.h111 struct dcn_hubbub_phys_addr_config *pa_config);
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_hubbub.c374 struct dcn_hubbub_phys_addr_config *pa_config) in hubbub2_init_dchub_sys_ctx() argument
380 FB_BASE, pa_config->system_aperture.fb_base >> 24); in hubbub2_init_dchub_sys_ctx()
382 FB_TOP, pa_config->system_aperture.fb_top >> 24); in hubbub2_init_dchub_sys_ctx()
384 FB_OFFSET, pa_config->system_aperture.fb_offset >> 24); in hubbub2_init_dchub_sys_ctx()
386 AGP_BOT, pa_config->system_aperture.agp_bot >> 24); in hubbub2_init_dchub_sys_ctx()
388 AGP_TOP, pa_config->system_aperture.agp_top >> 24); in hubbub2_init_dchub_sys_ctx()
390 AGP_BASE, pa_config->system_aperture.agp_base >> 24); in hubbub2_init_dchub_sys_ctx()
393 DCN_VM_PROTECTION_FAULT_DEFAULT_ADDR_MSB, (pa_config->page_table_default_page_addr >> 44) & 0xF); in hubbub2_init_dchub_sys_ctx()
395 …DCN_VM_PROTECTION_FAULT_DEFAULT_ADDR_LSB, (pa_config->page_table_default_page_addr >> 12) & 0xFFFF… in hubbub2_init_dchub_sys_ctx()
397 if (pa_config->gart_config.page_table_start_addr != pa_config->gart_config.page_table_end_addr) { in hubbub2_init_dchub_sys_ctx()
[all …]
Ddcn20_hubbub.h126 struct dcn_hubbub_phys_addr_config *pa_config);
Ddcn20_hwseq.h137 struct dc_phy_addr_space_config *pa_config);
Ddcn20_hwseq.c2232 …cn20_init_sys_ctx(struct dce_hwseq *hws, struct dc *dc, struct dc_phy_addr_space_config *pa_config) in dcn20_init_sys_ctx() argument
2236 config.system_aperture.fb_top = pa_config->system_aperture.fb_top; in dcn20_init_sys_ctx()
2237 config.system_aperture.fb_offset = pa_config->system_aperture.fb_offset; in dcn20_init_sys_ctx()
2238 config.system_aperture.fb_base = pa_config->system_aperture.fb_base; in dcn20_init_sys_ctx()
2239 config.system_aperture.agp_top = pa_config->system_aperture.agp_top; in dcn20_init_sys_ctx()
2240 config.system_aperture.agp_bot = pa_config->system_aperture.agp_bot; in dcn20_init_sys_ctx()
2241 config.system_aperture.agp_base = pa_config->system_aperture.agp_base; in dcn20_init_sys_ctx()
2242 config.gart_config.page_table_start_addr = pa_config->gart_config.page_table_start_addr; in dcn20_init_sys_ctx()
2243 config.gart_config.page_table_end_addr = pa_config->gart_config.page_table_end_addr; in dcn20_init_sys_ctx()
2244 config.gart_config.page_table_base_addr = pa_config->gart_config.page_table_base_addr; in dcn20_init_sys_ctx()
[all …]
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn31/
Ddcn31_hwseq.c494 …cn31_init_sys_ctx(struct dce_hwseq *hws, struct dc *dc, struct dc_phy_addr_space_config *pa_config) in dcn31_init_sys_ctx() argument
498 config.system_aperture.fb_top = pa_config->system_aperture.fb_top; in dcn31_init_sys_ctx()
499 config.system_aperture.fb_offset = pa_config->system_aperture.fb_offset; in dcn31_init_sys_ctx()
500 config.system_aperture.fb_base = pa_config->system_aperture.fb_base; in dcn31_init_sys_ctx()
501 config.system_aperture.agp_top = pa_config->system_aperture.agp_top; in dcn31_init_sys_ctx()
502 config.system_aperture.agp_bot = pa_config->system_aperture.agp_bot; in dcn31_init_sys_ctx()
503 config.system_aperture.agp_base = pa_config->system_aperture.agp_base; in dcn31_init_sys_ctx()
504 config.gart_config.page_table_start_addr = pa_config->gart_config.page_table_start_addr; in dcn31_init_sys_ctx()
505 config.gart_config.page_table_end_addr = pa_config->gart_config.page_table_end_addr; in dcn31_init_sys_ctx()
507 if (pa_config->gart_config.base_addr_is_mc_addr) { in dcn31_init_sys_ctx()
[all …]
Ddcn31_hubbub.c880 struct dcn_hubbub_phys_addr_config *pa_config) in hubbub31_init_dchub_sys_ctx() argument
886 FB_BASE, pa_config->system_aperture.fb_base >> 24); in hubbub31_init_dchub_sys_ctx()
888 FB_TOP, pa_config->system_aperture.fb_top >> 24); in hubbub31_init_dchub_sys_ctx()
890 FB_OFFSET, pa_config->system_aperture.fb_offset >> 24); in hubbub31_init_dchub_sys_ctx()
892 AGP_BOT, pa_config->system_aperture.agp_bot >> 24); in hubbub31_init_dchub_sys_ctx()
894 AGP_TOP, pa_config->system_aperture.agp_top >> 24); in hubbub31_init_dchub_sys_ctx()
896 AGP_BASE, pa_config->system_aperture.agp_base >> 24); in hubbub31_init_dchub_sys_ctx()
898 if (pa_config->gart_config.page_table_start_addr != pa_config->gart_config.page_table_end_addr) { in hubbub31_init_dchub_sys_ctx()
899 phys_config.page_table_start_addr = pa_config->gart_config.page_table_start_addr >> 12; in hubbub31_init_dchub_sys_ctx()
900 phys_config.page_table_end_addr = pa_config->gart_config.page_table_end_addr >> 12; in hubbub31_init_dchub_sys_ctx()
[all …]
Ddcn31_hwseq.h50 …n31_init_sys_ctx(struct dce_hwseq *hws, struct dc *dc, struct dc_phy_addr_space_config *pa_config);
Ddcn31_hubbub.h126 struct dcn_hubbub_phys_addr_config *pa_config);
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/core/
Ddc_vm_helper.c37 int dc_setup_system_context(struct dc *dc, struct dc_phy_addr_space_config *pa_config) in dc_setup_system_context() argument
43 num_vmids = dc->hwss.init_sys_ctx(dc->hwseq, dc, pa_config); in dc_setup_system_context()
48 memcpy(&dc->vm_pa_config, pa_config, sizeof(struct dc_phy_addr_space_config)); in dc_setup_system_context()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/inc/hw/
Ddchubbub.h99 struct dcn_hubbub_phys_addr_config pa_config; member
123 struct dcn_hubbub_phys_addr_config *pa_config);
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/inc/
Dhw_sequencer.h165 struct dc_phy_addr_space_config *pa_config);
/linux-6.1.9/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm.c1186 …d mmhub_read_system_context(struct amdgpu_device *adev, struct dc_phy_addr_space_config *pa_config) in mmhub_read_system_context() argument
1194 memset(pa_config, 0, sizeof(*pa_config)); in mmhub_read_system_context()
1222 pa_config->system_aperture.start_addr = (uint64_t)logical_addr_low << 18; in mmhub_read_system_context()
1223 pa_config->system_aperture.end_addr = (uint64_t)logical_addr_high << 18; in mmhub_read_system_context()
1225 pa_config->system_aperture.agp_base = (uint64_t)agp_base << 24 ; in mmhub_read_system_context()
1226 pa_config->system_aperture.agp_bot = (uint64_t)agp_bot << 24; in mmhub_read_system_context()
1227 pa_config->system_aperture.agp_top = (uint64_t)agp_top << 24; in mmhub_read_system_context()
1229 pa_config->system_aperture.fb_base = adev->gmc.fb_start; in mmhub_read_system_context()
1230 pa_config->system_aperture.fb_offset = adev->gmc.aper_base; in mmhub_read_system_context()
1231 pa_config->system_aperture.fb_top = adev->gmc.fb_end; in mmhub_read_system_context()
[all …]
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/
Ddc.h987 int dc_setup_system_context(struct dc *dc, struct dc_phy_addr_space_config *pa_config);