Home
last modified time | relevance | path

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

12345

/Linux-v4.19/drivers/gpu/drm/i915/
Dintel_overlay.c214 static void intel_overlay_submit_request(struct intel_overlay *overlay, in intel_overlay_submit_request() argument
218 GEM_BUG_ON(i915_gem_active_peek(&overlay->last_flip, in intel_overlay_submit_request()
219 &overlay->i915->drm.struct_mutex)); in intel_overlay_submit_request()
220 i915_gem_active_set_retire_fn(&overlay->last_flip, retire, in intel_overlay_submit_request()
221 &overlay->i915->drm.struct_mutex); in intel_overlay_submit_request()
222 i915_gem_active_set(&overlay->last_flip, rq); in intel_overlay_submit_request()
226 static int intel_overlay_do_wait_request(struct intel_overlay *overlay, in intel_overlay_do_wait_request() argument
230 intel_overlay_submit_request(overlay, rq, retire); in intel_overlay_do_wait_request()
231 return i915_gem_active_retire(&overlay->last_flip, in intel_overlay_do_wait_request()
232 &overlay->i915->drm.struct_mutex); in intel_overlay_do_wait_request()
[all …]
/Linux-v4.19/drivers/gpu/drm/vmwgfx/
Dvmwgfx_overlay.c256 struct vmw_overlay *overlay = dev_priv->overlay_priv; in vmw_overlay_stop() local
257 struct vmw_stream *stream = &overlay->stream[stream_id]; in vmw_overlay_stop()
304 struct vmw_overlay *overlay = dev_priv->overlay_priv; in vmw_overlay_update_stream() local
305 struct vmw_stream *stream = &overlay->stream[arg->stream_id]; in vmw_overlay_update_stream()
367 struct vmw_overlay *overlay = dev_priv->overlay_priv; in vmw_overlay_stop_all() local
370 if (!overlay) in vmw_overlay_stop_all()
373 mutex_lock(&overlay->mutex); in vmw_overlay_stop_all()
376 struct vmw_stream *stream = &overlay->stream[i]; in vmw_overlay_stop_all()
384 mutex_unlock(&overlay->mutex); in vmw_overlay_stop_all()
398 struct vmw_overlay *overlay = dev_priv->overlay_priv; in vmw_overlay_resume_all() local
[all …]
/Linux-v4.19/include/video/
Dmmp_disp.h150 void (*set_fetch)(struct mmp_overlay *overlay, int fetch_id);
151 void (*set_onoff)(struct mmp_overlay *overlay, int status);
152 void (*set_win)(struct mmp_overlay *overlay, struct mmp_win *win);
153 int (*set_addr)(struct mmp_overlay *overlay, struct mmp_addr *addr);
276 static inline void mmp_overlay_set_fetch(struct mmp_overlay *overlay, in mmp_overlay_set_fetch() argument
279 if (overlay) in mmp_overlay_set_fetch()
280 overlay->ops->set_fetch(overlay, fetch_id); in mmp_overlay_set_fetch()
282 static inline void mmp_overlay_set_onoff(struct mmp_overlay *overlay, in mmp_overlay_set_onoff() argument
285 if (overlay) in mmp_overlay_set_onoff()
286 overlay->ops->set_onoff(overlay, status); in mmp_overlay_set_onoff()
[all …]
/Linux-v4.19/drivers/of/
Dresolver.c40 static void adjust_overlay_phandles(struct device_node *overlay, in adjust_overlay_phandles() argument
48 if (overlay->phandle != 0 && overlay->phandle != OF_PHANDLE_ILLEGAL) in adjust_overlay_phandles()
49 overlay->phandle += phandle_delta; in adjust_overlay_phandles()
52 for_each_property_of_node(overlay, prop) { in adjust_overlay_phandles()
65 *(__be32 *)prop->value = cpu_to_be32(overlay->phandle); in adjust_overlay_phandles()
68 for_each_child_of_node(overlay, child) in adjust_overlay_phandles()
72 static int update_usages_of_a_phandle_reference(struct device_node *overlay, in update_usages_of_a_phandle_reference() argument
110 refnode = __of_find_node_by_full_path(of_node_get(overlay), node_path); in update_usages_of_a_phandle_reference()
160 struct device_node *overlay, int phandle_delta) in adjust_local_phandle_references() argument
182 for_each_property_of_node(overlay, prop) { in adjust_local_phandle_references()
[all …]
Doverlay.c33 struct device_node *overlay; member
150 nd.overlay = fragment->overlay; in overlay_notify()
212 if (fragment->overlay == overlay_node) in dup_and_fixup_symbol_prop()
218 overlay_name_len = snprintf(NULL, 0, "%pOF", fragment->overlay); in dup_and_fixup_symbol_prop()
490 fragment->overlay); in build_changeset()
500 fragment->overlay); in build_changeset()
622 fragment->overlay = overlay_node; in init_overlay_changeset()
625 of_node_put(fragment->overlay); in init_overlay_changeset()
641 fragment->overlay = node; in init_overlay_changeset()
687 of_node_put(ovcs->fragments[i].overlay); in free_overlay_changeset()
/Linux-v4.19/drivers/video/fbdev/mmp/hw/
Dmmp_ctrl.c61 static u32 fmt_to_reg(struct mmp_overlay *overlay, int pix_fmt) in fmt_to_reg() argument
65 vid = overlay_is_vid(overlay); in fmt_to_reg()
132 static void dmafetch_set_fmt(struct mmp_overlay *overlay) in dmafetch_set_fmt() argument
135 struct mmp_path *path = overlay->path; in dmafetch_set_fmt()
137 tmp &= ~dma_mask(overlay_is_vid(overlay)); in dmafetch_set_fmt()
138 tmp |= fmt_to_reg(overlay, overlay->win.pix_fmt); in dmafetch_set_fmt()
142 static void overlay_set_win(struct mmp_overlay *overlay, struct mmp_win *win) in overlay_set_win() argument
144 struct lcd_regs *regs = path_regs(overlay->path); in overlay_set_win()
147 memcpy(&overlay->win, win, sizeof(struct mmp_win)); in overlay_set_win()
149 mutex_lock(&overlay->access_ok); in overlay_set_win()
[all …]
/Linux-v4.19/drivers/fpga/
Dof-fpga-region.c112 br = of_parse_phandle(info->overlay, "fpga-bridges", 0); in of_fpga_region_get_bridges()
115 np = info->overlay; in of_fpga_region_get_bridges()
155 static int child_regions_with_firmware(struct device_node *overlay) in child_regions_with_firmware() argument
161 of_node_get(overlay); in child_regions_with_firmware()
163 child_region = of_find_matching_node(overlay, fpga_region_of_match); in child_regions_with_firmware()
199 struct device_node *overlay) in of_fpga_region_parse_ov() argument
216 ret = child_regions_with_firmware(overlay); in of_fpga_region_parse_ov()
224 info->overlay = overlay; in of_fpga_region_parse_ov()
227 if (of_property_read_bool(overlay, "partial-fpga-config")) in of_fpga_region_parse_ov()
230 if (of_property_read_bool(overlay, "external-fpga-config")) in of_fpga_region_parse_ov()
[all …]
/Linux-v4.19/drivers/gpu/drm/sun4i/
Dsun8i_ui_layer.c30 int overlay, bool enable, unsigned int zpos, in sun8i_ui_layer_enable() argument
36 enable ? "En" : "Dis", channel, overlay); in sun8i_ui_layer_enable()
44 SUN8I_MIXER_CHAN_UI_LAYER_ATTR(channel, overlay), in sun8i_ui_layer_enable()
75 int overlay, struct drm_plane *plane, in sun8i_ui_layer_update_coord() argument
84 channel, overlay); in sun8i_ui_layer_update_coord()
132 SUN8I_MIXER_CHAN_UI_LAYER_SIZE(channel, overlay), in sun8i_ui_layer_update_coord()
169 int overlay, struct drm_plane *plane) in sun8i_ui_layer_update_formats() argument
183 SUN8I_MIXER_CHAN_UI_LAYER_ATTR(channel, overlay), in sun8i_ui_layer_update_formats()
190 int overlay, struct drm_plane *plane) in sun8i_ui_layer_update_buffer() argument
214 SUN8I_MIXER_CHAN_UI_LAYER_PITCH(channel, overlay), in sun8i_ui_layer_update_buffer()
[all …]
Dsun8i_vi_layer.c24 int overlay, bool enable, unsigned int zpos, in sun8i_vi_layer_enable() argument
30 enable ? "En" : "Dis", channel, overlay); in sun8i_vi_layer_enable()
38 SUN8I_MIXER_CHAN_VI_LAYER_ATTR(channel, overlay), in sun8i_vi_layer_enable()
69 int overlay, struct drm_plane *plane, in sun8i_vi_layer_update_coord() argument
80 channel, overlay); in sun8i_vi_layer_update_coord()
118 SUN8I_MIXER_CHAN_VI_LAYER_SIZE(channel, overlay), in sun8i_vi_layer_update_coord()
162 int overlay, struct drm_plane *plane) in sun8i_vi_layer_update_formats() argument
176 SUN8I_MIXER_CHAN_VI_LAYER_ATTR(channel, overlay), in sun8i_vi_layer_update_formats()
192 SUN8I_MIXER_CHAN_VI_LAYER_ATTR(channel, overlay), in sun8i_vi_layer_update_formats()
199 int overlay, struct drm_plane *plane) in sun8i_vi_layer_update_buffer() argument
[all …]
/Linux-v4.19/Documentation/ABI/testing/
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-v4.19/Documentation/media/uapi/v4l/
Dvidioc-overlay.rst12 VIDIOC_OVERLAY - Start or stop video overlay
35 This ioctl is part of the :ref:`video overlay <overlay>` I/O method.
36 Applications call :ref:`VIDIOC_OVERLAY` to start or stop the overlay. It
38 application to stop overlay, to one to start.
53 The overlay parameters have not been set up. See :ref:`overlay`
Ddev-overlay.rst11 Video overlay devices have the ability to genlock (TV-)video into the
19 Video overlay devices are accessed through the same character special
25 capturing. The overlay function is only available after calling
28 The driver may support simultaneous overlay and capturing using the
31 directed away from overlay to capture, or one field may be used for
32 overlay and the other for capture if the capture parameters permit this.
35 overlay. This must be supported by all drivers capable of simultaneous
36 capturing and overlay. Optionally these drivers may also permit
37 capturing and overlay with a single file descriptor for compatibility
44 Devices supporting the video overlay interface set the
[all …]
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
Ddev-osd.rst11 Some video output devices can overlay a framebuffer image onto the
12 outgoing video signal. Applications can set up such an overlay using
14 :ref:`Video Overlay <overlay>` interface.
103 for the video output overlay, or -1 if no device was found. */
109 The overlay is controlled by source and target rectangles. The source
115 :ref:`Video Overlay <overlay>` interface.
119 clipping/blending method to be used for the overlay. To get the current
135 :ref:`VIDIOC_S_FMT <VIDIOC_G_FMT>` this also works after the overlay has been enabled.
138 of the target rectangle. The scaling factor of the overlay is implied by
149 There is no V4L2 ioctl to enable or disable the overlay, however the
Dvidioc-g-fbuf.rst12 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
62 this structure, the driver prepares for the overlay and returns the
69 the overlay and returns the framebuffer parameters as :ref:`VIDIOC_G_FBUF <VIDIOC_G_FBUF>`
76 destructive video overlay.
275 the overlay is destructive. This flag is typically set by any
[all …]
/Linux-v4.19/Documentation/devicetree/
Doverlay-notes.txt5 device tree overlay functionality residing in drivers/of/overlay.c and is a
11 A Device Tree's overlay purpose is to modify the kernel's live tree, and
37 The overlay bar.dts, when loaded (and resolved as described in [1]) should
81 As a result of the overlay, a new device node (bar) has been created
90 1. Call of_overlay_fdt_apply() to create and apply an overlay changeset. The
91 return value is an error or a cookie identifying this overlay.
93 2. Call of_overlay_remove() to remove and cleanup the overlay changeset
95 overlay changeset that is stacked by another will not be permitted.
102 overlay operations. See of_overlay_notifier_register/unregister and
112 The DTS of an overlay should have the following format:
[all …]
/Linux-v4.19/Documentation/filesystems/
Doverlayfs.txt8 overlay-filesystem functionality in Linux (sometimes referred to as
9 union-filesystems). An overlay-filesystem tries to present a
17 The overlay filesystem approach is 'hybrid', because the objects that
23 While directories will report an st_dev from the overlay-filesystem,
30 In the special case of all overlay layers on the same underlying
31 filesystem, all objects will report an st_dev from the overlay
33 make the overlay mount more compliant with filesystem scanners and
34 overlay objects will be distinguishable from the corresponding
37 On 64bit systems, even if all overlay layers are not on the same
42 handles with 32bit inode number encoding (e.g. ext4), overlay filesystem
[all …]
/Linux-v4.19/fs/overlayfs/
DKconfig5 An overlay filesystem combines two filesystems - an 'upper' filesystem
17 If this config option is enabled then overlay filesystems will use
24 an overlay which has redirects on a kernel that doesn't support this
48 If this config option is enabled then overlay filesystems will use
58 That is, mounting an overlay which has an inodes index on a kernel
69 If this config option is enabled then overlay filesystems will use
70 the index directory to decode overlay NFS file handles by default.
76 directory. This full index is used to detect overlay filesystems
83 That is, mounting an overlay which has a full index on a kernel
96 If this config option is enabled then overlay filesystems will use
[all …]
DMakefile5 obj-$(CONFIG_OVERLAY_FS) += overlay.o
7 overlay-objs := super.o namei.o util.o inode.o file.o dir.o readdir.o \
/Linux-v4.19/drivers/staging/pi433/Documentation/devicetree/
Dpi433.txt49 Since Raspbian supports device tree overlays, you may use an overlay instead
51 To use the overlay, you need to compile the file pi433-overlay.dts which can
55 'linux/scripts/dtc/dtc -@ -I dts -O dtb -o pi433.dtbo pi433-overlay.dts'
57 For compiling inside of the kernel tree, you need to copy pi433-overlay.dts to
60 kernel make files compile the device tree overlay for you.
/Linux-v4.19/Documentation/arm/OMAP/
DDSS45 The DSS driver models OMAP's overlays, overlay managers and displays in a
47 modelling the hardware overlays, omapdss supports virtual overlays and overlay
132 screen. The overlay may be smaller than framebuffer, thus displaying only
133 part of the framebuffer. The position of the overlay may be changed if
134 the overlay is smaller than the display.
140 on all of the overlays. Note that in this case the overlay input sizes must be
142 framebuffer can be connected to any overlay.
144 An overlay can be connected to one overlay manager. Also DISPC overlays can be
145 connected only to DISPC overlay managers, and virtual overlays can be only
148 An overlay manager can be connected to one display. There are certain
[all …]
/Linux-v4.19/Documentation/fb/
Dpxafb.txt70 However, there are some differences between these overlay framebuffers
73 1. overlay can start at a 32-bit word aligned position within the base
78 2. overlay framebuffer is allocated dynamically according to specified
91 a. overlay does not support panning in x-direction, thus
94 b. line length of overlay(s) must be on a 32-bit word boundary,
103 d. the rectangle of the overlay should be within the base plane,
106 Applications should follow the sequence below to operate an overlay
/Linux-v4.19/drivers/video/fbdev/omap2/omapfb/dss/
Doverlay-sysfs.c408 struct omap_overlay *overlay; in overlay_attr_show() local
411 overlay = container_of(kobj, struct omap_overlay, kobj); in overlay_attr_show()
417 return overlay_attr->show(overlay, buf); in overlay_attr_show()
423 struct omap_overlay *overlay; in overlay_attr_store() local
426 overlay = container_of(kobj, struct omap_overlay, kobj); in overlay_attr_store()
432 return overlay_attr->store(overlay, buf, size); in overlay_attr_store()
DMakefile8 omapdss-y += manager.o manager-sysfs.o overlay.o overlay-sysfs.o apply.o \
/Linux-v4.19/Documentation/devicetree/bindings/fpga/
Dfpga-region.txt108 When a DT overlay that targets a FPGA Region is applied, the FPGA Region will
114 4. The Device Tree overlay is accepted into the live tree.
117 When the overlay is removed, the child nodes will be removed and the FPGA Region
133 The intended use is that a Device Tree overlay (DTO) can be used to reprogram an
140 FPGA. After reprogramming is successful, the overlay is accepted into the live
178 If this property is in an overlay targeting a FPGA region, it is a
200 In the example below, when an overlay is applied targeting fpga-region0,
205 firmware specified in the overlay is loaded to the FPGA using the FPGA manager
207 reenabled and the overlay makes it into the live device tree. The child devices
209 and the overlay is rejected. The overlay's ranges property maps the lwhps
[all …]

12345