Home
last modified time | relevance | path

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

123456

/linux-6.6.21/drivers/gpu/drm/i915/display/
Dintel_overlay.c231 alloc_request(struct intel_overlay *overlay, void (*fn)(struct intel_overlay *)) in alloc_request() argument
236 overlay->flip_complete = fn; in alloc_request()
238 rq = i915_request_create(overlay->context); in alloc_request()
242 err = i915_active_add_request(&overlay->last_flip, rq); in alloc_request()
252 static int intel_overlay_on(struct intel_overlay *overlay) in intel_overlay_on() argument
254 struct drm_i915_private *dev_priv = overlay->i915; in intel_overlay_on()
258 drm_WARN_ON(&dev_priv->drm, overlay->active); in intel_overlay_on()
260 rq = alloc_request(overlay, NULL); in intel_overlay_on()
270 overlay->active = true; in intel_overlay_on()
276 *cs++ = overlay->flip_addr | OFC_UPDATE; in intel_overlay_on()
[all …]
/linux-6.6.21/drivers/gpu/drm/omapdrm/
Domap_overlay.c69 u32 caps, u32 fourcc, struct omap_hw_overlay **overlay, in omap_overlay_assign() argument
82 *overlay = ovl; in omap_overlay_assign()
89 *overlay = NULL; in omap_overlay_assign()
113 void omap_overlay_release(struct drm_atomic_state *s, struct omap_hw_overlay *overlay) in omap_overlay_release() argument
119 if (!overlay) in omap_overlay_release()
122 if (WARN_ON(!overlay_map[overlay->idx])) in omap_overlay_release()
125 DBG("%s: release from plane %s", overlay->name, overlay_map[overlay->idx]->name); in omap_overlay_release()
127 overlay_map[overlay->idx] = NULL; in omap_overlay_release()
137 struct omap_hw_overlay *overlay) in omap_overlay_update_state() argument
143 if (!overlay_map[overlay->idx]) { in omap_overlay_update_state()
[all …]
Domap_plane.c27 struct omap_hw_overlay *overlay; member
84 if (old_omap_state->overlay) in omap_plane_atomic_update()
85 omap_overlay_update_state(priv, old_omap_state->overlay); in omap_plane_atomic_update()
89 if (!new_omap_state->overlay) { in omap_plane_atomic_update()
94 ovl_id = new_omap_state->overlay->id; in omap_plane_atomic_update()
117 new_omap_state->overlay->name, info.width, info.height, in omap_plane_atomic_update()
183 if (!old_omap_state->overlay) in omap_plane_atomic_disable()
189 omap_overlay_update_state(priv, old_omap_state->overlay); in omap_plane_atomic_disable()
190 new_omap_state->overlay = NULL; in omap_plane_atomic_disable()
253 omap_overlay_release(state, omap_state->overlay); in omap_plane_atomic_check()
[all …]
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-6.6.21/drivers/gpu/drm/vmwgfx/
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-6.6.21/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-6.6.21/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 …]
/linux-6.6.21/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-6.6.21/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-6.6.21/drivers/fpga/
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-6.6.21/drivers/gpu/drm/sun4i/
Dsun8i_ui_layer.c28 int overlay, bool enable, unsigned int zpos, in sun8i_ui_layer_enable() argument
37 enable ? "En" : "Dis", channel, overlay); in sun8i_ui_layer_enable()
45 SUN8I_MIXER_CHAN_UI_LAYER_ATTR(ch_base, overlay), in sun8i_ui_layer_enable()
77 int overlay, struct drm_plane *plane) in sun8i_ui_layer_update_alpha() argument
93 SUN8I_MIXER_CHAN_UI_LAYER_ATTR(ch_base, overlay), in sun8i_ui_layer_update_alpha()
98 int overlay, struct drm_plane *plane, in sun8i_ui_layer_update_coord() argument
108 channel, overlay); in sun8i_ui_layer_update_coord()
129 SUN8I_MIXER_CHAN_UI_LAYER_SIZE(ch_base, overlay), in sun8i_ui_layer_update_coord()
166 int overlay, struct drm_plane *plane) in sun8i_ui_layer_update_formats() argument
184 SUN8I_MIXER_CHAN_UI_LAYER_ATTR(ch_base, overlay), in sun8i_ui_layer_update_formats()
[all …]
Dsun8i_vi_layer.c22 int overlay, bool enable, unsigned int zpos, in sun8i_vi_layer_enable() argument
31 enable ? "En" : "Dis", channel, overlay); in sun8i_vi_layer_enable()
39 SUN8I_MIXER_CHAN_VI_LAYER_ATTR(ch_base, overlay), in sun8i_vi_layer_enable()
71 int overlay, struct drm_plane *plane) in sun8i_vi_layer_update_alpha() argument
89 overlay), in sun8i_vi_layer_update_alpha()
101 int overlay, struct drm_plane *plane, in sun8i_vi_layer_update_coord() argument
115 channel, overlay); in sun8i_vi_layer_update_coord()
156 SUN8I_MIXER_CHAN_VI_LAYER_SIZE(ch_base, overlay), in sun8i_vi_layer_update_coord()
262 int overlay, struct drm_plane *plane) in sun8i_vi_layer_update_formats() argument
280 SUN8I_MIXER_CHAN_VI_LAYER_ATTR(ch_base, overlay), in sun8i_vi_layer_update_formats()
[all …]
/linux-6.6.21/drivers/gpu/drm/ci/
Dlava-submit.sh16 mkdir -p results/job-rootfs-overlay/
18 cp artifacts/ci-common/capture-devcoredump.sh results/job-rootfs-overlay/
19 cp artifacts/ci-common/init-*.sh results/job-rootfs-overlay/
20 cp artifacts/ci-common/intel-gpu-freq.sh results/job-rootfs-overlay/
21 cp "$SCRIPTS_DIR"/setup-test-env.sh results/job-rootfs-overlay/
26 artifacts/ci-common/generate-env.sh | tee results/job-rootfs-overlay/set-job-env-vars.sh
29 tar zcf job-rootfs-overlay.tar.gz -C results/job-rootfs-overlay/ .
30 ci-fairy s3cp --token-file "${CI_JOB_JWT_FILE}" job-rootfs-overlay.tar.gz "https://${JOB_ROOTFS_OVE…
42 --job-rootfs-overlay-url "${FDO_HTTP_CACHE_URI:-}https://${JOB_ROOTFS_OVERLAY_PATH}" \
/linux-6.6.21/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-6.6.21/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 …]
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 …]
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
/linux-6.6.21/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-6.6.21/drivers/gpu/drm/vkms/
Dvkms_output.c37 struct vkms_plane *overlay; in vkms_add_overlay_plane() local
39 overlay = vkms_plane_init(vkmsdev, DRM_PLANE_TYPE_OVERLAY, index); in vkms_add_overlay_plane()
40 if (IS_ERR(overlay)) in vkms_add_overlay_plane()
41 return PTR_ERR(overlay); in vkms_add_overlay_plane()
43 if (!overlay->base.possible_crtcs) in vkms_add_overlay_plane()
44 overlay->base.possible_crtcs = drm_crtc_mask(crtc); in vkms_add_overlay_plane()
65 if (vkmsdev->config->overlay) { in vkms_output_init()
/linux-6.6.21/drivers/gpu/drm/ci/xfails/
Drockchip-rk3288-fails.txt14 kms_plane_cursor@overlay,Crash
15 kms_plane_cursor@pipe-A-overlay-size-128,Fail
16 kms_plane_cursor@pipe-A-overlay-size-256,Fail
17 kms_plane_cursor@pipe-A-overlay-size-64,Fail
24 kms_plane_cursor@pipe-B-overlay-size-128,Fail
25 kms_plane_cursor@pipe-B-overlay-size-256,Fail
26 kms_plane_cursor@pipe-B-overlay-size-64,Fail
/linux-6.6.21/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 …]
/linux-6.6.21/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.dtso which can
55 'linux/scripts/dtc/dtc -@ -I dts -O dtb -o pi433.dtbo pi433-overlay.dtso'
57 For compiling inside of the kernel tree, you need to copy pi433-overlay.dtso to
60 kernel make files compile the device tree overlay for you.
/linux-6.6.21/drivers/of/unittest-data/
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

123456