Home
last modified time | relevance | path

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

12345678

/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/of/
H A Dresolver.c41 static void adjust_overlay_phandles(struct device_node *overlay, in adjust_overlay_phandles() argument
49 if (overlay->phandle != 0 && overlay->phandle != OF_PHANDLE_ILLEGAL) in adjust_overlay_phandles()
50 overlay->phandle += phandle_delta; in adjust_overlay_phandles()
53 for_each_property_of_node(overlay, prop) { in adjust_overlay_phandles()
66 *(__be32 *)prop->value = cpu_to_be32(overlay->phandle); in adjust_overlay_phandles()
69 for_each_child_of_node(overlay, child) in adjust_overlay_phandles()
73 static int update_usages_of_a_phandle_reference(struct device_node *overlay, in update_usages_of_a_phandle_reference() argument
107 refnode = __of_find_node_by_full_path(of_node_get(overlay), node_path); in update_usages_of_a_phandle_reference()
151 const struct device_node *overlay, int phandle_delta) in adjust_local_phandle_references() argument
171 for_each_property_of_node(overlay, prop) { in adjust_local_phandle_references()
[all …]
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
/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/devicetree/
H A Doverlay-notes.rst8 device tree overlay functionality residing in drivers/of/overlay.c and is a
14 A Devicetree's overlay purpose is to modify the kernel's live tree, and
41 The overlay bar.dtso,
44 ---- bar.dtso - overlay target location by label ---------------------------
81 As a result of the overlay, a new device node (bar) has been created
86 will not be available to resolve the overlay node(s) to the proper location
88 location by label syntax is preferred because the overlay can be applied to
93 ---- bar.dtso - overlay target location by explicit path -------------------
111 1) Call of_overlay_fdt_apply() to create and apply an overlay changeset. The
112 return value is an error or a cookie identifying this overlay.
[all …]
/linux/drivers/fpga/
H A Dof-fpga-region.c109 br = of_parse_phandle(info->overlay, "fpga-bridges", 0); in of_fpga_region_get_bridges()
112 np = info->overlay; in of_fpga_region_get_bridges()
152 static int child_regions_with_firmware(struct device_node *overlay) in child_regions_with_firmware() argument
158 of_node_get(overlay); in child_regions_with_firmware()
160 child_region = of_find_matching_node(overlay, fpga_region_of_match); in child_regions_with_firmware()
196 struct device_node *overlay) in of_fpga_region_parse_ov() argument
213 ret = child_regions_with_firmware(overlay); in of_fpga_region_parse_ov()
221 info->overlay = overlay; in of_fpga_region_parse_ov()
224 if (of_property_read_bool(overlay, "partial-fpga-config")) in of_fpga_region_parse_ov()
227 if (of_property_read_bool(overlay, "external-fpga-config")) in of_fpga_region_parse_ov()
[all …]
/linux/drivers/gpu/drm/ci/
H A Dlava-submit.sh48 mkdir -p results/job-rootfs-overlay/
51 > results/job-rootfs-overlay/set-job-env-vars.sh
52 cp artifacts/ci-common/init-*.sh results/job-rootfs-overlay/
53 cp "$SCRIPTS_DIR"/setup-test-env.sh results/job-rootfs-overlay/
55 tar zcf job-rootfs-overlay.tar.gz -C results/job-rootfs-overlay/ .
56 ci-fairy s3cp --token-file "${S3_JWT_FILE}" job-rootfs-overlay.tar.gz "https://${JOB_ROOTFS_OVERLAY…
60 cat results/job-rootfs-overlay/set-job-env-vars.sh
92 - append-overlay \
98 - append-overlay \
99 --name=job-overlay \
/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/filesystems/
H A Doverlayfs.rst10 overlay-filesystem functionality in Linux (sometimes referred to as
11 union-filesystems). An overlay-filesystem tries to present a
19 The overlay filesystem approach is 'hybrid', because the objects that
25 While directories will report an st_dev from the overlay-filesystem,
32 In the special case of all overlay layers on the same underlying
33 filesystem, all objects will report an st_dev from the overlay
35 make the overlay mount more compliant with filesystem scanners and
36 overlay objects will be distinguishable from the corresponding
39 On 64bit systems, even if all overlay layers are not on the same
45 the underlying inode number does overflow into the high xino bits, overlay
[all …]
/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 …]
/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/scripts/dtc/libfdt/
H A Dfdt_overlay.c719 int overlay; in overlay_prevent_phandle_overwrite() local
723 overlay = fdt_subnode_offset(fdto, fragment, "__overlay__"); in overlay_prevent_phandle_overwrite()
724 if (overlay == -FDT_ERR_NOTFOUND) in overlay_prevent_phandle_overwrite()
727 if (overlay < 0) in overlay_prevent_phandle_overwrite()
728 return overlay; in overlay_prevent_phandle_overwrite()
741 fdto, overlay); in overlay_prevent_phandle_overwrite()
835 int overlay; in overlay_merge() local
843 overlay = fdt_subnode_offset(fdto, fragment, "__overlay__"); in overlay_merge()
844 if (overlay == -FDT_ERR_NOTFOUND) in overlay_merge()
847 if (overlay < 0) in overlay_merge()
[all …]
/linux/drivers/gpu/drm/sun4i/
H A Dsun8i_ui_layer.c34 SUN8I_MIXER_CHAN_UI_LAYER_ATTR(ch_base, layer->overlay), 0); in sun8i_ui_layer_disable()
56 SUN8I_MIXER_CHAN_UI_LAYER_ATTR(ch_base, layer->overlay), val); in sun8i_ui_layer_update_attributes()
69 layer->channel, layer->overlay); in sun8i_ui_layer_update_coord()
89 SUN8I_MIXER_CHAN_UI_LAYER_SIZE(ch_base, layer->overlay), in sun8i_ui_layer_update_coord()
150 SUN8I_MIXER_CHAN_UI_LAYER_PITCH(ch_base, layer->overlay), in sun8i_ui_layer_update_buffer()
156 SUN8I_MIXER_CHAN_UI_LAYER_TOP_LADDR(ch_base, layer->overlay), in sun8i_ui_layer_update_buffer()
277 layer->overlay = 0; in sun8i_ui_layer_init_one()

12345678