Searched refs:vm (Results 201 - 225 of 496) sorted by path

1234567891011>>

/linux-master/drivers/gpu/drm/kmb/
H A Dkmb_crtc.c73 struct kmb_crtc_timing vm; local
90 vm.vfront_porch = 2;
91 vm.vback_porch = 2;
92 vm.vsync_len = 8;
93 vm.hfront_porch = 0;
94 vm.hback_porch = 0;
95 vm.hsync_len = 28;
99 m->crtc_vdisplay, vm.vback_porch, vm.vfront_porch,
100 vm
[all...]
/linux-master/drivers/gpu/drm/lima/
H A Dlima_drv.c222 priv->vm = lima_vm_create(ldev);
223 if (!priv->vm) {
243 lima_vm_put(priv->vm);
H A Dlima_drv.h24 struct lima_vm *vm; member in struct:lima_drm_priv
H A Dlima_gem.c21 int lima_heap_alloc(struct lima_bo *bo, struct lima_vm *vm) argument
89 if (vm) {
90 ret = lima_vm_map_bo(vm, bo, old_size >> PAGE_SHIFT);
167 struct lima_vm *vm = priv->vm; local
169 return lima_vm_bo_add(vm, bo, true);
176 struct lima_vm *vm = priv->vm; local
178 lima_vm_bo_del(vm, bo);
246 struct lima_vm *vm local
302 struct lima_vm *vm = priv->vm; local
[all...]
H A Dlima_gem.h37 int lima_heap_alloc(struct lima_bo *bo, struct lima_vm *vm);
H A Dlima_gp.c142 lima_vm_get_va(task->vm, bo) ==
256 ret = lima_heap_alloc(task->heap, task->vm);
H A Dlima_mmu.c134 void lima_mmu_switch_vm(struct lima_ip *ip, struct lima_vm *vm) argument
143 mmu_write(LIMA_MMU_DTE_ADDR, vm->pd.dma);
H A Dlima_mmu.h16 void lima_mmu_switch_vm(struct lima_ip *ip, struct lima_vm *vm);
H A Dlima_sched.c116 struct lima_vm *vm)
127 err = drm_sched_job_init(&task->base, &context->base, 1, vm);
136 task->vm = lima_vm_get(vm);
153 lima_vm_put(task->vm);
252 pipe->current_vm = lima_vm_get(task->vm);
356 buffer_chunk->va = lima_vm_get_va(task->vm, bo);
475 struct lima_vm *vm = task->vm; local
482 lima_vm_bo_del(vm, bo
113 lima_sched_task_init(struct lima_sched_task *task, struct lima_sched_context *context, struct lima_bo **bos, int num_bos, struct lima_vm *vm) argument
[all...]
H A Dlima_sched.h23 struct lima_vm *vm; member in struct:lima_sched_task
91 struct lima_vm *vm);
H A Dlima_vm.c18 struct lima_vm *vm; member in struct:lima_bo_va
35 static void lima_vm_unmap_range(struct lima_vm *vm, u32 start, u32 end) argument
43 vm->bts[pbe].cpu[bte] = 0;
47 static int lima_vm_map_page(struct lima_vm *vm, dma_addr_t pa, u32 va) argument
52 if (!vm->bts[pbe].cpu) {
57 vm->bts[pbe].cpu = dma_alloc_wc(
58 vm->dev->dev, LIMA_PAGE_SIZE << LIMA_VM_NUM_PT_PER_BT_SHIFT,
59 &vm->bts[pbe].dma, GFP_KERNEL | __GFP_NOWARN | __GFP_ZERO);
60 if (!vm->bts[pbe].cpu)
63 pts = vm
77 lima_vm_bo_find(struct lima_vm *vm, struct lima_bo *bo) argument
91 lima_vm_bo_add(struct lima_vm *vm, struct lima_bo *bo, bool create) argument
155 lima_vm_bo_del(struct lima_vm *vm, struct lima_bo *bo) argument
185 lima_vm_get_va(struct lima_vm *vm, struct lima_bo *bo) argument
202 struct lima_vm *vm; local
237 struct lima_vm *vm = container_of(kref, struct lima_vm, refcount); local
254 lima_vm_print(struct lima_vm *vm) argument
283 lima_vm_map_bo(struct lima_vm *vm, struct lima_bo *bo, int pageoff) argument
[all...]
H A Dlima_vm.h41 int lima_vm_bo_add(struct lima_vm *vm, struct lima_bo *bo, bool create);
42 void lima_vm_bo_del(struct lima_vm *vm, struct lima_bo *bo);
44 u32 lima_vm_get_va(struct lima_vm *vm, struct lima_bo *bo);
49 static inline struct lima_vm *lima_vm_get(struct lima_vm *vm) argument
51 kref_get(&vm->refcount);
52 return vm;
55 static inline void lima_vm_put(struct lima_vm *vm) argument
57 if (vm)
58 kref_put(&vm->refcount, lima_vm_release);
61 void lima_vm_print(struct lima_vm *vm);
[all...]
/linux-master/drivers/gpu/drm/mediatek/
H A Dmtk_dp.c88 struct videomode vm; member in struct:mtk_dp_info
393 struct videomode *vm = &mtk_dp->info.vm; local
395 drm_display_mode_from_videomode(vm, &mode);
401 vm->hsync_len + vm->hback_porch,
404 vm->hsync_len, HSW_SW_DP_ENC0_P0_MASK);
408 vm->hactive, HWIDTH_SW_DP_ENC0_P0_MASK);
414 vm->vsync_len + vm
1335 struct videomode *vm = &mtk_dp->info.vm; local
1370 struct videomode *vm = &mtk_dp->info.vm; local
[all...]
H A Dmtk_dpi.c514 struct videomode vm = { 0 }; local
520 drm_display_mode_to_videomode(mode, &vm);
521 pll_rate = vm.pixelclock * factor;
524 pll_rate, vm.pixelclock);
534 vm.pixelclock = pll_rate / factor;
535 vm.pixelclock /= dpi->conf->pixels_per_iter;
539 clk_set_rate(dpi->pixel_clk, vm.pixelclock * 2);
541 clk_set_rate(dpi->pixel_clk, vm.pixelclock);
544 vm.pixelclock = clk_get_rate(dpi->pixel_clk);
547 pll_rate, vm
[all...]
H A Dmtk_dsi.c212 struct videomode vm; member in struct:mtk_dsi
400 ps_wc = FIELD_PREP(DSI_PS_WC, dsi->vm.hactive * dsi_buf_bpp);
422 vact_nl = FIELD_PREP(VACT_NL, dsi->vm.vactive);
440 struct videomode *vm = &dsi->vm; local
447 writel(vm->vsync_len, dsi->regs + DSI_VSA_NL);
448 writel(vm->vback_porch, dsi->regs + DSI_VBP_NL);
449 writel(vm->vfront_porch, dsi->regs + DSI_VFP_NL);
450 writel(vm->vactive, dsi->regs + DSI_VACT_NL);
453 writel(FIELD_PREP(DSI_HEIGHT, vm
[all...]
/linux-master/drivers/gpu/drm/nouveau/include/nvkm/core/
H A Dmemory.h66 #define nvkm_memory_map(p,o,vm,va,av,ac) \
67 (p)->func->map((p),(o),(vm),(va),(av),(ac))
/linux-master/drivers/gpu/drm/nouveau/
H A Dnouveau_sched.c279 .vm = &nouveau_cli_uvmm(job->cli)->base,
H A Dnouveau_uvmm.c450 drm_gpuva_insert(va->vm, va);
H A Dnouveau_uvmm.h41 #define to_uvmm(x) uvmm_from_gpuvm((x)->va.vm)
/linux-master/drivers/gpu/drm/omapdrm/dss/
H A Ddispc.c104 const struct videomode *vm,
2140 const struct videomode *vm, u16 pos_x,
2150 nonactive = vm->hactive + vm->hfront_porch + vm->hsync_len +
2151 vm->hback_porch - out_width;
2158 blank = div_u64((u64)(vm->hback_porch + vm->hsync_len + vm->hfront_porch) *
2194 const struct videomode *vm, u1
2139 check_horiz_timing_omap3(unsigned long pclk, unsigned long lclk, const struct videomode *vm, u16 pos_x, u16 width, u16 height, u16 out_width, u16 out_height, bool five_taps) argument
2193 calc_core_clk_five_taps(unsigned long pclk, const struct videomode *vm, u16 width, u16 height, u16 out_width, u16 out_height, u32 fourcc) argument
2286 dispc_ovl_calc_scaling_24xx(struct dispc_device *dispc, unsigned long pclk, unsigned long lclk, const struct videomode *vm, u16 width, u16 height, u16 out_width, u16 out_height, u32 fourcc, bool *five_taps, int *x_predecim, int *y_predecim, int *decim_x, int *decim_y, u16 pos_x, unsigned long *core_clk, bool mem_to_mem) argument
2335 dispc_ovl_calc_scaling_34xx(struct dispc_device *dispc, unsigned long pclk, unsigned long lclk, const struct videomode *vm, u16 width, u16 height, u16 out_width, u16 out_height, u32 fourcc, bool *five_taps, int *x_predecim, int *y_predecim, int *decim_x, int *decim_y, u16 pos_x, unsigned long *core_clk, bool mem_to_mem) argument
2423 dispc_ovl_calc_scaling_44xx(struct dispc_device *dispc, unsigned long pclk, unsigned long lclk, const struct videomode *vm, u16 width, u16 height, u16 out_width, u16 out_height, u32 fourcc, bool *five_taps, int *x_predecim, int *y_predecim, int *decim_x, int *decim_y, u16 pos_x, unsigned long *core_clk, bool mem_to_mem) argument
2495 dispc_ovl_calc_scaling(struct dispc_device *dispc, enum omap_plane_id plane, unsigned long pclk, unsigned long lclk, enum omap_overlay_caps caps, const struct videomode *vm, u16 width, u16 height, u16 out_width, u16 out_height, u32 fourcc, bool *five_taps, int *x_predecim, int *y_predecim, u16 pos_x, enum omap_dss_rotation_type rotation_type, bool mem_to_mem) argument
2610 dispc_ovl_setup_common(struct dispc_device *dispc, enum omap_plane_id plane, enum omap_overlay_caps caps, u32 paddr, u32 p_uv_addr, u16 screen_width, int pos_x, int pos_y, u16 width, u16 height, u16 out_width, u16 out_height, u32 fourcc, u8 rotation, u8 zorder, u8 pre_mult_alpha, u8 global_alpha, enum omap_dss_rotation_type rotation_type, bool replication, const struct videomode *vm, bool mem_to_mem, enum drm_color_encoding color_encoding, enum drm_color_range color_range) argument
2789 dispc_ovl_setup(struct dispc_device *dispc, enum omap_plane_id plane, const struct omap_overlay_info *oi, const struct videomode *vm, bool mem_to_mem, enum omap_channel channel) argument
2817 dispc_wb_setup(struct dispc_device *dispc, const struct omap_dss_writeback_info *wi, bool mem_to_mem, const struct videomode *vm, enum dss_writeback_channel channel_in) argument
3125 dispc_mgr_check_timings(struct dispc_device *dispc, enum omap_channel channel, const struct videomode *vm) argument
3150 _dispc_mgr_set_lcd_timings(struct dispc_device *dispc, enum omap_channel channel, const struct videomode *vm) argument
3218 dispc_mgr_set_timings(struct dispc_device *dispc, enum omap_channel channel, const struct videomode *vm) argument
4583 struct videomode vm; member in struct:dispc_errata_i734_data
[all...]
H A Ddsi.c2517 const struct videomode *vm = &dsi->vm; local
2522 if (dsi->line_buffer_size <= vm->hactive * bpp / 8)
2646 const struct videomode *vm = &dsi->vm; local
2687 width_bytes = DIV_ROUND_UP(vm->hactive * bpp, 8);
2895 const struct videomode *vm = &dsi->vm; local
2903 width_bytes = DIV_ROUND_UP(vm->hactive * bpp, 8);
2912 vsa, vm
3609 print_dispc_vm(const char *str, const struct videomode *vm) argument
3640 struct videomode vm = { 0 }; local
3665 struct videomode *vm = &ctx->vm; local
4015 const struct videomode *vm = cfg->vm; local
4065 struct videomode vm; local
[all...]
H A Ddsi.h221 const struct videomode *vm; member in struct:omap_dss_dsi_config
312 struct videomode vm; member in struct:dsi_clk_calc_ctx
440 struct videomode vm; member in struct:dsi_data
H A Ddss.h436 const struct videomode *vm);
443 const struct videomode *vm);
455 const struct videomode *vm, bool mem_to_mem,
464 bool mem_to_mem, const struct videomode *vm,
H A Dhdmi.h177 struct videomode vm; member in struct:hdmi_config
308 const struct videomode *vm);
310 const struct videomode *vm);
312 struct videomode *vm, const struct hdmi_config *param);
H A Dhdmi4.c149 const struct videomode *vm; local
162 vm = &hdmi->cfg.vm;
164 DSSDBG("hdmi_power_on hactive= %d vactive = %d\n", vm->hactive,
165 vm->vactive);
167 pc = vm->pixelclock;
168 if (vm->flags & DISPLAY_FLAGS_DOUBLECLK)
336 drm_display_mode_to_videomode(adjusted_mode, &hdmi->cfg.vm);
394 hdmi->cfg.vm.pixelclock);
599 hd->cfg.vm
[all...]

Completed in 323 milliseconds

1234567891011>>