/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn30/ |
D | dcn30_hubp.c | 55 mc_vm_apt_default.quad_part = apt->sys_default.quad_part >> 12; in hubp3_set_vm_system_aperture_settings() 58 mc_vm_apt_low.quad_part = apt->sys_low.quad_part >> 18; in hubp3_set_vm_system_aperture_settings() 59 mc_vm_apt_high.quad_part = apt->sys_high.quad_part >> 18; in hubp3_set_vm_system_aperture_settings() 62 MC_VM_SYSTEM_APERTURE_LOW_ADDR, mc_vm_apt_low.quad_part); in hubp3_set_vm_system_aperture_settings() 65 MC_VM_SYSTEM_APERTURE_HIGH_ADDR, mc_vm_apt_high.quad_part); in hubp3_set_vm_system_aperture_settings() 112 if (address->grph.addr.quad_part == 0) in hubp3_program_surface_flip_and_addr() 119 if (address->grph.meta_addr.quad_part != 0) { in hubp3_program_surface_flip_and_addr() 138 if (address->video_progressive.luma_addr.quad_part == 0 in hubp3_program_surface_flip_and_addr() 139 || address->video_progressive.chroma_addr.quad_part == 0) in hubp3_program_surface_flip_and_addr() 148 if (address->video_progressive.luma_meta_addr.quad_part != 0) { in hubp3_program_surface_flip_and_addr() [all …]
|
D | dcn30_hwseq.c | 283 if (wb_info->mcif_warmup_params.start_address.quad_part != 0 && in dcn30_mmhubbub_warmup() 288 warmup_params.start_address.quad_part = wb_info->mcif_warmup_params.start_address.quad_part; in dcn30_mmhubbub_warmup() 309 warmup_params.start_address.quad_part = wb_info[i].mcif_buf_params.luma_address[i_buf]; in dcn30_mmhubbub_warmup() 695 if (pipe_ctx->stream->dmdata_address.quad_part != 0) { in dcn30_program_dmdata_engine() 751 plane->address.grph.cursor_cache_addr.quad_part; in dcn30_apply_idle_power_optimizations() 769 plane->address.page_table_base.quad_part == 0 && in dcn30_apply_idle_power_optimizations() 856 cmd.mall.cursor_copy_src.quad_part = cursor_attr.address.quad_part; in dcn30_apply_idle_power_optimizations() 857 cmd.mall.cursor_copy_dst.quad_part = in dcn30_apply_idle_power_optimizations() 858 (plane->address.grph.cursor_cache_addr.quad_part + 2047) & ~2047; in dcn30_apply_idle_power_optimizations() 868 cursor_attr.address.quad_part = cmd.mall.cursor_copy_dst.quad_part; in dcn30_apply_idle_power_optimizations()
|
D | dcn30_mmhubbub.c | 80 union large_integer start_address_shift = {.quad_part = params->start_address.quad_part >> 5}; in mmhubbub3_warmup_mcif()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn201/ |
D | dcn201_hwseq.c | 90 if (hwseq->fb_base.quad_part <= addr->quad_part && in gpu_addr_to_uma() 91 addr->quad_part < hwseq->fb_top.quad_part) { in gpu_addr_to_uma() 92 addr->quad_part -= hwseq->fb_base.quad_part; in gpu_addr_to_uma() 93 addr->quad_part += hwseq->fb_offset.quad_part; in gpu_addr_to_uma() 95 } else if (hwseq->fb_offset.quad_part <= addr->quad_part && in gpu_addr_to_uma() 96 addr->quad_part <= hwseq->uma_top.quad_part) { in gpu_addr_to_uma() 210 hws->fb_base.quad_part <<= 24; in read_mmhub_vm_setup() 213 hws->fb_top.quad_part <<= 24; in read_mmhub_vm_setup() 215 hws->fb_offset.quad_part <<= 24; in read_mmhub_vm_setup() 217 hws->uma_top.quad_part = hws->fb_top.quad_part in read_mmhub_vm_setup() [all …]
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn10/ |
D | dcn10_hubp.c | 388 if (address->grph.addr.quad_part == 0) in hubp1_program_surface_flip_and_addr() 395 if (address->grph.meta_addr.quad_part != 0) { in hubp1_program_surface_flip_and_addr() 414 if (address->video_progressive.luma_addr.quad_part == 0 in hubp1_program_surface_flip_and_addr() 415 || address->video_progressive.chroma_addr.quad_part == 0) in hubp1_program_surface_flip_and_addr() 424 if (address->video_progressive.luma_meta_addr.quad_part != 0) { in hubp1_program_surface_flip_and_addr() 459 if (address->grph_stereo.left_addr.quad_part == 0) in hubp1_program_surface_flip_and_addr() 461 if (address->grph_stereo.right_addr.quad_part == 0) in hubp1_program_surface_flip_and_addr() 474 if (address->grph_stereo.right_meta_addr.quad_part != 0) { in hubp1_program_surface_flip_and_addr() 484 if (address->grph_stereo.left_meta_addr.quad_part != 0) { in hubp1_program_surface_flip_and_addr() 752 if (earliest_inuse_address.grph.addr.quad_part != hubp->request_address.grph.addr.quad_part) in hubp1_is_flip_pending() [all …]
|
D | dcn10_hw_sequencer.c | 2376 apt->sys_default.quad_part = physical_page_number.quad_part << 12; in mmhub_read_vm_system_aperture_settings() 2377 apt->sys_low.quad_part = (int64_t)logical_addr_low << 18; in mmhub_read_vm_system_aperture_settings() 2378 apt->sys_high.quad_part = (int64_t)logical_addr_high << 18; in mmhub_read_vm_system_aperture_settings() 2420 fb_base.quad_part = (uint64_t)fb_base_value << 24; in mmhub_read_vm_context0_settings() 2421 fb_offset.quad_part = (uint64_t)fb_offset_value << 24; in mmhub_read_vm_context0_settings() 2422 vm0->pte_base.quad_part += fb_base.quad_part; in mmhub_read_vm_context0_settings() 2423 vm0->pte_base.quad_part -= fb_offset.quad_part; in mmhub_read_vm_context0_settings() 2808 if (pipe_ctx->stream->cursor_attributes.address.quad_part != 0) { in dcn10_update_dchubp_dpp()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn21/ |
D | dcn21_hubp.c | 237 mc_vm_apt_low.quad_part = apt->sys_low.quad_part >> 18; in hubp21_set_vm_system_aperture_settings() 238 mc_vm_apt_high.quad_part = apt->sys_high.quad_part >> 18; in hubp21_set_vm_system_aperture_settings() 241 MC_VM_SYSTEM_APERTURE_LOW_ADDR, mc_vm_apt_low.quad_part); in hubp21_set_vm_system_aperture_settings() 244 MC_VM_SYSTEM_APERTURE_HIGH_ADDR, mc_vm_apt_high.quad_part); in hubp21_set_vm_system_aperture_settings() 712 if (address->grph.addr.quad_part == 0) { in hubp21_program_surface_flip_and_addr() 717 if (address->grph.meta_addr.quad_part != 0) { in hubp21_program_surface_flip_and_addr() 730 if (address->video_progressive.luma_addr.quad_part == 0 in hubp21_program_surface_flip_and_addr() 731 || address->video_progressive.chroma_addr.quad_part == 0) in hubp21_program_surface_flip_and_addr() 734 if (address->video_progressive.luma_meta_addr.quad_part != 0) { in hubp21_program_surface_flip_and_addr() 759 if (address->grph_stereo.left_addr.quad_part == 0) in hubp21_program_surface_flip_and_addr() [all …]
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn20/ |
D | dcn20_hubp.c | 55 mc_vm_apt_default.quad_part = apt->sys_default.quad_part >> 12; in hubp2_set_vm_system_aperture_settings() 58 mc_vm_apt_low.quad_part = apt->sys_low.quad_part >> 18; in hubp2_set_vm_system_aperture_settings() 59 mc_vm_apt_high.quad_part = apt->sys_high.quad_part >> 18; in hubp2_set_vm_system_aperture_settings() 69 MC_VM_SYSTEM_APERTURE_LOW_ADDR, mc_vm_apt_low.quad_part); in hubp2_set_vm_system_aperture_settings() 72 MC_VM_SYSTEM_APERTURE_HIGH_ADDR, mc_vm_apt_high.quad_part); in hubp2_set_vm_system_aperture_settings() 740 if (address->grph.addr.quad_part == 0) in hubp2_program_surface_flip_and_addr() 747 if (address->grph.meta_addr.quad_part != 0) { in hubp2_program_surface_flip_and_addr() 766 if (address->video_progressive.luma_addr.quad_part == 0 in hubp2_program_surface_flip_and_addr() 767 || address->video_progressive.chroma_addr.quad_part == 0) in hubp2_program_surface_flip_and_addr() 776 if (address->video_progressive.luma_meta_addr.quad_part != 0) { in hubp2_program_surface_flip_and_addr() [all …]
|
D | dcn20_hwseq.c | 1171 apt.sys_default.quad_part = 0; in dcn20_enable_plane() 1173 apt.sys_low.quad_part = dc->vm_pa_config.system_aperture.start_addr; in dcn20_enable_plane() 1174 apt.sys_high.quad_part = dc->vm_pa_config.system_aperture.end_addr; in dcn20_enable_plane() 1555 pipe_ctx->stream->cursor_attributes.address.quad_part != 0) { in dcn20_update_dchubp_dpp() 2198 attr.address.quad_part = in dcn20_set_dmdata_attributes() 2199 pipe_ctx->stream->dmdata_address.quad_part; in dcn20_set_dmdata_attributes() 2648 if (pipe_ctx->stream->dmdata_address.quad_part != 0) { in dcn20_program_dmdata_engine()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn316/ |
D | dcn316_clk_mgr.c | 419 if (!table || clk_mgr_dcn316->smu_wm_set.mc_address.quad_part == 0) in dcn316_notify_wm_ranges() 441 if (!table || smu_dpm_clks->mc_address.quad_part == 0) in dcn316_get_dpm_table_from_smu() 638 &clk_mgr->smu_wm_set.mc_address.quad_part); in dcn316_clk_mgr_construct() 642 clk_mgr->smu_wm_set.mc_address.quad_part = 0; in dcn316_clk_mgr_construct() 650 &smu_dpm_clks.mc_address.quad_part); in dcn316_clk_mgr_construct() 654 smu_dpm_clks.mc_address.quad_part = 0; in dcn316_clk_mgr_construct() 709 if (smu_dpm_clks.dpm_clks && smu_dpm_clks.mc_address.quad_part != 0) in dcn316_clk_mgr_construct() 718 if (clk_mgr->smu_wm_set.wm_set && clk_mgr->smu_wm_set.mc_address.quad_part != 0) in dcn316_clk_mgr_destroy()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn301/ |
D | vg_clk_mgr.c | 453 if (!table || clk_mgr_vgh->smu_wm_set.mc_address.quad_part == 0) in vg_notify_wm_ranges() 631 if (!table || smu_dpm_clks->mc_address.quad_part == 0) in vg_get_dpm_table_from_smu() 668 &clk_mgr->smu_wm_set.mc_address.quad_part); in vg_clk_mgr_construct() 672 clk_mgr->smu_wm_set.mc_address.quad_part = 0; in vg_clk_mgr_construct() 680 &smu_dpm_clks.mc_address.quad_part); in vg_clk_mgr_construct() 684 smu_dpm_clks.mc_address.quad_part = 0; in vg_clk_mgr_construct() 729 if (smu_dpm_clks.dpm_clks && smu_dpm_clks.mc_address.quad_part != 0) in vg_clk_mgr_construct() 744 if (clk_mgr->smu_wm_set.wm_set && clk_mgr->smu_wm_set.mc_address.quad_part != 0) in vg_clk_mgr_destroy()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/core/ |
D | dc_debug.c | 83 plane_state->address.grph.addr.quad_part, in pre_surface_trace() 84 plane_state->address.grph.meta_addr.quad_part, in pre_surface_trace() 195 update->flip_addr->address.grph.addr.quad_part, in update_surface_trace() 196 update->flip_addr->address.grph.meta_addr.quad_part, in update_surface_trace()
|
D | dc_stream.c | 328 if (attributes->address.quad_part == 0) { in dc_stream_set_cursor_attributes() 699 pipe_ctx->stream->dmdata_address.quad_part != 0) { in dc_stream_set_dynamic_metadata()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn31/ |
D | dcn31_clk_mgr.c | 483 if (!table || clk_mgr_dcn31->smu_wm_set.mc_address.quad_part == 0) in dcn31_notify_wm_ranges() 505 if (!table || smu_dpm_clks->mc_address.quad_part == 0) in dcn31_get_dpm_table_from_smu() 692 &clk_mgr->smu_wm_set.mc_address.quad_part); in dcn31_clk_mgr_construct() 696 clk_mgr->smu_wm_set.mc_address.quad_part = 0; in dcn31_clk_mgr_construct() 704 &smu_dpm_clks.mc_address.quad_part); in dcn31_clk_mgr_construct() 708 smu_dpm_clks.mc_address.quad_part = 0; in dcn31_clk_mgr_construct() 797 if (smu_dpm_clks.dpm_clks && smu_dpm_clks.mc_address.quad_part != 0) in dcn31_clk_mgr_construct() 806 if (clk_mgr->smu_wm_set.wm_set && clk_mgr->smu_wm_set.mc_address.quad_part != 0) in dcn31_clk_mgr_destroy()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn315/ |
D | dcn315_clk_mgr.c | 427 if (!table || clk_mgr_dcn315->smu_wm_set.mc_address.quad_part == 0) in dcn315_notify_wm_ranges() 449 if (!table || smu_dpm_clks->mc_address.quad_part == 0) in dcn315_get_dpm_table_from_smu() 629 &clk_mgr->smu_wm_set.mc_address.quad_part); in dcn315_clk_mgr_construct() 633 clk_mgr->smu_wm_set.mc_address.quad_part = 0; in dcn315_clk_mgr_construct() 641 &smu_dpm_clks.mc_address.quad_part); in dcn315_clk_mgr_construct() 645 smu_dpm_clks.mc_address.quad_part = 0; in dcn315_clk_mgr_construct() 731 if (smu_dpm_clks.dpm_clks && smu_dpm_clks.mc_address.quad_part != 0) in dcn315_clk_mgr_construct() 740 if (clk_mgr->smu_wm_set.wm_set && clk_mgr->smu_wm_set.mc_address.quad_part != 0) in dcn315_clk_mgr_destroy()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn314/ |
D | dcn314_clk_mgr.c | 502 if (!table || clk_mgr_dcn314->smu_wm_set.mc_address.quad_part == 0) in dcn314_notify_wm_ranges() 524 if (!table || smu_dpm_clks->mc_address.quad_part == 0) in dcn314_get_dpm_table_from_smu() 742 &clk_mgr->smu_wm_set.mc_address.quad_part); in dcn314_clk_mgr_construct() 746 clk_mgr->smu_wm_set.mc_address.quad_part = 0; in dcn314_clk_mgr_construct() 754 &smu_dpm_clks.mc_address.quad_part); in dcn314_clk_mgr_construct() 758 smu_dpm_clks.mc_address.quad_part = 0; in dcn314_clk_mgr_construct() 847 if (smu_dpm_clks.dpm_clks && smu_dpm_clks.mc_address.quad_part != 0) in dcn314_clk_mgr_construct() 856 if (clk_mgr->smu_wm_set.wm_set && clk_mgr->smu_wm_set.mc_address.quad_part != 0) in dcn314_clk_mgr_destroy()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dmub/src/ |
D | dmub_srv.c | 535 cw0.offset.quad_part = inst_fb->gpu_addr; in dmub_srv_hw_init() 539 cw1.offset.quad_part = stack_fb->gpu_addr; in dmub_srv_hw_init() 560 cw2.offset.quad_part = data_fb->gpu_addr; in dmub_srv_hw_init() 564 cw3.offset.quad_part = bios_fb->gpu_addr; in dmub_srv_hw_init() 568 cw4.offset.quad_part = mail_fb->gpu_addr; in dmub_srv_hw_init() 584 cw5.offset.quad_part = tracebuff_fb->gpu_addr; in dmub_srv_hw_init() 591 cw6.offset.quad_part = fw_state_fb->gpu_addr; in dmub_srv_hw_init()
|
D | dmub_dcn30.c | 84 addr_out->quad_part = addr_in->quad_part - fb_base + fb_offset; in dmub_dcn30_translate_addr()
|
D | dmub_dcn20.c | 84 addr_out->quad_part = addr_in->quad_part - fb_base + fb_offset; in dmub_dcn20_translate_addr()
|
D | dmub_dcn31.c | 80 addr_out->quad_part = addr_in->quad_part - fb_base + fb_offset; in dmub_dcn31_translate_addr()
|
D | dmub_dcn32.c | 81 addr_out->quad_part = addr_in->quad_part - fb_base + fb_offset; in dmub_dcn32_translate_addr()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn32/ |
D | dcn32_mmhubbub.c | 80 union large_integer start_address_shift = {.quad_part = params->start_address.quad_part >> 5}; in mmhubbub32_warmup_mcif()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/inc/ |
D | compressor.h | 45 uint64_t quad_part; member
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dce/ |
D | dce_mem_input.c | 853 if (address->grph.addr.quad_part == 0) in dce_mi_program_surface_flip_and_addr() 858 if (address->grph_stereo.left_addr.quad_part == 0 || in dce_mi_program_surface_flip_and_addr() 859 address->grph_stereo.right_addr.quad_part == 0) in dce_mi_program_surface_flip_and_addr()
|
D | dmub_abm.c | 192 …cmd.abm_init_config.abm_init_config_data.src.quad_part = dc->dmub_srv->dmub->scratch_mem_fb.gpu_ad… in dmub_abm_init_config()
|