Home
last modified time | relevance | path

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

12345

/Linux-v5.15/drivers/gpu/drm/i915/display/
Dintel_overlay.c229 alloc_request(struct intel_overlay *overlay, void (*fn)(struct intel_overlay *)) in alloc_request() argument
234 overlay->flip_complete = fn; in alloc_request()
236 rq = i915_request_create(overlay->context); in alloc_request()
240 err = i915_active_add_request(&overlay->last_flip, rq); in alloc_request()
250 static int intel_overlay_on(struct intel_overlay *overlay) in intel_overlay_on() argument
252 struct drm_i915_private *dev_priv = overlay->i915; in intel_overlay_on()
256 drm_WARN_ON(&dev_priv->drm, overlay->active); in intel_overlay_on()
258 rq = alloc_request(overlay, NULL); in intel_overlay_on()
268 overlay->active = true; in intel_overlay_on()
274 *cs++ = overlay->flip_addr | OFC_UPDATE; in intel_overlay_on()
[all …]
/Linux-v5.15/drivers/gpu/drm/vmwgfx/
Dvmwgfx_overlay.c254 struct vmw_overlay *overlay = dev_priv->overlay_priv; in vmw_overlay_stop() local
255 struct vmw_stream *stream = &overlay->stream[stream_id]; in vmw_overlay_stop()
302 struct vmw_overlay *overlay = dev_priv->overlay_priv; in vmw_overlay_update_stream() local
303 struct vmw_stream *stream = &overlay->stream[arg->stream_id]; in vmw_overlay_update_stream()
365 struct vmw_overlay *overlay = dev_priv->overlay_priv; in vmw_overlay_resume_all() local
368 if (!overlay) in vmw_overlay_resume_all()
371 mutex_lock(&overlay->mutex); in vmw_overlay_resume_all()
374 struct vmw_stream *stream = &overlay->stream[i]; in vmw_overlay_resume_all()
385 mutex_unlock(&overlay->mutex); in vmw_overlay_resume_all()
399 struct vmw_overlay *overlay = dev_priv->overlay_priv; in vmw_overlay_pause_all() local
[all …]
/Linux-v5.15/include/video/
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-v5.15/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.c52 struct device_node *overlay; member
169 nd.overlay = fragment->overlay; in overlay_notify()
231 if (fragment->overlay == overlay_node) in dup_and_fixup_symbol_prop()
237 overlay_name_len = snprintf(NULL, 0, "%pOF", fragment->overlay); in dup_and_fixup_symbol_prop()
657 fragment->overlay); in build_changeset()
671 fragment->overlay); in build_changeset()
794 fragment->overlay = overlay_node; in init_overlay_changeset()
797 of_node_put(fragment->overlay); in init_overlay_changeset()
814 fragment->overlay = node; in init_overlay_changeset()
860 of_node_put(ovcs->fragments[i].overlay); in free_overlay_changeset()
/Linux-v5.15/drivers/video/fbdev/mmp/hw/
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-v5.15/drivers/fpga/
Dof-fpga-region.c107 br = of_parse_phandle(info->overlay, "fpga-bridges", 0); in of_fpga_region_get_bridges()
110 np = info->overlay; in of_fpga_region_get_bridges()
150 static int child_regions_with_firmware(struct device_node *overlay) in child_regions_with_firmware() argument
156 of_node_get(overlay); in child_regions_with_firmware()
158 child_region = of_find_matching_node(overlay, fpga_region_of_match); in child_regions_with_firmware()
194 struct device_node *overlay) in of_fpga_region_parse_ov() argument
211 ret = child_regions_with_firmware(overlay); in of_fpga_region_parse_ov()
219 info->overlay = overlay; in of_fpga_region_parse_ov()
222 if (of_property_read_bool(overlay, "partial-fpga-config")) in of_fpga_region_parse_ov()
225 if (of_property_read_bool(overlay, "external-fpga-config")) in of_fpga_region_parse_ov()
[all …]
/Linux-v5.15/drivers/gpu/drm/sun4i/
Dsun8i_ui_layer.c27 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(ch_base, overlay), in sun8i_ui_layer_enable()
76 int overlay, struct drm_plane *plane) in sun8i_ui_layer_update_alpha() argument
92 SUN8I_MIXER_CHAN_UI_LAYER_ATTR(ch_base, overlay), in sun8i_ui_layer_update_alpha()
97 int overlay, struct drm_plane *plane, in sun8i_ui_layer_update_coord() argument
107 channel, overlay); in sun8i_ui_layer_update_coord()
158 SUN8I_MIXER_CHAN_UI_LAYER_SIZE(ch_base, overlay), in sun8i_ui_layer_update_coord()
195 int overlay, struct drm_plane *plane) in sun8i_ui_layer_update_formats() argument
213 SUN8I_MIXER_CHAN_UI_LAYER_ATTR(ch_base, overlay), in sun8i_ui_layer_update_formats()
[all …]
Dsun8i_vi_layer.c21 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(ch_base, overlay), in sun8i_vi_layer_enable()
70 int overlay, struct drm_plane *plane) in sun8i_vi_layer_update_alpha() argument
88 overlay), in sun8i_vi_layer_update_alpha()
100 int overlay, struct drm_plane *plane, in sun8i_vi_layer_update_coord() argument
114 channel, overlay); in sun8i_vi_layer_update_coord()
155 SUN8I_MIXER_CHAN_VI_LAYER_SIZE(ch_base, overlay), in sun8i_vi_layer_update_coord()
261 int overlay, struct drm_plane *plane) in sun8i_vi_layer_update_formats() argument
279 SUN8I_MIXER_CHAN_VI_LAYER_ATTR(ch_base, overlay), in sun8i_vi_layer_update_formats()
[all …]
/Linux-v5.15/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-v5.15/Documentation/devicetree/
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.dts,
44 ---- bar.dts - 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.dts - 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-v5.15/drivers/gpu/drm/vkms/
Dvkms_output.c42 struct vkms_plane *primary, *cursor = NULL, *overlay = NULL; in vkms_output_init() local
50 if (vkmsdev->config->overlay) { in vkms_output_init()
51 overlay = vkms_plane_init(vkmsdev, DRM_PLANE_TYPE_OVERLAY, index); in vkms_output_init()
52 if (IS_ERR(overlay)) in vkms_output_init()
53 return PTR_ERR(overlay); in vkms_output_init()
55 if (!overlay->base.possible_crtcs) in vkms_output_init()
56 overlay->base.possible_crtcs = drm_crtc_mask(crtc); in vkms_output_init()
/Linux-v5.15/Documentation/userspace-api/media/v4l/
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`
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
42 While the X server controls video overlay, the application can take
[all …]
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.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
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.
272 the overlay is destructive. This flag is typically set by any
[all …]
Dio.rst23 Video overlay can be considered another I/O method, although the
25 initiating video overlay with the :ref:`VIDIOC_S_FMT <VIDIOC_G_FMT>`
26 ioctl. For more information see :ref:`overlay`.
28 Generally exactly one I/O method, including overlay, is associated with
31 and drivers permitting simultaneous video capturing and overlay using
/Linux-v5.15/Documentation/filesystems/
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-v5.15/fs/overlayfs/
DKconfig6 An overlay filesystem combines two filesystems - an 'upper' filesystem
18 If this config option is enabled then overlay filesystems will use
25 an overlay which has redirects on a kernel that doesn't support this
49 If this config option is enabled then overlay filesystems will use
59 That is, mounting an overlay which has an inodes index on a kernel
70 If this config option is enabled then overlay filesystems will use
71 the index directory to decode overlay NFS file handles by default.
77 directory. This full index is used to detect overlay filesystems
84 That is, mounting an overlay which has a full index on a kernel
98 If this config option is enabled then overlay filesystems will use
[all …]
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-v5.15/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-v5.15/drivers/of/unittest-data/
Doverlay_bad_add_dup_prop.dts11 * 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-v5.15/Documentation/arm/omap/
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-v5.15/scripts/dtc/
Dfdtoverlay.c45 static void *apply_one(char *base, const char *overlay, size_t *buf_len, in apply_one() argument
56 tmpo = xmalloc(fdt_totalsize(overlay)); in apply_one()
68 memcpy(tmpo, overlay, fdt_totalsize(overlay)); in apply_one()
/Linux-v5.15/Documentation/fb/
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

12345