| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/display/ |
| H A D | allwinner,sun4i-a10-display-backend.yaml | 1 # 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 …]
|
| H A D | allwinner,sun4i-a10-display-engine.yaml | 1 # 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 …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/sun4i/ |
| H A D | sun4i_backend.c | 1 // 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 …]
|
| H A D | Kconfig | 1 # 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" 53 MIPI-DSI support. If M is selected the module will be called 66 tristate "Support for Allwinner Display Engine 2.0 Mixer" [all …]
|
| H A D | sun4i_tcon.c | 1 // 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 …]
|
| /OK3568_Linux_fs/external/xserver/hw/dmx/ |
| H A D | dmxprop.c | 2 * Copyright 2002-2003 Red Hat Inc., Durham, North Carolina. 21 * NON-INFRINGEMENT. IN NO EVENT SHALL RED HAT AND/OR THEIR SUPPLIERS 36 * It is possible for one of the DMX "backend displays" to actually be 37 * smaller than the dimensions of the backend X server. Therefore, it 38 * is possible for more than one of the DMX "backend displays" to be 39 * physically located on the same backend X server. This situation must 43 * We could analyze the names used for the DMX "backend displays" (e.g., 44 * the names passed to the -display command-line parameter), but there 45 * are many possible names for a single X display, and failing to detect 47 * DMX server opens a window on a backend X server, a property value is [all …]
|
| H A D | dmx.h | 2 * Copyright 2001-2003 Red Hat Inc., Durham, North Carolina. 21 * NON-INFRINGEMENT. IN NO EVENT SHALL RED HAT AND/OR THEIR SUPPLIERS 37 * Main header file included by all other DMX-related files. 41 * - <a href="http://dmx.sourceforge.net">DMX Home Page</a> 42 * - <a href="http://sourceforge.net/projects/dmx">DMX Project Page (on 44 * - <a href="http://dmx.sourceforge.net/dmx.html">Distributed Multihead 46 * - <a href="http://dmx.sourceforge.net/DMXSpec.txt">Client-to-Server 54 #include <dmx-config.h> 59 /* Handle client-side include files in one place. */ 73 PosNone = -1, [all …]
|
| H A D | dmxinput.h | 21 * NON-INFRINGEMENT. IN NO EVENT SHALL RED HAT AND/OR THEIR SUPPLIERS 38 * - global variables available to all hw/dmx routines, and 39 * - enumerations and typedefs needed by input routines in hw/dmx (and 43 * hw/dmx/input -- the interface defined here should be the only 71 * available to input-related routines. */ 73 const char *name; /**< Name of input display or device 83 Bool console; /**< True if console and backend 84 * input share the same backend 85 * display */ 104 * pointer of a backend display; or all of the XInput extension [all …]
|
| H A D | dmxinit.c | 2 * Copyright 2001-2004 Red Hat Inc., Durham, North Carolina. 21 * NON-INFRINGEMENT. IN NO EVENT SHALL RED HAT AND/OR THEIR SUPPLIERS 41 #include <dmx-config.h> 119 * back-end servers. Some of this code is based on _XPrintDefaultError 122 dmxErrorHandler(Display * dpy, XErrorEvent * ev) in dmxErrorHandler() 126 * length-limited calls. */ in dmxErrorHandler() 134 XGetErrorText(dpy, ev->error_code, buf, sizeof(buf)); in dmxErrorHandler() 138 if (ev->request_code < 128) { in dmxErrorHandler() 139 snprintf(request, sizeof(request), "%d", ev->request_code); in dmxErrorHandler() 143 for (ext = dpy->ext_procs; in dmxErrorHandler() [all …]
|
| /OK3568_Linux_fs/yocto/meta-rockchip/recipes-graphics/wayland/weston_10.0.2/ |
| H A D | 0027-HACK-backend-drm-Consider-linear-and-invalid-modifie.patch | 2 From: Jeffy Chen <jeffy.chen@rock-chips.com> 4 Subject: [PATCH 27/79] HACK: backend-drm: Consider linear and invalid modifier 9 Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com> 10 --- 11 clients/simple-dmabuf-egl.c | 8 ++++++-- 12 libweston/backend-drm/drm-gbm.c | 3 ++- 13 libweston/backend-drm/drm-virtual.c | 8 +------- 14 libweston/backend-drm/fb.c | 10 ++++++---- 15 libweston/backend-drm/kms.c | 2 +- 16 libweston/linux-dmabuf.h | 4 ++++ [all …]
|
| /OK3568_Linux_fs/external/xserver/hw/dmx/man/ |
| H A D | Xdmx.man | 2 .\" Copyright 2001-2004 Red Hat Inc., Durham, North Carolina. 20 .\" NON-INFRINGEMENT. IN NO EVENT SHALL RED HAT AND/OR THEIR SUPPLIERS 27 Xdmx - Distributed Multi-head X server 30 [:display] [option ...] 33 is a proxy X server that uses one or more other X servers as its display 34 devices. It provides multi-head X functionality for displays that might 37 functions as a front-end X server that acts as a proxy to a set of 38 back-end X servers. All of the visible rendering is passed to the 39 back-end X servers. Clients connect to the 41 front-end, and everything appears as it would in a regular multi-head [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/xen/ |
| H A D | xen_drm_front.h | 1 /* 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 …]
|
| H A D | xen_drm_front_kms.c | 1 // 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 …]
|
| /OK3568_Linux_fs/yocto/meta-rockchip/recipes-graphics/wayland/weston_11.0.1/ |
| H A D | 0084-backend-vnc-add-VNC-support-using-Neat-VNC-library.patch | 4 Subject: [PATCH 84/93] backend-vnc: add VNC support using Neat VNC library 8 loop library. The backend makes use of AML's integrated epoll backend 14 Co-authored-by: Philipp Zabel <p.zabel@pengutronix.de> 15 Co-authored-by: Rouven Czerwinski <r.czerwinski@pengutronix.de> 16 Signed-off-by: Stefan Agner <stefan@agner.ch> 18 - use new (as of 0.5.0) Neat VNC buffer API, with a buffer pool] 19 Signed-off-by: Rouven Czerwinski <r.czerwinski@pengutronix.de> 21 - transform repaint damage to output coordinates 22 - transform pointer coordinates into global space 23 - check that outputs and heads are in fact ours, see aab722bb1785..060ef82d9360 [all …]
|
| H A D | 0030-HACK-backend-drm-Consider-linear-and-invalid-modifie.patch | 2 From: Jeffy Chen <jeffy.chen@rock-chips.com> 4 Subject: [PATCH 30/93] HACK: backend-drm: Consider linear and invalid modifier 9 Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com> 10 --- 11 clients/simple-dmabuf-egl.c | 5 +++-- 12 clients/simple-dmabuf-v4l.c | 2 +- 13 libweston/backend-drm/drm-gbm.c | 3 ++- 14 libweston/backend-drm/fb.c | 6 ++++-- 15 libweston/linux-dmabuf.c | 3 +-- 16 libweston/pixel-formats.c | 2 +- [all …]
|
| H A D | 0085-man-add-a-man-page-for-the-VNC-backend.patch | 4 Subject: [PATCH 85/93] man: add a man page for the VNC backend 6 Add a new weston-vnc man page, based on the weston-rdp man page. 9 Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de> 11 Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com> 12 --- 14 man/weston-vnc.man | 57 ++++++++++++++++++++++++++++++++++++++++++++++ 17 create mode 100644 man/weston-vnc.man 19 diff --git a/man/meson.build b/man/meson.build 21 --- a/man/meson.build 23 @@ -53,3 +53,12 @@ if get_option('backend-rdp') [all …]
|
| /OK3568_Linux_fs/buildroot/package/weston/ |
| H A D | 0083-backend-vnc-add-VNC-support-using-Neat-VNC-library.patch | 4 Subject: [PATCH 83/93] backend-vnc: add VNC support using Neat VNC library 8 loop library. The backend makes use of AML's integrated epoll backend 14 Co-authored-by: Philipp Zabel <p.zabel@pengutronix.de> 15 Co-authored-by: Rouven Czerwinski <r.czerwinski@pengutronix.de> 16 Signed-off-by: Stefan Agner <stefan@agner.ch> 18 - use new (as of 0.5.0) Neat VNC buffer API, with a buffer pool] 19 Signed-off-by: Rouven Czerwinski <r.czerwinski@pengutronix.de> 21 - transform repaint damage to output coordinates 22 - transform pointer coordinates into global space 23 - check that outputs and heads are in fact ours, see aab722bb1785..060ef82d9360 [all …]
|
| H A D | 0030-HACK-backend-drm-Consider-linear-and-invalid-modifie.patch | 2 From: Jeffy Chen <jeffy.chen@rock-chips.com> 4 Subject: [PATCH 30/95] HACK: backend-drm: Consider linear and invalid modifier 9 Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com> 10 --- 11 clients/simple-dmabuf-egl.c | 5 +++-- 12 clients/simple-dmabuf-v4l.c | 2 +- 13 libweston/backend-drm/drm-gbm.c | 3 ++- 14 libweston/backend-drm/fb.c | 6 ++++-- 15 libweston/linux-dmabuf.c | 3 +-- 16 libweston/pixel-formats.c | 2 +- [all …]
|
| /OK3568_Linux_fs/external/xserver/hw/dmx/examples/ |
| H A D | dmxinfo.c | 21 * NON-INFRINGEMENT. IN NO EVENT SHALL RED HAT AND/OR THEIR SUPPLIERS 49 print_window_id(const char *displayName, Display * display, in print_window_id() argument 54 if (!XFetchName(display, window, &name)) in print_window_id() 62 name ? name : "", (window == DefaultRootWindow(display)) in print_window_id() 69 print_info(Display * display, Window window, int level, int child) in print_info() argument 75 if (!DMXGetWindowAttributes(display, window, &count, 128, winfo)) { in print_info() 78 exit(-2); in print_info() 81 print_window_id("DMX", display, window, level, child); in print_info() 84 Display *backend; in print_info() local 86 /* This could also be cached -- the information doesn't change. */ in print_info() [all …]
|
| H A D | xinput.c | 21 * NON-INFRINGEMENT. IN NO EVENT SHALL RED HAT AND/OR THEIR SUPPLIERS 48 if (iinf->isCore) in core() 50 else if (iinf->sendsCore) in core() 57 printdmxinfo(Display * display, int id) in printdmxinfo() argument 63 Display *backend; in printdmxinfo() local 66 if (!DMXQueryExtension(display, &event_base, &error_base)) in printdmxinfo() 68 if (!DMXQueryVersion(display, &major_version, &minor_version, in printdmxinfo() 73 if (!DMXGetInputAttributes(display, id, &iinf)) in printdmxinfo() 90 if ((backend = XOpenDisplay(iinf.name))) { in printdmxinfo() 91 XExtensionVersion *ext = XGetExtensionVersion(backend, INAME); in printdmxinfo() [all …]
|
| /OK3568_Linux_fs/kernel/include/xen/interface/io/ |
| H A D | displif.h | 4 * 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 …]
|
| /OK3568_Linux_fs/external/xserver/hw/dmx/input/ |
| H A D | dmxbackend.c | 2 * Copyright 2001-2003 Red Hat Inc., Durham, North Carolina. 21 * NON-INFRINGEMENT. IN NO EVENT SHALL RED HAT AND/OR THEIR SUPPLIERS 36 * These routines support taking input from devices on the backend 40 #include <dmx-config.h> 63 /* Private area for backend devices. */ 110 priv->dmxLocal = dmxLocal; in dmxBackendCreatePrivate() 128 if (dmxScreen->index == target) in dmxBackendTestScreen() 133 /* Return non-zero if screen and priv->myScreen are on the same physical 134 * backend display (1 if they are the same screen, 2 if they are 142 static int oldscreen = -1; in dmxBackendSameDisplay() [all …]
|
| H A D | dmxconsole.c | 2 * Copyright 2001-2003 Red Hat Inc., Durham, North Carolina. 21 * NON-INFRINGEMENT. IN NO EVENT SHALL RED HAT AND/OR THEIR SUPPLIERS 42 #include <dmx-config.h> 122 return (int) ((x * priv->xScale) + .5); in scalex() 128 return (int) ((y * priv->yScale) + .5); in scaley() 134 return (int) ((x / priv->xScale) + .5); in unscalex() 140 return (int) ((y / priv->yScale) + .5); in unscaley() 150 priv->dmxLocal = dmxLocal; in dmxConsoleCreatePrivate() 154 /** If \a private is non-NULL, free its associated memory. */ 167 XDrawLine(priv->display, priv->pixmap, priv->gcCur, in dmxConsoleDrawFineCursor() [all …]
|
| /OK3568_Linux_fs/external/xserver/hw/xwayland/ |
| H A D | xwayland-glamor.c | 2 * Copyright © 2011-2014 Intel Corporation 38 eglMakeCurrent(glamor_ctx->display, EGL_NO_SURFACE, in glamor_egl_make_current() 40 if (!eglMakeCurrent(glamor_ctx->display, in glamor_egl_make_current() 42 glamor_ctx->ctx)) in glamor_egl_make_current() 49 if (lastGLContext == xwl_screen->glamor_ctx) in xwl_glamor_egl_make_current() 52 lastGLContext = xwl_screen->glamor_ctx; in xwl_glamor_egl_make_current() 53 xwl_screen->glamor_ctx->make_current(xwl_screen->glamor_ctx); in xwl_glamor_egl_make_current() 62 glamor_ctx->ctx = xwl_screen->egl_context; in glamor_egl_screen_init() 63 glamor_ctx->display = xwl_screen->egl_display; in glamor_egl_screen_init() 65 glamor_ctx->make_current = glamor_egl_make_current; in glamor_egl_screen_init() [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/gpu/ |
| H A D | xen-front.rst | 2 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 …]
|