Home
last modified time | relevance | path

Searched +full:display +full:- +full:backend (Results 1 – 25 of 105) sorted by relevance

12345

/kernel/linux/linux-5.10/Documentation/devicetree/bindings/display/
Dallwinner,sun4i-a10-display-backend.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/display/allwinner,sun4i-a10-display-backend.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Allwinner A10 Display Engine Backend Device Tree Bindings
10 - Chen-Yu Tsai <wens@csie.org>
11 - Maxime Ripard <mripard@kernel.org>
14 The display engine backend exposes layers and sprites to the system.
19 - allwinner,sun4i-a10-display-backend
20 - allwinner,sun5i-a13-display-backend
[all …]
Dallwinner,sun4i-a10-display-engine.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/display/allwinner,sun4i-a10-display-engine.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Allwinner A10 Display Engine Pipeline Device Tree Bindings
10 - Chen-Yu Tsai <wens@csie.org>
11 - Maxime Ripard <mripard@kernel.org>
14 The display engine pipeline (and its entry point, since it can be
15 either directly the backend or the frontend) is represented as an
18 The Allwinner A10 Display pipeline is composed of several components
[all …]
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/display/sunxi/
Dsun4i-drm.txt1 Allwinner A10 Display Pipeline
4 The Allwinner A10 Display pipeline is composed of several components
7 For all connections between components up to the TCONs in the display
13 Frontend 0 [0] ------- [0] Backend 0 [0] ------- [0] TCON 0
14 [1] -- -- [1] [1] -- -- [1]
18 [0] -- -- [0] [0] -- -- [0]
19 Frontend 1 [1] ------- [1] Backend 1 [1] ------- [1] TCON 1
25 The same rule also applies to DE 2.0 mixer-TCON connections:
27 Mixer 0 [0] ----------- [0] TCON 0
28 [1] ---- ---- [1]
[all …]
/kernel/linux/linux-4.19/drivers/gpu/drm/sun4i/
Dsun4i_backend.c5 * Maxime Ripard <maxime.ripard@free-electrons.com>
35 /* backend <-> TCON muxing selection done in backend */
50 * G = 1.164 * Y - 0.391 * U - 0.813 * V + 135
51 * R = 1.164 * Y + 1.596 * V - 222
96 regmap_write(engine->regs, SUN4I_BACKEND_OCCTL_REG, in sun4i_backend_apply_color_correction()
100 regmap_write(engine->regs, SUN4I_BACKEND_OCRCOEF_REG(i), in sun4i_backend_apply_color_correction()
109 regmap_update_bits(engine->regs, SUN4I_BACKEND_OCCTL_REG, in sun4i_backend_disable_color_correction()
117 regmap_write(engine->regs, SUN4I_BACKEND_REGBUFFCTL_REG, in sun4i_backend_commit()
122 void sun4i_backend_layer_enable(struct sun4i_backend *backend, in sun4i_backend_layer_enable() argument
135 regmap_update_bits(backend->engine.regs, SUN4I_BACKEND_MODCTL_REG, in sun4i_backend_layer_enable()
[all …]
DKconfig2 tristate "DRM Support for Allwinner A10 Display Engine"
13 Display Engine. If M is selected the module will be called
14 sun4i-drm.
35 tristate "Support for Allwinner A10 Display Engine Backend"
39 original Allwinner Display Engine, which has a backend to
41 selected the module will be called sun4i-backend.
44 tristate "Allwinner A31 MIPI-DSI Controller Support"
50 MIPI-DSI support. If M is selected the module will be called
51 sun6i-dsi
63 tristate "Support for Allwinner Display Engine 2.0 Mixer"
[all …]
Dsun4i_tcon.c5 * Maxime Ripard <maxime.ripard@free-electrons.com>
45 drm_connector_list_iter_begin(encoder->dev, &iter); in sun4i_tcon_get_connector()
47 if (connector->encoder == encoder) { in sun4i_tcon_get_connector()
63 return -EINVAL; in sun4i_tcon_get_pixel_depth()
65 info = &connector->display_info; in sun4i_tcon_get_pixel_depth()
66 if (info->num_bus_formats != 1) in sun4i_tcon_get_pixel_depth()
67 return -EINVAL; in sun4i_tcon_get_pixel_depth()
69 switch (info->bus_formats[0]) { in sun4i_tcon_get_pixel_depth()
78 return -EINVAL; in sun4i_tcon_get_pixel_depth()
88 WARN_ON(!tcon->quirks->has_channel_0); in sun4i_tcon_channel_set_status()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/sun4i/
Dsun4i_backend.c1 // SPDX-License-Identifier: GPL-2.0-or-later
6 * Maxime Ripard <maxime.ripard@free-electrons.com>
14 #include <linux/dma-mapping.h>
34 /* backend <-> TCON muxing selection done in backend */
54 regmap_write(engine->regs, SUN4I_BACKEND_OCCTL_REG, in sun4i_backend_apply_color_correction()
58 regmap_write(engine->regs, SUN4I_BACKEND_OCRCOEF_REG(i), in sun4i_backend_apply_color_correction()
67 regmap_update_bits(engine->regs, SUN4I_BACKEND_OCCTL_REG, in sun4i_backend_disable_color_correction()
75 regmap_write(engine->regs, SUN4I_BACKEND_REGBUFFCTL_REG, in sun4i_backend_commit()
80 void sun4i_backend_layer_enable(struct sun4i_backend *backend, in sun4i_backend_layer_enable() argument
93 regmap_update_bits(backend->engine.regs, SUN4I_BACKEND_MODCTL_REG, in sun4i_backend_layer_enable()
[all …]
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
3 tristate "DRM Support for Allwinner A10 Display Engine"
14 Display Engine. If M is selected the module will be called
15 sun4i-drm.
36 tristate "Support for Allwinner A10 Display Engine Backend"
40 original Allwinner Display Engine, which has a backend to
42 selected the module will be called sun4i-backend.
45 tristate "Allwinner A31 MIPI-DSI Controller Support"
52 MIPI-DSI support. If M is selected the module will be called
65 tristate "Support for Allwinner Display Engine 2.0 Mixer"
[all …]
Dsun4i_tcon.c1 // SPDX-License-Identifier: GPL-2.0-or-later
6 * Maxime Ripard <maxime.ripard@free-electrons.com>
47 drm_connector_list_iter_begin(encoder->dev, &iter); in sun4i_tcon_get_connector()
49 if (connector->encoder == encoder) { in sun4i_tcon_get_connector()
65 return -EINVAL; in sun4i_tcon_get_pixel_depth()
67 info = &connector->display_info; in sun4i_tcon_get_pixel_depth()
68 if (info->num_bus_formats != 1) in sun4i_tcon_get_pixel_depth()
69 return -EINVAL; in sun4i_tcon_get_pixel_depth()
71 switch (info->bus_formats[0]) { in sun4i_tcon_get_pixel_depth()
80 return -EINVAL; in sun4i_tcon_get_pixel_depth()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/xen/
Dxen_drm_front.h1 /* SPDX-License-Identifier: GPL-2.0 OR MIT */
4 * Xen para-virtual DRM device
6 * Copyright (C) 2016-2018 EPAM Systems Inc.
27 * DOC: Driver modes of operation in terms of display buffers used
29 * Depending on the requirements for the para-virtualized environment, namely
31 * host and guest environments, display buffers can be allocated by either
32 * frontend driver or backend.
42 * hardware can still reach display buffer memory while importing PRIME
47 * DOC: Buffers allocated by the backend
49 * This mode of operation is run-time configured via guest domain configuration
[all …]
Dxen_drm_front_kms.c1 // SPDX-License-Identifier: GPL-2.0 OR MIT
4 * Xen para-virtual DRM device
6 * Copyright (C) 2016-2018 EPAM Systems Inc.
25 * Timeout in ms to wait for frame done event from the backend:
26 * must be a bit more than IO time-out
38 struct xen_drm_front_drm_info *drm_info = fb->dev->dev_private; in fb_destroy()
41 if (drm_dev_enter(fb->dev, &idx)) { in fb_destroy()
42 xen_drm_front_fb_detach(drm_info->front_info, in fb_destroy()
57 struct xen_drm_front_drm_info *drm_info = dev->dev_private; in fb_create()
66 gem_obj = fb->obj[0]; in fb_create()
[all …]
Dxen_drm_front.c1 // SPDX-License-Identifier: GPL-2.0 OR MIT
4 * Xen para-virtual DRM device
6 * Copyright (C) 2016-2018 EPAM Systems Inc.
12 #include <linux/dma-mapping.h>
27 #include <xen/xen-front-pgdir-shbuf.h>
47 dbuf->dbuf_cookie = dbuf_cookie; in dbuf_add_to_list()
48 list_add(&dbuf->list, &front_info->dbuf_list); in dbuf_add_to_list()
57 if (buf->dbuf_cookie == dbuf_cookie) in dbuf_get()
68 if (buf->dbuf_cookie == dbuf_cookie) { in dbuf_free()
69 list_del(&buf->list); in dbuf_free()
[all …]
Dxen_drm_front_cfg.c1 // SPDX-License-Identifier: GPL-2.0 OR MIT
4 * Xen para-virtual DRM device
6 * Copyright (C) 2016-2018 EPAM Systems Inc.
27 connector_path = devm_kasprintf(&front_info->xb_dev->dev, in cfg_connector()
30 return -ENOMEM; in cfg_connector()
34 &connector->width, &connector->height) < 0) { in cfg_connector()
36 connector->width = 0; in cfg_connector()
37 connector->height = 0; in cfg_connector()
38 return -EINVAL; in cfg_connector()
41 connector->xenstore_path = connector_path; in cfg_connector()
[all …]
/kernel/linux/linux-4.19/drivers/gpu/drm/xen/
Dxen_drm_front.h1 /* SPDX-License-Identifier: GPL-2.0 OR MIT */
4 * Xen para-virtual DRM device
6 * Copyright (C) 2016-2018 EPAM Systems Inc.
22 * DOC: Driver modes of operation in terms of display buffers used
24 * Depending on the requirements for the para-virtualized environment, namely
26 * host and guest environments, display buffers can be allocated by either
27 * frontend driver or backend.
37 * hardware can still reach display buffer memory while importing PRIME
42 * DOC: Buffers allocated by the backend
44 * This mode of operation is run-time configured via guest domain configuration
[all …]
Dxen_drm_front_kms.c1 // SPDX-License-Identifier: GPL-2.0 OR MIT
4 * Xen para-virtual DRM device
6 * Copyright (C) 2016-2018 EPAM Systems Inc.
24 * Timeout in ms to wait for frame done event from the backend:
25 * must be a bit more than IO time-out
37 struct xen_drm_front_drm_info *drm_info = fb->dev->dev_private; in fb_destroy()
40 if (drm_dev_enter(fb->dev, &idx)) { in fb_destroy()
41 xen_drm_front_fb_detach(drm_info->front_info, in fb_destroy()
56 struct xen_drm_front_drm_info *drm_info = dev->dev_private; in fb_create()
65 gem_obj = drm_gem_object_lookup(filp, mode_cmd->handles[0]); in fb_create()
[all …]
Dxen_drm_front.c1 // SPDX-License-Identifier: GPL-2.0 OR MIT
4 * Xen para-virtual DRM device
6 * Copyright (C) 2016-2018 EPAM Systems Inc.
45 return -ENOMEM; in dbuf_add_to_list()
47 dbuf->dbuf_cookie = dbuf_cookie; in dbuf_add_to_list()
48 dbuf->shbuf = shbuf; in dbuf_add_to_list()
49 list_add(&dbuf->list, &front_info->dbuf_list); in dbuf_add_to_list()
59 if (buf->dbuf_cookie == dbuf_cookie) in dbuf_get()
70 if (buf->fb_cookie == fb_cookie) in dbuf_flush_fb()
71 xen_drm_front_shbuf_flush(buf->shbuf); in dbuf_flush_fb()
[all …]
Dxen_drm_front_cfg.c1 // SPDX-License-Identifier: GPL-2.0 OR MIT
4 * Xen para-virtual DRM device
6 * Copyright (C) 2016-2018 EPAM Systems Inc.
27 connector_path = devm_kasprintf(&front_info->xb_dev->dev, in cfg_connector()
30 return -ENOMEM; in cfg_connector()
34 &connector->width, &connector->height) < 0) { in cfg_connector()
36 connector->width = 0; in cfg_connector()
37 connector->height = 0; in cfg_connector()
38 return -EINVAL; in cfg_connector()
41 connector->xenstore_path = connector_path; in cfg_connector()
[all …]
/kernel/linux/linux-4.19/include/xen/interface/io/
Ddisplif.h4 * Unified display device I/O interface for Xen guest OSes.
24 * Copyright (C) 2016-2017 EPAM Systems Inc.
48 * sophisticated use-cases than a framebuffer device can handle. At the
53 * o better configuration options including multiple display support
58 * Note: display resolution (XenStore's "resolution" property) defines
59 * visible area of the virtual display. At the same time resolution of
60 * the display and frame buffers may differ: buffers can be smaller, equal
61 * or bigger than the visible area. This is to enable use-cases, where backend
62 * may do some post-processing of the display and frame buffers supplied,
69 * o display/connector cloning
[all …]
/kernel/linux/linux-5.10/Documentation/gpu/
Dxen-front.rst2 drm/xen-front Xen para-virtualized frontend driver
5 This frontend driver implements Xen para-virtualized display
6 according to the display protocol described at
9 Driver modes of operation in terms of display buffers used
12 .. kernel-doc:: drivers/gpu/drm/xen/xen_drm_front.h
13 :doc: Driver modes of operation in terms of display buffers used
16 ----------------------------------------
18 .. kernel-doc:: drivers/gpu/drm/xen/xen_drm_front.h
21 Buffers allocated by the backend
22 --------------------------------
[all …]
/kernel/linux/linux-4.19/Documentation/gpu/
Dxen-front.rst2 drm/xen-front Xen para-virtualized frontend driver
5 This frontend driver implements Xen para-virtualized display
6 according to the display protocol described at
9 Driver modes of operation in terms of display buffers used
12 .. kernel-doc:: drivers/gpu/drm/xen/xen_drm_front.h
13 :doc: Driver modes of operation in terms of display buffers used
16 ----------------------------------------
18 .. kernel-doc:: drivers/gpu/drm/xen/xen_drm_front.h
21 Buffers allocated by the backend
22 --------------------------------
[all …]
/kernel/linux/linux-5.10/include/xen/interface/io/
Ddisplif.h4 * Unified display device I/O interface for Xen guest OSes.
24 * Copyright (C) 2016-2017 EPAM Systems Inc.
49 * sophisticated use-cases than a framebuffer device can handle. At the
54 * o better configuration options including multiple display support
59 * Note: display resolution (XenStore's "resolution" property) defines
60 * visible area of the virtual display. At the same time resolution of
61 * the display and frame buffers may differ: buffers can be smaller, equal
62 * or bigger than the visible area. This is to enable use-cases, where backend
63 * may do some post-processing of the display and frame buffers supplied,
70 * o display/connector cloning
[all …]
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Dsun8i-a23.dtsi2 * Copyright 2014 Chen-Yu Tsai
4 * Chen-Yu Tsai <wens@csie.org>
6 * This file is dual-licensed: you can use it either under the terms
45 #include "sun8i-a23-a33.dtsi"
50 #sound-dai-cells = <0>;
51 compatible = "allwinner,sun8i-a23-codec";
55 clock-names = "apb", "codec";
58 dma-names = "rx", "tx";
59 allwinner,codec-analog-controls = <&codec_analog>;
66 compatible = "allwinner,sun8i-a23-display-backend";
[all …]
/kernel/linux/linux-4.19/Documentation/filesystems/
D9p.txt21 http://xcpu.org/papers/xcpu-talk.pdf
25 http://xcpu.org/papers/cellfs-talk.pdf
28 * VirtFS: A Virtualization Aware File System pass-through
36 mount -t 9p 10.10.1.2 /mnt/9
40 mount -t 9p `namespace`/acme /mnt/9 -o trans=unix,uname=$USER
44 mount -t 9p -o trans=virtio <mount_tag> /mnt/9
56 unix - specifying a named pipe mount point
57 tcp - specifying a normal TCP/IP connection
58 fd - used passed file descriptors for connection
60 virtio - connect to the next virtio channel available
[all …]
/kernel/linux/linux-5.10/drivers/xen/
Dxen-front-pgdir-shbuf.c1 // SPDX-License-Identifier: GPL-2.0 OR MIT
4 * Xen frontend/backend page directory based shared buffer
22 #include <xen/xen-front-pgdir-shbuf.h>
36 * buffer. This structure is common to many Xen para-virtualized
47 * is allocated by the corresponding backend or frontend.
58 /* Fill page directory according to para-virtual display protocol. */
74 * page directory. Usually this is passed to the backend,
85 if (!buf->grefs) in xen_front_pgdir_shbuf_get_dir_start()
88 return buf->grefs[0]; in xen_front_pgdir_shbuf_get_dir_start()
98 * references onto the backing storage (buf->pages).
[all …]
/kernel/linux/linux-4.19/drivers/gpu/drm/amd/powerplay/hwmgr/
Dsmu7_hwmgr.c113 PP_ASSERT_WITH_CODE((PhwVIslands_Magic == hw_ps->magic), in cast_phw_smu7_power_state()
123 PP_ASSERT_WITH_CODE((PhwVIslands_Magic == hw_ps->magic), in cast_const_phw_smu7_power_state()
138 cgs_write_register(hwmgr->device, mmMC_SEQ_IO_DEBUG_INDEX, 0x9F); in smu7_get_mc_microcode_version()
140 hwmgr->microcode_version_info.MC = cgs_read_register(hwmgr->device, mmMC_SEQ_IO_DEBUG_DATA); in smu7_get_mc_microcode_version()
150 speedCntl = cgs_read_ind_register(hwmgr->device, CGS_IND_REG__PCIE, in smu7_get_current_pcie_speed()
161 link_width = PHM_READ_INDIRECT_FIELD(hwmgr->device, CGS_IND_REG__PCIE, in smu7_get_current_pcie_lane_number()
178 if (hwmgr->chip_id == CHIP_VEGAM) { in smu7_enable_smc_voltage_controller()
179 PHM_WRITE_VFPF_INDIRECT_FIELD(hwmgr->device, in smu7_enable_smc_voltage_controller()
181 PHM_WRITE_VFPF_INDIRECT_FIELD(hwmgr->device, in smu7_enable_smc_voltage_controller()
185 if (hwmgr->feature_mask & PP_SMC_VOLTAGE_CONTROL_MASK) in smu7_enable_smc_voltage_controller()
[all …]

12345