/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hubbub/dcn30/ |
D | dcn30_hubbub.c | 65 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 …]
|
D | dcn30_hubbub.h | 111 struct dcn_hubbub_phys_addr_config *pa_config);
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hwss/dcn21/ |
D | dcn21_hwseq.c | 67 …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()
|
D | dcn21_hwseq.h | 35 struct dc_phy_addr_space_config *pa_config);
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hubbub/dcn20/ |
D | dcn20_hubbub.c | 395 struct dcn_hubbub_phys_addr_config *pa_config) in hubbub2_init_dchub_sys_ctx() argument 401 FB_BASE, pa_config->system_aperture.fb_base >> 24); in hubbub2_init_dchub_sys_ctx() 403 FB_TOP, pa_config->system_aperture.fb_top >> 24); in hubbub2_init_dchub_sys_ctx() 405 FB_OFFSET, pa_config->system_aperture.fb_offset >> 24); in hubbub2_init_dchub_sys_ctx() 407 AGP_BOT, pa_config->system_aperture.agp_bot >> 24); in hubbub2_init_dchub_sys_ctx() 409 AGP_TOP, pa_config->system_aperture.agp_top >> 24); in hubbub2_init_dchub_sys_ctx() 411 AGP_BASE, pa_config->system_aperture.agp_base >> 24); in hubbub2_init_dchub_sys_ctx() 414 DCN_VM_PROTECTION_FAULT_DEFAULT_ADDR_MSB, (pa_config->page_table_default_page_addr >> 44) & 0xF); in hubbub2_init_dchub_sys_ctx() 416 …DCN_VM_PROTECTION_FAULT_DEFAULT_ADDR_LSB, (pa_config->page_table_default_page_addr >> 12) & 0xFFFF… in hubbub2_init_dchub_sys_ctx() 418 if (pa_config->gart_config.page_table_start_addr != pa_config->gart_config.page_table_end_addr) { in hubbub2_init_dchub_sys_ctx() [all …]
|
D | dcn20_hubbub.h | 126 struct dcn_hubbub_phys_addr_config *pa_config);
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hwss/dcn31/ |
D | dcn31_hwseq.c | 480 …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 484 config.system_aperture.fb_top = pa_config->system_aperture.fb_top; in dcn31_init_sys_ctx() 485 config.system_aperture.fb_offset = pa_config->system_aperture.fb_offset; in dcn31_init_sys_ctx() 486 config.system_aperture.fb_base = pa_config->system_aperture.fb_base; in dcn31_init_sys_ctx() 487 config.system_aperture.agp_top = pa_config->system_aperture.agp_top; in dcn31_init_sys_ctx() 488 config.system_aperture.agp_bot = pa_config->system_aperture.agp_bot; in dcn31_init_sys_ctx() 489 config.system_aperture.agp_base = pa_config->system_aperture.agp_base; in dcn31_init_sys_ctx() 490 config.gart_config.page_table_start_addr = pa_config->gart_config.page_table_start_addr; in dcn31_init_sys_ctx() 491 config.gart_config.page_table_end_addr = pa_config->gart_config.page_table_end_addr; in dcn31_init_sys_ctx() 493 if (pa_config->gart_config.base_addr_is_mc_addr) { in dcn31_init_sys_ctx() [all …]
|
D | dcn31_hwseq.h | 50 …n31_init_sys_ctx(struct dce_hwseq *hws, struct dc *dc, struct dc_phy_addr_space_config *pa_config);
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/core/ |
D | dc_vm_helper.c | 37 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.12.1/drivers/gpu/drm/amd/display/dc/hubbub/dcn21/ |
D | dcn21_hubbub.c | 108 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 …]
|
D | dcn21_hubbub.h | 127 struct dcn_hubbub_phys_addr_config *pa_config);
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hubbub/dcn31/ |
D | dcn31_hubbub.c | 906 struct dcn_hubbub_phys_addr_config *pa_config) in hubbub31_init_dchub_sys_ctx() argument 912 FB_BASE, pa_config->system_aperture.fb_base >> 24); in hubbub31_init_dchub_sys_ctx() 914 FB_TOP, pa_config->system_aperture.fb_top >> 24); in hubbub31_init_dchub_sys_ctx() 916 FB_OFFSET, pa_config->system_aperture.fb_offset >> 24); in hubbub31_init_dchub_sys_ctx() 918 AGP_BOT, pa_config->system_aperture.agp_bot >> 24); in hubbub31_init_dchub_sys_ctx() 920 AGP_TOP, pa_config->system_aperture.agp_top >> 24); in hubbub31_init_dchub_sys_ctx() 922 AGP_BASE, pa_config->system_aperture.agp_base >> 24); in hubbub31_init_dchub_sys_ctx() 924 if (pa_config->gart_config.page_table_start_addr != pa_config->gart_config.page_table_end_addr) { in hubbub31_init_dchub_sys_ctx() 925 phys_config.page_table_start_addr = pa_config->gart_config.page_table_start_addr >> 12; in hubbub31_init_dchub_sys_ctx() 926 phys_config.page_table_end_addr = pa_config->gart_config.page_table_end_addr >> 12; in hubbub31_init_dchub_sys_ctx() [all …]
|
D | dcn31_hubbub.h | 134 struct dcn_hubbub_phys_addr_config *pa_config);
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/inc/hw/ |
D | dchubbub.h | 120 struct dcn_hubbub_phys_addr_config pa_config; member 147 struct dcn_hubbub_phys_addr_config *pa_config);
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hwss/dcn20/ |
D | dcn20_hwseq.h | 143 struct dc_phy_addr_space_config *pa_config);
|
D | dcn20_hwseq.c | 2644 …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 2648 config.system_aperture.fb_top = pa_config->system_aperture.fb_top; in dcn20_init_sys_ctx() 2649 config.system_aperture.fb_offset = pa_config->system_aperture.fb_offset; in dcn20_init_sys_ctx() 2650 config.system_aperture.fb_base = pa_config->system_aperture.fb_base; in dcn20_init_sys_ctx() 2651 config.system_aperture.agp_top = pa_config->system_aperture.agp_top; in dcn20_init_sys_ctx() 2652 config.system_aperture.agp_bot = pa_config->system_aperture.agp_bot; in dcn20_init_sys_ctx() 2653 config.system_aperture.agp_base = pa_config->system_aperture.agp_base; in dcn20_init_sys_ctx() 2654 config.gart_config.page_table_start_addr = pa_config->gart_config.page_table_start_addr; in dcn20_init_sys_ctx() 2655 config.gart_config.page_table_end_addr = pa_config->gart_config.page_table_end_addr; in dcn20_init_sys_ctx() 2656 config.gart_config.page_table_base_addr = pa_config->gart_config.page_table_base_addr; in dcn20_init_sys_ctx() [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/amdgpu_dm/ |
D | amdgpu_dm.c | 1342 …d mmhub_read_system_context(struct amdgpu_device *adev, struct dc_phy_addr_space_config *pa_config) in mmhub_read_system_context() argument 1350 memset(pa_config, 0, sizeof(*pa_config)); in mmhub_read_system_context() 1400 pa_config->system_aperture.start_addr = (uint64_t)logical_addr_low << 18; in mmhub_read_system_context() 1401 pa_config->system_aperture.end_addr = (uint64_t)logical_addr_high << 18; in mmhub_read_system_context() 1403 pa_config->system_aperture.agp_base = (uint64_t)agp_base << 24; in mmhub_read_system_context() 1404 pa_config->system_aperture.agp_bot = (uint64_t)agp_bot << 24; in mmhub_read_system_context() 1405 pa_config->system_aperture.agp_top = (uint64_t)agp_top << 24; in mmhub_read_system_context() 1407 pa_config->system_aperture.fb_base = adev->gmc.fb_start; in mmhub_read_system_context() 1408 pa_config->system_aperture.fb_offset = adev->vm_manager.vram_base_offset; in mmhub_read_system_context() 1409 pa_config->system_aperture.fb_top = adev->gmc.fb_end; in mmhub_read_system_context() [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hwss/ |
D | hw_sequencer.h | 318 struct dc_phy_addr_space_config *pa_config);
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/ |
D | dc.h | 1136 int dc_setup_system_context(struct dc *dc, struct dc_phy_addr_space_config *pa_config);
|