Home
last modified time | relevance | path

Searched refs:overlay (Results 1 – 25 of 135) sorted by relevance

123456

/linux/drivers/gpu/drm/i915/display/
H A Dintel_overlay.c237 alloc_request(struct intel_overlay *overlay, void (*fn)(struct intel_overlay *)) in alloc_request() argument
242 overlay->flip_complete = fn; in alloc_request()
244 rq = i915_request_create(overlay->context); in alloc_request()
248 err = i915_active_add_request(&overlay->last_flip, rq); in alloc_request()
258 static int intel_overlay_on(struct intel_overlay *overlay) in intel_overlay_on() argument
260 struct intel_display *display = overlay->display; in intel_overlay_on()
264 drm_WARN_ON(display->drm, overlay->active); in intel_overlay_on()
266 rq = alloc_request(overlay, NULL); in intel_overlay_on()
276 overlay->active = true; in intel_overlay_on()
282 *cs++ = overlay->flip_addr | OFC_UPDATE; in intel_overlay_on()
[all …]
H A Dintel_display_snapshot.c22 struct intel_overlay_snapshot *overlay; member
44 snapshot->overlay = intel_overlay_snapshot_capture(display); in intel_display_snapshot_capture()
64 intel_overlay_snapshot_print(snapshot->overlay, p); in intel_display_snapshot_print()
76 kfree(snapshot->overlay); in intel_display_snapshot_free()
/linux/drivers/gpu/drm/omapdrm/
H A Domap_overlay.c70 u32 caps, u32 fourcc, struct omap_hw_overlay **overlay, in omap_overlay_assign() argument
83 *overlay = ovl; in omap_overlay_assign()
90 *overlay = NULL; in omap_overlay_assign()
114 void omap_overlay_release(struct drm_atomic_state *s, struct omap_hw_overlay *overlay) in omap_overlay_release() argument
120 if (!overlay) in omap_overlay_release()
123 if (WARN_ON(!overlay_map[overlay->idx])) in omap_overlay_release()
126 DBG("%s: release from plane %s", overlay->name, overlay_map[overlay->idx]->name); in omap_overlay_release()
128 overlay_map[overlay->idx] = NULL; in omap_overlay_release()
138 struct omap_hw_overlay *overlay) in omap_overlay_update_state() argument
144 if (!overlay_map[overlay->idx]) { in omap_overlay_update_state()
[all …]
H A Domap_plane.c28 struct omap_hw_overlay *overlay; member
85 if (old_omap_state->overlay) in omap_plane_atomic_update()
86 omap_overlay_update_state(priv, old_omap_state->overlay); in omap_plane_atomic_update()
90 if (!new_omap_state->overlay) { in omap_plane_atomic_update()
95 ovl_id = new_omap_state->overlay->id; in omap_plane_atomic_update()
118 new_omap_state->overlay->name, info.width, info.height, in omap_plane_atomic_update()
184 if (!old_omap_state->overlay) in omap_plane_atomic_disable()
190 omap_overlay_update_state(priv, old_omap_state->overlay); in omap_plane_atomic_disable()
191 new_omap_state->overlay = NULL; in omap_plane_atomic_disable()
254 omap_overlay_release(state, omap_state->overlay); in omap_plane_atomic_check()
[all …]
H A Domap_overlay.h31 u32 caps, u32 fourcc, struct omap_hw_overlay **overlay,
33 void omap_overlay_release(struct drm_atomic_state *s, struct omap_hw_overlay *overlay);
34 void omap_overlay_update_state(struct omap_drm_private *priv, struct omap_hw_overlay *overlay);
/linux/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_overlay.c248 struct vmw_overlay *overlay = dev_priv->overlay_priv; in vmw_overlay_stop() local
249 struct vmw_stream *stream = &overlay->stream[stream_id]; in vmw_overlay_stop()
296 struct vmw_overlay *overlay = dev_priv->overlay_priv; in vmw_overlay_update_stream() local
297 struct vmw_stream *stream = &overlay->stream[arg->stream_id]; in vmw_overlay_update_stream()
359 struct vmw_overlay *overlay = dev_priv->overlay_priv; in vmw_overlay_resume_all() local
362 if (!overlay) in vmw_overlay_resume_all()
365 mutex_lock(&overlay->mutex); in vmw_overlay_resume_all()
368 struct vmw_stream *stream = &overlay->stream[i]; in vmw_overlay_resume_all()
379 mutex_unlock(&overlay->mutex); in vmw_overlay_resume_all()
393 struct vmw_overlay *overlay = dev_priv->overlay_priv; in vmw_overlay_pause_all() local
[all …]
/linux/include/video/
H A Dmmp_disp.h137 void (*set_fetch)(struct mmp_overlay *overlay, int fetch_id);
138 void (*set_onoff)(struct mmp_overlay *overlay, int status);
139 void (*set_win)(struct mmp_overlay *overlay, struct mmp_win *win);
140 int (*set_addr)(struct mmp_overlay *overlay, struct mmp_addr *addr);
263 static inline void mmp_overlay_set_fetch(struct mmp_overlay *overlay, in mmp_overlay_set_fetch() argument
266 if (overlay) in mmp_overlay_set_fetch()
267 overlay->ops->set_fetch(overlay, fetch_id); in mmp_overlay_set_fetch()
269 static inline void mmp_overlay_set_onoff(struct mmp_overlay *overlay, in mmp_overlay_set_onoff() argument
272 if (overlay) in mmp_overlay_set_onoff()
273 overlay->ops->set_onoff(overlay, status); in mmp_overlay_set_onoff()
[all …]
/linux/drivers/video/fbdev/mmp/hw/
H A Dmmp_ctrl.c48 static u32 fmt_to_reg(struct mmp_overlay *overlay, int pix_fmt) in fmt_to_reg() argument
52 vid = overlay_is_vid(overlay); in fmt_to_reg()
119 static void dmafetch_set_fmt(struct mmp_overlay *overlay) in dmafetch_set_fmt() argument
122 struct mmp_path *path = overlay->path; in dmafetch_set_fmt()
124 tmp &= ~dma_mask(overlay_is_vid(overlay)); in dmafetch_set_fmt()
125 tmp |= fmt_to_reg(overlay, overlay->win.pix_fmt); in dmafetch_set_fmt()
129 static void overlay_set_win(struct mmp_overlay *overlay, struct mmp_win *win) in overlay_set_win() argument
131 struct lcd_regs *regs = path_regs(overlay->path); in overlay_set_win()
134 memcpy(&overlay->win, win, sizeof(struct mmp_win)); in overlay_set_win()
136 mutex_lock(&overlay->access_ok); in overlay_set_win()
[all …]
/linux/Documentation/ABI/testing/
H A Dsysfs-devices-platform-sh_mobile_lcdc_fb6 to overlay planes.
8 Stores the alpha blending value for the overlay. Values range
17 to overlay planes.
19 Selects the composition mode for the overlay. Possible values
30 to overlay planes.
32 Stores the x,y overlay position on the display in pixels. The
40 to overlay planes.
42 Stores the raster operation (ROP3) for the overlay. Values
/linux/Documentation/userspace-api/media/v4l/
H A Dvidioc-overlay.rst13 VIDIOC_OVERLAY - Start or stop video overlay
34 This ioctl is part of the :ref:`video overlay <overlay>` I/O method.
35 Applications call :ref:`VIDIOC_OVERLAY` to start or stop the overlay. It
37 application to stop overlay, to one to start.
51 The overlay parameters have not been set up. See :ref:`overlay`
H A Ddev-overlay.rst12 Video overlay devices have the ability to genlock (TV-)video into the
20 Video overlay devices are accessed through the same character special
26 capturing. The overlay function is only available after calling
29 The driver may support simultaneous overlay and capturing using the
32 directed away from overlay to capture, or one field may be used for
33 overlay and the other for capture if the capture parameters permit this.
36 overlay. This must be supported by all drivers capable of simultaneous
37 capturing and overlay. Optionally these drivers may also permit
38 capturing and overlay with a single file descriptor for compatibility
43 While the X server controls video overlay, the application can take
[all …]
H A Dvidioc-g-fbuf.rst13 VIDIOC_G_FBUF - VIDIOC_S_FBUF - Get or set frame buffer overlay parameters
40 :ref:`Video Overlay <overlay>` or :ref:`Video Output Overlay <osd>`
41 (OSD). The type of overlay is implied by the device type (capture or
44 device must not support both kinds of overlay.
47 destructive overlay copies captured video images into the video memory
48 of a graphics card. A non-destructive overlay blends video images into a
52 Destructive overlay support has been removed: with modern GPUs and CPUs
65 this structure, the driver prepares for the overlay and returns the
72 the overlay and returns the framebuffer parameters as :ref:`VIDIOC_G_FBUF <VIDIOC_G_FBUF>`
259 the overlay is destructive. This flag is typically set by any
[all …]
H A Ddev-osd.rst12 Some video output devices can overlay a framebuffer image onto the
13 outgoing video signal. Applications can set up such an overlay using
15 :ref:`Video Overlay <overlay>` interface.
104 for the video output overlay, or -1 if no device was found. */
110 The overlay is controlled by source and target rectangles. The source
116 :ref:`Video Overlay <overlay>` interface.
120 clipping/blending method to be used for the overlay. To get the current
136 :ref:`VIDIOC_S_FMT <VIDIOC_G_FMT>` this also works after the overlay has been enabled.
139 of the target rectangle. The scaling factor of the overlay is implied by
150 There is no V4L2 ioctl to enable or disable the overlay, however the
H A Dio.rst22 Video overlay can be considered another I/O method, although the
24 initiating video overlay with the :ref:`VIDIOC_S_FMT <VIDIOC_G_FMT>`
25 ioctl. For more information see :ref:`overlay`.
27 Generally exactly one I/O method, including overlay, is associated with
30 and drivers permitting simultaneous video capturing and overlay using
/linux/fs/overlayfs/
H A DKconfig7 An overlay filesystem combines two filesystems - an 'upper' filesystem
19 If this config option is enabled then overlay filesystems will use
26 an overlay which has redirects on a kernel that doesn't support this
50 If this config option is enabled then overlay filesystems will use
60 That is, mounting an overlay which has an inodes index on a kernel
71 If this config option is enabled then overlay filesystems will use
72 the index directory to decode overlay NFS file handles by default.
78 directory. This full index is used to detect overlay filesystems
85 That is, mounting an overlay which has a full index on a kernel
99 If this config option is enabled then overlay filesystems will use
[all …]
H A DMakefile6 obj-$(CONFIG_OVERLAY_FS) += overlay.o
8 overlay-objs := super.o namei.o util.o inode.o file.o dir.o readdir.o \
/linux/Documentation/arch/arm/omap/
H A Ddss.rst46 The DSS driver models OMAP's overlays, overlay managers and displays in a
48 modelling the hardware overlays, omapdss supports virtual overlays and overlay
133 screen. The overlay may be smaller than framebuffer, thus displaying only
134 part of the framebuffer. The position of the overlay may be changed if
135 the overlay is smaller than the display.
141 on all of the overlays. Note that in this case the overlay input sizes must be
143 framebuffer can be connected to any overlay.
145 An overlay can be connected to one overlay manager. Also DISPC overlays can be
146 connected only to DISPC overlay managers, and virtual overlays can be only
149 An overlay manager can be connected to one display. There are certain
[all …]
/linux/drivers/of/unittest-data/
H A Doverlay_bad_add_dup_prop.dtso11 * This will result in an error and the overlay apply
18 * will occur if the overlay is removed. Since the overlay apply
21 * enabled. Adding the overlay node 'electric' avoids the
/linux/drivers/of/
H A DMakefile13 obj-$(CONFIG_OF_OVERLAY) += overlay.o
24 obj-$(CONFIG_OF_OVERLAY_KUNIT_TEST) += overlay-test.o
25 overlay-test-y := overlay_test.o kunit_overlay_test.dtbo.o
H A Doverlay.c52 struct device_node *overlay; member
173 nd.overlay = fragment->overlay; in overlay_notify()
233 if (fragment->overlay == overlay_node) in dup_and_fixup_symbol_prop()
239 overlay_name_len = snprintf(NULL, 0, "%pOF", fragment->overlay); in dup_and_fixup_symbol_prop()
651 fragment->overlay); in build_changeset()
665 fragment->overlay); in build_changeset()
801 fragment->overlay = overlay_node; in init_overlay_changeset()
804 of_node_put(fragment->overlay); in init_overlay_changeset()
821 fragment->overlay = node; in init_overlay_changeset()
866 of_node_put(ovcs->fragments[i].overlay); in free_overlay_changeset()
/linux/Documentation/fb/
H A Dpxafb.rst93 However, there are some differences between these overlay framebuffers
96 1. overlay can start at a 32-bit word aligned position within the base
101 2. overlay framebuffer is allocated dynamically according to specified
118 a. overlay does not support panning in x-direction, thus
121 b. line length of overlay(s) must be on a 32-bit word boundary,
130 d. the rectangle of the overlay should be within the base plane,
133 Applications should follow the sequence below to operate an overlay
/linux/drivers/video/fbdev/omap2/omapfb/dss/
H A Doverlay-sysfs.c399 struct omap_overlay *overlay; in overlay_attr_show() local
402 overlay = container_of(kobj, struct omap_overlay, kobj); in overlay_attr_show()
408 return overlay_attr->show(overlay, buf); in overlay_attr_show()
414 struct omap_overlay *overlay; in overlay_attr_store() local
417 overlay = container_of(kobj, struct omap_overlay, kobj); in overlay_attr_store()
423 return overlay_attr->store(overlay, buf, size); in overlay_attr_store()
/linux/drivers/gpu/drm/armada/
H A Darmada_overlay.c546 struct drm_plane *overlay; in armada_overlay_plane_create() local
553 overlay = kzalloc_obj(*overlay); in armada_overlay_plane_create()
554 if (!overlay) in armada_overlay_plane_create()
557 drm_plane_helper_add(overlay, &armada_overlay_plane_helper_funcs); in armada_overlay_plane_create()
559 ret = drm_universal_plane_init(dev, overlay, crtcs, in armada_overlay_plane_create()
566 kfree(overlay); in armada_overlay_plane_create()
570 mobj = &overlay->base; in armada_overlay_plane_create()
590 ret = drm_plane_create_color_properties(overlay, in armada_overlay_plane_create()
/linux/arch/arm64/boot/dts/rockchip/
H A Drk3588-rock-5b-pcie-srns.dtso3 * DT-overlay to run the PCIe3_4L Dual Mode controller in Root Complex
6 * This device tree overlay is only needed (on the RC side) when running
H A Drk3588-rock-5b-pcie-ep.dtso3 * DT-overlay to run the PCIe3_4L Dual Mode controller in Endpoint mode
8 * tree overlay: rk3588-rock-5b-pcie-srns.dtso.

123456