/linux-master/drivers/gpu/drm/amd/amdgpu/ |
H A D | gfx_v7_0.c | 3128 * gfx_v7_0_ring_emit_pipeline_sync - cik vm flush using the CP 3161 * vm 3164 * by the amdgpu vm/hsa code. 3167 * gfx_v7_0_ring_emit_vm_flush - cik vm flush using the CP 4147 u32 me, u32 pipe, u32 q, u32 vm, u32 xcc_id) 4149 cik_srbm_select(adev, me, pipe, q, vm); 4996 12 + 12 + 12 + /* gfx_v7_0_ring_emit_fence_gfx x3 for user fence, vm fence */ 5032 7 + 7 + 7 + /* gfx_v7_0_ring_emit_fence_compute x3 for user fence, vm fence */ 4146 gfx_v7_0_select_me_pipe_q(struct amdgpu_device *adev, u32 me, u32 pipe, u32 q, u32 vm, u32 xcc_id) argument
|
H A D | gfx_v8_0.c | 3421 u32 me, u32 pipe, u32 q, u32 vm, u32 xcc_id) 3423 vi_srbm_select(adev, me, pipe, q, vm); 6945 7 + 7 + 7 + /* gfx_v8_0_ring_emit_fence_compute x3 for user fence, vm fence */ 6979 7 + 7 + 7, /* gfx_v8_0_ring_emit_fence_kiq x3 for user fence, vm fence */ 3420 gfx_v8_0_select_me_pipe_q(struct amdgpu_device *adev, u32 me, u32 pipe, u32 q, u32 vm, u32 xcc_id) argument
|
H A D | gfx_v9_0.c | 1808 u32 me, u32 pipe, u32 q, u32 vm, u32 xcc_id) 1810 soc15_grbm_select(adev, me, pipe, q, vm, 0); 6986 8 + 8 + 8 + /* gfx_v9_0_ring_emit_fence x3 for user fence, vm fence */ 7023 8 + 8 + 8, /* gfx_v9_0_ring_emit_fence_kiq x3 for user fence, vm fence */ 1807 gfx_v9_0_select_me_pipe_q(struct amdgpu_device *adev, u32 me, u32 pipe, u32 q, u32 vm, u32 xcc_id) argument
|
H A D | gfx_v9_4_3.c | 622 u32 me, u32 pipe, u32 q, u32 vm, u32 xcc_id) 624 soc15_grbm_select(adev, me, pipe, q, vm, GET_INST(GC, xcc_id)); 4039 8 + 8 + 8 + /* gfx_v9_4_3_ring_emit_fence x3 for user fence, vm fence */ 4077 8 + 8 + 8, /* gfx_v9_4_3_ring_emit_fence_kiq x3 for user fence, vm fence */ 621 gfx_v9_4_3_select_me_pipe_q(struct amdgpu_device *adev, u32 me, u32 pipe, u32 q, u32 vm, u32 xcc_id) argument
|
H A D | gmc_v9_0.c | 815 * by the amdgpu vm/hsa code. 822 * @vmid: vm instance to flush 1128 struct amdgpu_vm *vm = mapping->bo_va->base.vm; local 1192 KFD_XCP_MEM_ID(adev, bo->xcp_id) == vm->mem_id); 1256 struct amdgpu_vm *vm, 1291 if (adev->gmc.is_app_apu && vm->mem_id >= 0) { 1292 local_node = adev->gmc.mem_partitions[vm->mem_id].numa.node; 1306 dev_dbg_ratelimited(adev->dev, "vm->mem_id=%d, local_node=%d, nid=%d\n", 1307 vm 1255 gmc_v9_0_override_vm_pte_flags(struct amdgpu_device *adev, struct amdgpu_vm *vm, uint64_t addr, uint64_t *flags) argument [all...] |
H A D | vcn_v1_0.c | 1920 struct amdgpu_vm *vm = &fpriv->vm; local 1931 mapping = amdgpu_vm_bo_lookup_mapping(vm, addr/AMDGPU_GPU_PAGE_SIZE); 1993 14 + 14 + /* vcn_v1_0_dec_ring_emit_fence x2 vm fence */ 2025 5 + 5 + /* vcn_v1_0_enc_ring_emit_fence x2 vm fence */
|
/linux-master/drivers/gpu/drm/amd/amdkfd/ |
H A D | kfd_priv.h | 191 * Don't evict process queues on vm fault 1469 struct amdgpu_vm *vm = drm_priv_to_vm(pdd->drm_priv); local 1471 amdgpu_vm_flush_compute_tlb(adev, vm, type, pdd->dev->xcc_mask);
|
H A D | kfd_process.c | 1670 avm = &drv_priv->vm;
|
H A D | kfd_svm.c | 1272 svm_range_unmap_from_gpu(struct amdgpu_device *adev, struct amdgpu_vm *vm, argument 1280 return amdgpu_vm_update_range(adev, vm, false, true, true, false, NULL, start, 1348 struct amdgpu_vm *vm = drm_priv_to_vm(pdd->drm_priv); local 1387 r = amdgpu_vm_update_range(adev, vm, false, false, flush_tlb, true, 1392 NULL, dma_addr, &vm->last_update); 1404 r = amdgpu_vm_update_pdes(adev, vm, false); 1412 *fence = dma_fence_get(vm->last_update); 1486 struct amdgpu_vm *vm; local 1499 vm = drm_priv_to_vm(pdd->drm_priv); 1501 r = amdgpu_vm_lock_pd(vm, 2717 struct amdgpu_vm *vm; local 3229 struct amdgpu_vm *vm; local [all...] |
/linux-master/drivers/gpu/drm/amd/display/dc/dml/dcn30/ |
H A D | display_rq_dlg_calc_30.c | 1453 dml_print("BENyamin: dmdta_en vm = %d %d \n", 1454 src->dynamic_metadata_enable, src->vm);
|
/linux-master/drivers/gpu/drm/amd/display/dc/dml/ |
H A D | display_mode_lib.c | 187 dml_print("DML PARAMS: vm = %d\n", pipe_src->vm);
|
H A D | display_mode_structs.h | 390 unsigned char vm; member in struct:_vcs_dpi_display_pipe_source_params_st
|
H A D | display_mode_vba.c | 882 mode_lib->vba.GPUVMEnable = mode_lib->vba.GPUVMEnable || !!pipes[k].pipe.src.gpuvm || !!pipes[k].pipe.src.vm; 890 mode_lib->vba.HostVMEnable = mode_lib->vba.HostVMEnable || !!pipes[k].pipe.src.hostvm || !!pipes[k].pipe.src.vm;
|
/linux-master/drivers/gpu/drm/arm/ |
H A D | hdlcd_crtc.c | 131 struct videomode vm; local 134 vm.vfront_porch = m->crtc_vsync_start - m->crtc_vdisplay; 135 vm.vback_porch = m->crtc_vtotal - m->crtc_vsync_end; 136 vm.vsync_len = m->crtc_vsync_end - m->crtc_vsync_start; 137 vm.hfront_porch = m->crtc_hsync_start - m->crtc_hdisplay; 138 vm.hback_porch = m->crtc_htotal - m->crtc_hsync_end; 139 vm.hsync_len = m->crtc_hsync_end - m->crtc_hsync_start; 153 hdlcd_write(hdlcd, HDLCD_REG_V_BACK_PORCH, vm.vback_porch - 1); 154 hdlcd_write(hdlcd, HDLCD_REG_V_FRONT_PORCH, vm.vfront_porch - 1); 155 hdlcd_write(hdlcd, HDLCD_REG_V_SYNC, vm [all...] |
H A D | malidp_crtc.c | 54 struct videomode vm; local 62 drm_display_mode_to_videomode(&crtc->state->adjusted_mode, &vm); 68 hwdev->hw->modeset(hwdev, &vm); 258 struct videomode vm; local 333 drm_display_mode_to_videomode(&state->adjusted_mode, &vm); 334 ret = hwdev->hw->se_calc_mclk(hwdev, s, &vm);
|
H A D | malidp_hw.c | 481 struct videomode *vm) 484 unsigned long pxlclk = vm->pixelclock; /* Hz */ 485 unsigned long htotal = vm->hactive + vm->hfront_porch + 486 vm->hback_porch + vm->hsync_len; 822 struct videomode *vm) 825 unsigned long pxlclk = vm->pixelclock; 826 unsigned long htotal = vm->hactive + vm 479 malidp500_se_calc_mclk(struct malidp_hw_device *hwdev, struct malidp_se_config *se_config, struct videomode *vm) argument 820 malidp550_se_calc_mclk(struct malidp_hw_device *hwdev, struct malidp_se_config *se_config, struct videomode *vm) argument [all...] |
H A D | malidp_hw.h | 192 struct videomode *vm);
|
/linux-master/drivers/gpu/drm/atmel-hlcdc/ |
H A D | atmel_hlcdc_crtc.c | 77 struct videomode vm; local 104 vm.vfront_porch = adj->crtc_vsync_start - adj->crtc_vdisplay; 105 vm.vback_porch = adj->crtc_vtotal - adj->crtc_vsync_end; 106 vm.vsync_len = adj->crtc_vsync_end - adj->crtc_vsync_start; 107 vm.hfront_porch = adj->crtc_hsync_start - adj->crtc_hdisplay; 108 vm.hback_porch = adj->crtc_htotal - adj->crtc_hsync_end; 109 vm.hsync_len = adj->crtc_hsync_end - adj->crtc_hsync_start; 112 (vm.hsync_len - 1) | ((vm.vsync_len - 1) << 16)); 115 (vm [all...] |
/linux-master/drivers/gpu/drm/bridge/ |
H A D | tc358768.c | 677 struct videomode vm; local 711 drm_display_mode_to_videomode(mode, &vm); 721 hact = vm.hactive * 3; 726 hact = vm.hactive * 3; 732 hact = vm.hactive * 18 / 8; 738 hact = vm.hactive * 2; 763 dpi_htot = vm.hactive + vm.hfront_porch + vm.hsync_len + vm [all...] |
/linux-master/drivers/gpu/drm/ |
H A D | drm_gpuvm.c | 629 * drm_gpuva_map(ctx->vm, ctx->new_va, &op->map); 818 __drm_gpuvm_bo_list_add((__vm_bo)->vm, \ 819 __lock ? &(__vm_bo)->vm->__list_name.lock : \ 822 &(__vm_bo)->vm->__list_name.list) 847 __drm_gpuvm_bo_list_del((__vm_bo)->vm, \ 848 __lock ? &(__vm_bo)->vm->__list_name.lock : \ 862 __drm_gpuvm_bo_list_del((__vm_bo)->vm, \ 863 __lock ? &(__vm_bo)->vm->__list_name.lock : \ 1248 struct drm_gpuvm *gpuvm = vm_exec->vm; 1340 struct drm_gpuvm *gpuvm = vm_exec->vm; 2427 struct drm_gpuvm *vm; member in struct:__anon510 2523 struct drm_gpuvm *vm; member in struct:__anon511 2586 struct drm_gpuvm *vm; member in struct:__anon512 [all...] |
H A D | drm_modes.c | 1063 * drm_display_mode_from_videomode - fill in @dmode using @vm, 1064 * @vm: videomode structure to use as source 1067 * Fills out @dmode using the display mode specified in @vm. 1069 void drm_display_mode_from_videomode(const struct videomode *vm, argument 1072 dmode->hdisplay = vm->hactive; 1073 dmode->hsync_start = dmode->hdisplay + vm->hfront_porch; 1074 dmode->hsync_end = dmode->hsync_start + vm->hsync_len; 1075 dmode->htotal = dmode->hsync_end + vm->hback_porch; 1077 dmode->vdisplay = vm->vactive; 1078 dmode->vsync_start = dmode->vdisplay + vm 1110 drm_display_mode_to_videomode(const struct drm_display_mode *dmode, struct videomode *vm) argument 1154 drm_bus_flags_from_videomode(const struct videomode *vm, u32 *bus_flags) argument 1193 struct videomode vm; local 1228 struct videomode vm; local [all...] |
/linux-master/drivers/gpu/drm/exynos/ |
H A D | exynos_dp.c | 43 struct videomode vm; member in struct:exynos_dp_device 88 drm_display_mode_from_videomode(&dp->vm, mode); 140 ret = of_get_videomode(dp->dev->of_node, &dp->vm, OF_USE_NATIVE_MODE);
|
H A D | exynos_drm_dpi.c | 33 struct videomode *vm; member in struct:exynos_dpi 69 if (ctx->vm) { 78 drm_display_mode_from_videomode(ctx->vm, mode); 167 struct videomode *vm; local 172 vm = devm_kzalloc(dev, sizeof(*ctx->vm), GFP_KERNEL); 173 if (!vm) 176 ret = of_get_videomode(dn, vm, 0); 178 devm_kfree(dev, vm); 182 ctx->vm [all...] |
H A D | exynos_drm_mic.c | 103 struct videomode vm; member in struct:exynos_mic 157 struct videomode vm = mic->vm; local 160 reg = MIC_V_PULSE_WIDTH(vm.vsync_len) + 161 MIC_V_PERIOD_LINE(vm.vsync_len + vm.vactive + 162 vm.vback_porch + vm.vfront_porch); 165 reg = MIC_VBP_SIZE(vm.vback_porch) + 166 MIC_VFP_SIZE(vm 181 struct videomode *vm = &mic->vm; local 192 struct videomode vm = mic->vm; local [all...] |
/linux-master/drivers/gpu/drm/fsl-dcu/ |
H A D | fsl_dcu_drm_crtc.c | 89 struct videomode vm; local 93 drm_display_mode_to_videomode(mode, &vm); 99 if (vm.flags & DISPLAY_FLAGS_HSYNC_LOW) 102 if (vm.flags & DISPLAY_FLAGS_VSYNC_LOW) 106 DCU_HSYN_PARA_BP(vm.hback_porch) | 107 DCU_HSYN_PARA_PW(vm.hsync_len) | 108 DCU_HSYN_PARA_FP(vm.hfront_porch)); 110 DCU_VSYN_PARA_BP(vm.vback_porch) | 111 DCU_VSYN_PARA_PW(vm.vsync_len) | 112 DCU_VSYN_PARA_FP(vm [all...] |