/linux-6.12.1/drivers/gpu/drm/amd/display/dmub/src/ |
D | dmub_dcn30.c | 62 uint64_t *fb_offset) in dmub_dcn30_get_fb_base_offset() argument 66 if (dmub->fb_base || dmub->fb_offset) { in dmub_dcn30_get_fb_base_offset() 68 *fb_offset = dmub->fb_offset; in dmub_dcn30_get_fb_base_offset() 76 *fb_offset = (uint64_t)tmp << 24; in dmub_dcn30_get_fb_base_offset() 81 uint64_t fb_offset, in dmub_dcn30_translate_addr() argument 84 addr_out->quad_part = addr_in->quad_part - fb_base + fb_offset; in dmub_dcn30_translate_addr() 92 uint64_t fb_base, fb_offset; in dmub_dcn30_backdoor_load() local 94 dmub_dcn30_get_fb_base_offset(dmub, &fb_base, &fb_offset); in dmub_dcn30_backdoor_load() 100 dmub_dcn30_translate_addr(&cw0->offset, fb_base, fb_offset, &offset); in dmub_dcn30_backdoor_load() 109 dmub_dcn30_translate_addr(&cw1->offset, fb_base, fb_offset, &offset); in dmub_dcn30_backdoor_load()
|
D | dmub_dcn20.c | 62 uint64_t *fb_offset) in dmub_dcn20_get_fb_base_offset() argument 66 if (dmub->fb_base || dmub->fb_offset) { in dmub_dcn20_get_fb_base_offset() 68 *fb_offset = dmub->fb_offset; in dmub_dcn20_get_fb_base_offset() 76 *fb_offset = (uint64_t)tmp << 24; in dmub_dcn20_get_fb_base_offset() 81 uint64_t fb_offset, in dmub_dcn20_translate_addr() argument 84 addr_out->quad_part = addr_in->quad_part - fb_base + fb_offset; in dmub_dcn20_translate_addr() 159 uint64_t fb_base, fb_offset; in dmub_dcn20_backdoor_load() local 161 dmub_dcn20_get_fb_base_offset(dmub, &fb_base, &fb_offset); in dmub_dcn20_backdoor_load() 167 dmub_dcn20_translate_addr(&cw0->offset, fb_base, fb_offset, &offset); in dmub_dcn20_backdoor_load() 176 dmub_dcn20_translate_addr(&cw1->offset, fb_base, fb_offset, &offset); in dmub_dcn20_backdoor_load() [all …]
|
D | dmub_dcn31.c | 58 uint64_t *fb_offset) in dmub_dcn31_get_fb_base_offset() argument 62 if (dmub->fb_base || dmub->fb_offset) { in dmub_dcn31_get_fb_base_offset() 64 *fb_offset = dmub->fb_offset; in dmub_dcn31_get_fb_base_offset() 72 *fb_offset = (uint64_t)tmp << 24; in dmub_dcn31_get_fb_base_offset() 77 uint64_t fb_offset, in dmub_dcn31_translate_addr() argument 80 addr_out->quad_part = addr_in->quad_part - fb_base + fb_offset; in dmub_dcn31_translate_addr() 157 uint64_t fb_base, fb_offset; in dmub_dcn31_backdoor_load() local 159 dmub_dcn31_get_fb_base_offset(dmub, &fb_base, &fb_offset); in dmub_dcn31_backdoor_load() 163 dmub_dcn31_translate_addr(&cw0->offset, fb_base, fb_offset, &offset); in dmub_dcn31_backdoor_load() 172 dmub_dcn31_translate_addr(&cw1->offset, fb_base, fb_offset, &offset); in dmub_dcn31_backdoor_load()
|
D | dmub_dcn32.c | 64 uint64_t *fb_offset) in dmub_dcn32_get_fb_base_offset() argument 68 if (dmub->fb_base || dmub->fb_offset) { in dmub_dcn32_get_fb_base_offset() 70 *fb_offset = dmub->fb_offset; in dmub_dcn32_get_fb_base_offset() 78 *fb_offset = (uint64_t)tmp << 24; in dmub_dcn32_get_fb_base_offset() 83 uint64_t fb_offset, in dmub_dcn32_translate_addr() argument 86 addr_out->quad_part = addr_in->quad_part - fb_base + fb_offset; in dmub_dcn32_translate_addr() 156 uint64_t fb_base, fb_offset; in dmub_dcn32_backdoor_load() local 158 dmub_dcn32_get_fb_base_offset(dmub, &fb_base, &fb_offset); in dmub_dcn32_backdoor_load() 162 dmub_dcn32_translate_addr(&cw0->offset, fb_base, fb_offset, &offset); in dmub_dcn32_backdoor_load() 171 dmub_dcn32_translate_addr(&cw1->offset, fb_base, fb_offset, &offset); in dmub_dcn32_backdoor_load()
|
D | dmub_dcn401.c | 38 uint64_t *fb_offset) in dmub_dcn401_get_fb_base_offset() argument 42 if (dmub->fb_base || dmub->fb_offset) { in dmub_dcn401_get_fb_base_offset() 44 *fb_offset = dmub->fb_offset; in dmub_dcn401_get_fb_base_offset() 52 *fb_offset = (uint64_t)tmp << 24; in dmub_dcn401_get_fb_base_offset() 57 uint64_t fb_offset, in dmub_dcn401_translate_addr() argument 60 addr_out->quad_part = addr_in->quad_part - fb_base + fb_offset; in dmub_dcn401_translate_addr() 130 uint64_t fb_base, fb_offset; in dmub_dcn401_backdoor_load() local 132 dmub_dcn401_get_fb_base_offset(dmub, &fb_base, &fb_offset); in dmub_dcn401_backdoor_load() 136 dmub_dcn401_translate_addr(&cw0->offset, fb_base, fb_offset, &offset); in dmub_dcn401_backdoor_load() 145 dmub_dcn401_translate_addr(&cw1->offset, fb_base, fb_offset, &offset); in dmub_dcn401_backdoor_load()
|
D | dmub_dcn35.c | 61 uint64_t *fb_offset) in dmub_dcn35_get_fb_base_offset() argument 77 *fb_offset = (uint64_t)tmp << 24; in dmub_dcn35_get_fb_base_offset() 82 uint64_t fb_offset, in dmub_dcn35_translate_addr() argument 85 addr_out->quad_part = addr_in->quad_part - fb_base + fb_offset; in dmub_dcn35_translate_addr() 177 uint64_t fb_base, fb_offset; in dmub_dcn35_backdoor_load() local 179 dmub_dcn35_get_fb_base_offset(dmub, &fb_base, &fb_offset); in dmub_dcn35_backdoor_load() 181 dmub_dcn35_translate_addr(&cw0->offset, fb_base, fb_offset, &offset); in dmub_dcn35_backdoor_load() 190 dmub_dcn35_translate_addr(&cw1->offset, fb_base, fb_offset, &offset); in dmub_dcn35_backdoor_load()
|
D | dmub_srv.c | 639 dmub->fb_offset = params->fb_offset; in dmub_srv_hw_init()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hwss/dcn201/ |
D | dcn201_hwseq.c | 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() 206 uint32_t fb_offset = REG_READ(MC_VM_FB_OFFSET); in read_mmhub_vm_setup() local 217 hws->fb_offset.low_part = fb_offset; in read_mmhub_vm_setup() 218 hws->fb_offset.quad_part <<= 24; in read_mmhub_vm_setup() 221 - hws->fb_base.quad_part + hws->fb_offset.quad_part; in read_mmhub_vm_setup() 268 if (hws->fb_offset.quad_part == 0) in dcn201_init_hw()
|
/linux-6.12.1/drivers/gpu/drm/logicvc/ |
D | logicvc_layer.c | 275 u32 fb_offset; in logicvc_layer_buffer_find_setup() local 290 fb_offset = (u32) (fb_addr - logicvc->reserved_mem_base); in logicvc_layer_buffer_find_setup() 292 if (fb_offset < base_offset) { in logicvc_layer_buffer_find_setup() 298 gap = fb_offset - base_offset; in logicvc_layer_buffer_find_setup() 330 layer->index, fb_offset - base_offset); in logicvc_layer_buffer_find_setup() 335 layer->index, fb_offset - base_offset); in logicvc_layer_buffer_find_setup()
|
/linux-6.12.1/drivers/gpu/drm/vboxvideo/ |
D | vbox_mode.c | 59 vbox_crtc->fb_offset / pitch < 0xffff - crtc->y && in vbox_do_modeset() 60 vbox_crtc->fb_offset % (bpp / 8) == 0) { in vbox_do_modeset() 67 vbox_crtc->fb_offset % pitch / bpp * 8 + vbox_crtc->x); in vbox_do_modeset() 69 vbox_crtc->fb_offset / pitch + vbox_crtc->y); in vbox_do_modeset() 105 p->view_offset = vbox_crtc->fb_offset; in vbox_set_view() 106 p->view_size = vbox->available_vram_size - vbox_crtc->fb_offset + in vbox_set_view() 108 p->max_screen_size = vbox->available_vram_size - vbox_crtc->fb_offset; in vbox_set_view() 195 vbox_crtc->fb_offset = drm_gem_vram_offset(gbo); in vbox_crtc_set_base_and_mode()
|
D | vbox_drv.h | 97 u32 fb_offset; member
|
/linux-6.12.1/drivers/video/fbdev/ |
D | platinumfb.h | 60 int fb_offset; member
|
D | platinumfb.c | 138 info->screen_base = pinfo->frame_buffer + init->fb_offset + offset; in platinumfb_set_par() 140 info->fix.smem_start = (pinfo->frame_buffer_phys) + init->fb_offset + offset; in platinumfb_set_par() 285 out_be32(&platinum_regs->reg[16].r, (unsigned) pinfo->frame_buffer_phys+init->fb_offset+0x10); in platinum_set_hardware()
|
D | ps3fb.c | 133 unsigned int fb_offset; /* start of actual DDR fb */ member 497 ddr_base + par->fb_offset, xdr_base + par->pan_offset, in ps3fb_sync() 639 par->fb_offset = GPU_ALIGN_UP(offset); in ps3fb_set_par() 640 par->full_offset = par->fb_offset - offset; in ps3fb_set_par()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hwss/dcn21/ |
D | dcn21_hwseq.c | 72 config.system_aperture.fb_offset = pa_config->system_aperture.fb_offset; in dcn21_init_sys_ctx()
|
/linux-6.12.1/tools/perf/util/ |
D | annotate-data.c | 819 int fb_offset = 0; in update_var_state() local 822 if (die_get_cfa(dloc->di->dbg, addr, &fbreg, &fb_offset) < 0) in update_var_state() 838 offset -= fb_offset; in update_var_state() 1401 int fb_offset = 0; in find_data_type_die() local 1476 &fb_offset) < 0) in find_data_type_die() 1491 offset = loc->offset - fb_offset; in find_data_type_die() 1521 fb_offset, type_offset); in find_data_type_die()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dmub/ |
D | dmub_srv.h | 285 uint64_t fb_offset; member 534 uint64_t fb_offset; member
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/inc/hw/ |
D | dchubbub.h | 95 uint64_t fb_offset; member
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hwss/dcn31/ |
D | dcn31_hwseq.c | 485 config.system_aperture.fb_offset = pa_config->system_aperture.fb_offset; in dcn31_init_sys_ctx() 497 pa_config->system_aperture.fb_offset; in dcn31_init_sys_ctx()
|
/linux-6.12.1/drivers/video/fbdev/via/ |
D | via-core.c | 149 u32 fb_offset; /* Offset into FB memory */ member 259 descr->fb_offset = offset; in viafb_dma_copy_out_sg()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hwss/ |
D | hw_sequencer_private.h | 198 PHYSICAL_ADDRESS_LOC fb_offset; member
|
/linux-6.12.1/drivers/media/platform/via/ |
D | via-camera.c | 80 u32 fb_offset; /* Reserved memory offset (FB) */ member 420 offset = cam->fb_offset; in viacam_ctlr_cbufs() 1181 cam->fb_offset = viadev->camera_fbmem_offset; in viacam_probe()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hubbub/dcn30/ |
D | dcn30_hubbub.c | 75 FB_OFFSET, pa_config->system_aperture.fb_offset >> 24); in hubbub3_init_dchub_sys_ctx()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hubbub/dcn20/ |
D | dcn20_hubbub.c | 405 FB_OFFSET, pa_config->system_aperture.fb_offset >> 24); in hubbub2_init_dchub_sys_ctx()
|
/linux-6.12.1/include/uapi/drm/ |
D | radeon_drm.h | 585 unsigned long fb_offset; member
|