Home
last modified time | relevance | path

Searched full:overlay (Results 1 – 25 of 659) sorted by relevance

12345678910>>...27

/openbmc/linux/drivers/gpu/drm/i915/display/
H A Dintel_overlay.c44 /* Limits for overlay size. According to intel doc, the real limits are:
54 /* overlay register definitions */
117 /* overlay flip addr flag */
128 /* memory bufferd overlay registers */
231 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()
251 /* overlay needs to be disable in OCMD reg */
252 static int intel_overlay_on(struct intel_overlay *overlay) in intel_overlay_on() argument
[all …]
/openbmc/linux/drivers/gpu/drm/omapdrm/
H A Domap_overlay.c14 * overlay funcs
24 * Find a free overlay with the required caps and supported fourcc
62 * Assign a new overlay to a plane with the required caps and supported fourcc
63 * If a plane need a new overlay, the previous one should have been released
69 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()
108 * Release an overlay from a plane if the plane gets not visible or the plane
109 * need a new overlay if overlay caps changes.
113 void omap_overlay_release(struct drm_atomic_state *s, struct omap_hw_overlay *overlay) in omap_overlay_release() argument
[all …]
H A Domap_plane.c27 struct omap_hw_overlay *overlay; member
28 struct omap_hw_overlay *r_overlay; /* right overlay */
83 /* Cleanup previously held overlay if needed */ in omap_plane_atomic_update()
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()
90 DBG("[PLANE:%d:%s] no overlay attached", plane->base.id, plane->name); 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()
127 * main overlay zorder + 1 in omap_plane_atomic_update()
[all …]
/openbmc/linux/drivers/of/
H A 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()
151 * Subtree @local_fixups, which is overlay node __local_fixups__,
152 * mirrors the fragment node structure at the root of the overlay.
[all …]
H A Doverlay.c9 #define pr_fmt(fmt) "OF: overlay: " fmt
27 * struct target - info about current target node as recursing through overlay
28 * @np: node where current level of overlay will be applied
32 * an overlay fragment, which is a devicetree subtree. Initially @np is a node
33 * in the live devicetree where the overlay subtree is targeted to be grafted
34 * into. When recursing to the next level of the overlay subtree, the target
35 * also recurses to the next level of the live devicetree, as long as overlay
36 * subtree node also exists in the live devicetree. When a node in the overlay
47 * struct fragment - info about fragment nodes in overlay expanded device tree
48 * @overlay: pointer to the __overlay__ node
[all …]
H A Dunittest.c1543 * the respective unittest overlay contains a label that has the in update_node_properties()
1548 * overlay dts files with an odd prefix that is unlikely to be in update_node_properties()
1890 "Adding overlay 'overlay_gpio_01' failed\n"); in of_unittest_overlay_gpio()
1893 "Adding overlay 'overlay_gpio_02a' failed\n"); in of_unittest_overlay_gpio()
1896 "Adding overlay 'overlay_gpio_02b' failed\n"); in of_unittest_overlay_gpio()
1919 * apply overlay will result in in of_unittest_overlay_gpio()
1929 "Adding overlay 'overlay_gpio_03' failed\n"); in of_unittest_overlay_gpio()
1943 * apply the overlay will result in in of_unittest_overlay_gpio()
1953 "Adding overlay 'overlay_gpio_04a' failed\n"); in of_unittest_overlay_gpio()
1963 * apply the overlay will result in in of_unittest_overlay_gpio()
[all …]
/openbmc/linux/drivers/fpga/
H A Dof-fpga-region.c108 /* If overlay has a list of bridges, use it. */ in of_fpga_region_get_bridges()
109 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()
145 * @overlay: device node of the overlay
147 * If the overlay adds child FPGA regions, they are not allowed to have
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()
181 * of_fpga_region_parse_ov - parse and check overlay applied to region
184 * @overlay: overlay applied to the FPGA region
[all …]
/openbmc/linux/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_overlay.c46 * Overlay control
50 * Each stream is a single overlay. In Xv these are called ports.
239 * The caller must hold the overlay lock.
248 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()
285 * The caller must hold the overlay lock.
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()
355 * Takes the overlay lock.
359 struct vmw_overlay *overlay = dev_priv->overlay_priv; in vmw_overlay_resume_all() local
[all …]
/openbmc/linux/Documentation/devicetree/
H A Doverlay-notes.rst4 Devicetree Overlay Notes
8 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 --------------------
106 Overlay in-kernel API
[all …]
/openbmc/linux/scripts/dtc/libfdt/
H A Dfdt_overlay.c16 * @fdto: pointer to the device tree overlay blob
17 * @fragment: node offset of the fragment in the overlay
20 * overlay fragment when that fragment uses a phandle (target
71 * overlay in fdt_overlay_target_offset()
90 * @node: Device tree overlay blob
128 * @fdto: Device tree overlay blob
133 * of a given node. This is mainly use as part of the overlay
134 * application process, when we want to update all the overlay
165 * overlay_adjust_local_phandles - Adjust the phandles of a whole overlay
166 * @fdto: Device tree overlay blob
[all …]
/openbmc/linux/Documentation/filesystems/
H A Doverlayfs.rst6 Overlay Filesystem
10 overlay-filesystem functionality in Linux (sometimes referred to as
11 union-filesystems). An overlay-filesystem tries to present a
16 Overlay objects
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
[all …]
/openbmc/u-boot/scripts/dtc/libfdt/
H A Dfdt_overlay.c61 * @fdto: pointer to the device tree overlay blob
62 * @fragment: node offset of the fragment in the overlay
65 * overlay fragment when that fragment uses a phandle (target
91 * @fdto: Device tree overlay blob
92 * @fragment: node offset of the fragment in the overlay
131 * overlay in overlay_get_target()
150 * @node: Device tree overlay blob
188 * @fdto: Device tree overlay blob
193 * of a given node. This is mainly use as part of the overlay
194 * application process, when we want to update all the overlay
[all …]
/openbmc/linux/include/video/
H A Dmmp_disp.h66 /* parameters used by path/overlay */
67 /* overlay related para: win/addr */
137 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);
143 /* overlay describes a z-order indexed slot in each path. */
149 /* overlay info: private data */
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()
[all …]
/openbmc/linux/Documentation/userspace-api/media/v4l/
H A Ddev-osd.rst6 Video Output Overlay Interface
11 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.
29 Devices supporting the *Video Output Overlay* interface set the
38 Contrary to the *Video Overlay* interface the framebuffer is normally
103 for the video output overlay, or -1 if no device was found. */
106 Overlay Window and Scaling
109 The overlay is controlled by source and target rectangles. The source
115 :ref:`Video Overlay <overlay>` interface.
[all …]
H A Ddev-overlay.rst6 Video Overlay Interface
9 **Also known as Framebuffer Overlay or Previewing.**
11 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
[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
60 To set the parameters for a *Video Output Overlay*, applications must
65 this structure, the driver prepares for the overlay and returns the
69 To set the parameters for a *Video Capture Overlay*
[all …]
/openbmc/openbmc/poky/meta/lib/oeqa/selftest/cases/
H A Doverlayfs.py25 OVERLAYFS_MOUNT_POINT[mnt-overlay] = "/mnt/overlay"
55 Expected: Fail because mount unit for overlay partition is not installed
68 …line = getline(res, " Mount path /mnt/overlay not found in fstab and unit mnt-overlay.mount not fo…
83 OVERLAYFS_QA_SKIP[mnt-overlay] = "mount-configured"
122 OVERLAYFS_MOUNT_POINT[usr-share-overlay] = "/usr/share/overlay"
129 …line = getline(res, "Missing required mount point for OVERLAYFS_MOUNT_POINT[mnt-overlay] in your M…
152 OVERLAYFS_WRITABLE_PATHS[mnt-overlay] += "/usr/share/another-overlay-mount"
189 # Check that overlay mounts are dependencies of our application unit
197 # Check that we have /mnt/overlay fs mounted as tmpfs and
198 # /usr/share/my-application as an overlay (see overlayfs-user recipe)
[all …]
/openbmc/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 …]
/openbmc/openbmc/meta-phosphor/recipes-phosphor/preinit-mounts/preinit-mounts/
H A Dinit4 …if ! mount overlay /etc -t overlay -o defaults,lowerdir=/etc,upperdir=/var/persist/etc,workdir=/va…
5 mount overlay /etc -t overlay -o defaults,lowerdir=/etc:/var/persist/etc
10 # Attempt to re-create the overlay by moving out the overlay contents and
11 # copying them back to /etc, which would create them back in the overlay
39 # overlay by doing an 'ls' command
40 error="/var/overlay-error"
55 # File still corrupted, delete it from the overlay
56 echo "Removing corrupted file from overlay: $i"
/openbmc/linux/drivers/gpu/drm/sun4i/
H A Dsun8i_ui_layer.c28 int overlay, bool enable, unsigned int zpos, in sun8i_ui_layer_enable() argument
36 DRM_DEBUG_DRIVER("%sabling channel %d overlay %d\n", in sun8i_ui_layer_enable()
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
107 DRM_DEBUG_DRIVER("Updating UI channel %d overlay %d\n", in sun8i_ui_layer_update_coord()
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()
[all …]
/openbmc/qemu/tests/qemu-iotests/
H A D024141 # Relative to the overlay
150 OVERLAY="$TEST_DIR/$OVERLAY_WREL"
156 # Overlay: -- -- -- --
163 TEST_IMG=$OVERLAY _make_test_img -b "$BASE_OLD_OREL" -F $IMGFMT 1M
184 TEST_IMG=$OVERLAY _img_info | grep '^backing file:'
189 $QEMU_IO "$OVERLAY" \
200 $QEMU_IMG map "$OVERLAY" | _filter_qemu_img_map
205 # base_new <-- base_old <-- overlay
209 # Overlay: -- -- -- -- --
211 # As a result, overlay should contain data identical to base_old, with the
[all …]
/openbmc/linux/fs/overlayfs/
H A DKconfig3 tristate "Overlay filesystem support"
6 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
[all …]
H A Dexport.c42 * to check if it will be possible to reconnect an overlay dentry from the real
43 * lower decoded dentry. This is done by following the overlay ancestry up to a
52 * The overlay dentry /a is NOT "layer 2 connectable", because if dir /a is
55 * in ovl_lookup_real_ancestor() will not be able to lookup a connected overlay
63 * a connected overlay dentry will be accomplished.
81 /* We can get overlay root from root of any layer */ in ovl_connectable_layer()
93 /* We can get upper/overlay path from indexed/lower dentry */ in ovl_connectable_layer()
162 * file handle. Overlay root dentry is a private case of non-indexed upper.
165 * different overlay object types:
177 * (*) Decoding a connected overlay dir from real lower dentry is not always
[all …]
/openbmc/linux/drivers/gpu/drm/ci/
H A 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}" \
/openbmc/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

12345678910>>...27