/linux-5.10/Documentation/devicetree/bindings/display/ |
D | simple-framebuffer.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/display/simple-framebuffer.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Simple Framebuffer Device Tree Bindings 10 - Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> 11 - Hans de Goede <hdegoede@redhat.com> 14 A simple frame-buffer describes a frame-buffer setup by firmware or 20 sub-nodes of the chosen node (*). Simplefb nodes must be named 21 framebuffer@<address>. [all …]
|
/linux-5.10/arch/x86/kernel/ |
D | sysfb.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 * Copyright (c) 2012-2013 David Herrmann <dh.herrmann@gmail.com> 8 * Simple-Framebuffer support for x86 systems 9 * Create a platform-device for any available boot framebuffer. The 10 * simple-framebuffer platform device is already available on DT systems, so 12 * platform device compatible with the "simple-framebuffer" DT object. If 13 * the framebuffer is incompatible, we instead create a legacy 14 * "vesa-framebuffer", "efi-framebuffer" or "platform-framebuffer" device and 16 * to pick these devices up without messing with simple-framebuffer drivers. 19 * If CONFIG_X86_SYSFB is not selected, we never register "simple-framebuffer" [all …]
|
D | sysfb_simplefb.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 * Copyright (c) 2012-2013 David Herrmann <dh.herrmann@gmail.com> 8 * simple-framebuffer probing 9 * Try to convert "screen_info" into a "simple-framebuffer" compatible mode. 26 /* try parsing x86 screen_info into a simple-framebuffer mode struct */ 34 type = si->orig_video_isVGA; in parse_mode() 40 if (si->lfb_depth == f->bits_per_pixel && in parse_mode() 41 si->red_size == f->red.length && in parse_mode() 42 si->red_pos == f->red.offset && in parse_mode() 43 si->green_size == f->green.length && in parse_mode() [all …]
|
/linux-5.10/include/linux/platform_data/ |
D | simplefb.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * simplefb.h - Simple Framebuffer Device 30 * Data-Format for Simple-Framebuffers 31 * @name: unique 0-terminated name that can be used to identify the mode 34 * @fourcc: 32bit DRM four-CC code (see drm_fourcc.h) 47 * Simple-Framebuffer description 48 * If the arch-boot code creates simple-framebuffers without DT support, it 49 * can pass the width, height, stride and format via this platform-data object. 50 * The framebuffer location must be given as IORESOURCE_MEM resource.
|
/linux-5.10/drivers/video/fbdev/ |
D | simplefb.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Simplest possible simple frame-buffer driver, as a platform device 8 * Copyright (C) 2001 Richard Zidlicky <rz@linux-m68k.org> 29 .id = "simple", 36 .height = -1, 37 .width = -1, 47 u32 *pal = info->pseudo_palette; in simplefb_setcolreg() 48 u32 cr = red >> (16 - info->var.red.length); in simplefb_setcolreg() 49 u32 cg = green >> (16 - info->var.green.length); in simplefb_setcolreg() 50 u32 cb = blue >> (16 - info->var.blue.length); in simplefb_setcolreg() [all …]
|
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 20 a well-defined interface, so the software doesn't need to know 21 anything about the low-level (hardware register) stuff. 27 On several non-X86 architectures, the frame buffer device is the 34 buffer devices. Please read <file:Documentation/fb/framebuffer.rst> 35 and the Framebuffer-HOWTO at 36 <http://www.munted.org.uk/programming/Framebuffer-HOWTO-1.3.html> for more 40 are compiling a kernel for a non-x86 architecture. 46 device-aware may cause unexpected results. If unsure, say N. 73 If true, at least one selected framebuffer driver can take advantage [all …]
|
/linux-5.10/drivers/firmware/google/ |
D | framebuffer-coreboot.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * framebuffer-coreboot.c 5 * Memory based framebuffer accessed through coreboot table. 7 * Copyright 2012-2013 David Herrmann <dh.herrmann@gmail.com> 29 struct lb_framebuffer *fb = &dev->framebuffer; in framebuffer_probe() 33 .width = fb->x_resolution, in framebuffer_probe() 34 .height = fb->y_resolution, in framebuffer_probe() 35 .stride = fb->bytes_per_line, in framebuffer_probe() 40 if (fb->bits_per_pixel == formats[i].bits_per_pixel && in framebuffer_probe() 41 fb->red_mask_pos == formats[i].red.offset && in framebuffer_probe() [all …]
|
/linux-5.10/drivers/gpu/drm/ |
D | drm_gem_framebuffer_helper.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * drm gem framebuffer helper functions 8 #include <linux/dma-buf.h> 9 #include <linux/dma-fence.h> 10 #include <linux/dma-resv.h> 43 * drm_gem_fb_get_obj() - Get GEM object backing the framebuffer 44 * @fb: Framebuffer 51 * Pointer to &drm_gem_object for the given framebuffer and plane index or NULL 60 return fb->obj[plane]; in drm_gem_fb_get_obj() 76 fb->obj[i] = obj[i]; in drm_gem_fb_init() [all …]
|
D | drm_gem_vram_helper.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 27 * framebuffer devices with dedicated memory. 30 * manager for simple framebuffer devices with dedicated video memory. GEM 35 * graphics buffers, such as an on-screen framebuffer. GEM does not provide 50 * .. code-block:: c 86 * clean-up handler to run during the DRM device's release. 106 * Buffer-objects helpers 116 WARN_ON(gbo->kmap_use_count); in drm_gem_vram_cleanup() 117 WARN_ON(gbo->kmap.virtual); in drm_gem_vram_cleanup() 119 drm_gem_object_release(&gbo->bo.base); in drm_gem_vram_cleanup() [all …]
|
/linux-5.10/arch/arm64/boot/dts/amlogic/ |
D | meson-gx.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 12 #include <dt-bindings/gpio/gpio.h> 13 #include <dt-bindings/interrupt-controller/irq.h> 14 #include <dt-bindings/interrupt-controller/arm-gic.h> 15 #include <dt-bindings/power/meson-gxbb-power.h> 16 #include <dt-bindings/reset/amlogic,meson-gxbb-reset.h> 17 #include <dt-bindings/thermal/thermal.h> 20 interrupt-parent = <&gic>; 21 #address-cells = <2>; 22 #size-cells = <2>; [all …]
|
/linux-5.10/Documentation/devicetree/bindings/ |
D | xilinx.txt | 10 Each IP-core has a set of parameters which the FPGA designer can use to 20 properties of the device node. In general, device nodes for IP-cores 23 (name): (generic-name)@(base-address) { 24 compatible = "xlnx,(ip-core-name)-(HW_VER)" 27 interrupt-parent = <&interrupt-controller-phandle>; 29 xlnx,(parameter1) = "(string-value)"; 30 xlnx,(parameter2) = <(int-value)>; 33 (generic-name): an open firmware-style name that describes the 36 (ip-core-name): the name of the ip block (given after the BEGIN 38 and all underscores '_' converted to dashes '-'. [all …]
|
/linux-5.10/arch/arm/boot/dts/ |
D | sun5i-a10s.dtsi | 4 * Maxime Ripard <maxime.ripard@free-electrons.com> 6 * This file is dual-licensed: you can use it either under the terms 47 #include <dt-bindings/dma/sun4i-a10.h> 55 #address-cells = <1>; 56 #size-cells = <1>; 59 framebuffer-lcd0-hdmi { 60 compatible = "allwinner,simple-framebuffer", 61 "simple-framebuffer"; 62 allwinner,pipeline = "de_be0-lcd0-hdmi"; 70 display-engine { [all …]
|
D | sun4i-a10.dtsi | 5 * This file is dual-licensed: you can use it either under the terms 44 #include <dt-bindings/thermal/thermal.h> 45 #include <dt-bindings/dma/sun4i-a10.h> 46 #include <dt-bindings/clock/sun4i-a10-ccu.h> 47 #include <dt-bindings/reset/sun4i-a10-ccu.h> 50 #address-cells = <1>; 51 #size-cells = <1>; 52 interrupt-parent = <&intc>; 59 #address-cells = <1>; 60 #size-cells = <1>; [all …]
|
D | sun5i.dtsi | 2 * Copyright 2012-2015 Maxime Ripard 4 * Maxime Ripard <maxime.ripard@free-electrons.com> 6 * This file is dual-licensed: you can use it either under the terms 45 #include <dt-bindings/clock/sun5i-ccu.h> 46 #include <dt-bindings/dma/sun4i-a10.h> 47 #include <dt-bindings/reset/sun5i-ccu.h> 50 interrupt-parent = <&intc>; 51 #address-cells = <1>; 52 #size-cells = <1>; 55 #address-cells = <1>; [all …]
|
D | sunxi-h3-h5.dtsi | 4 * This file is dual-licensed: you can use it either under the terms 43 #include <dt-bindings/clock/sun8i-de2.h> 44 #include <dt-bindings/clock/sun8i-h3-ccu.h> 45 #include <dt-bindings/clock/sun8i-r-ccu.h> 46 #include <dt-bindings/interrupt-controller/arm-gic.h> 47 #include <dt-bindings/reset/sun8i-de2.h> 48 #include <dt-bindings/reset/sun8i-h3-ccu.h> 49 #include <dt-bindings/reset/sun8i-r-ccu.h> 52 interrupt-parent = <&gic>; 53 #address-cells = <1>; [all …]
|
D | sun7i-a20.dtsi | 4 * Maxime Ripard <maxime.ripard@free-electrons.com> 6 * This file is dual-licensed: you can use it either under the terms 45 #include <dt-bindings/interrupt-controller/arm-gic.h> 46 #include <dt-bindings/thermal/thermal.h> 47 #include <dt-bindings/dma/sun4i-a10.h> 48 #include <dt-bindings/clock/sun7i-a20-ccu.h> 49 #include <dt-bindings/reset/sun4i-a10-ccu.h> 50 #include <dt-bindings/pinctrl/sun4i-a10.h> 53 interrupt-parent = <&gic>; 54 #address-cells = <1>; [all …]
|
/linux-5.10/Documentation/fb/ |
D | udlfb.rst | 7 DisplayLink chips provide simple hline/blit operations with some compression, 8 pairing that with a hardware framebuffer (16MB) on the other end of the 9 USB wire. That hardware framebuffer is able to drive the VGA, DVI, or HDMI 13 result with a local shadow of the remote hardware framebuffer to identify 15 pixels line-by-line via USB bulk transfers. 18 does not require any acks - the effect is very low latency that 20 non-gaming and non-video applications. 23 setting is very flexible - able to set nearly arbitrary modes from any timing. 32 Advantages of supporting DisplayLink chips with kernel framebuffer interface: 35 one-to-one with the fbdev interface, making the driver quite small and [all …]
|
D | framebuffer.rst | 9 --------------- 13 software to access the graphics hardware through a well-defined interface, so 14 the software doesn't need to know anything about the low-level (hardware 22 -------------------------- 39 /dev/fb0current -> fb0 40 /dev/fb1current -> fb1 50 graphics card in addition to the built-in hardware. The corresponding frame 56 $FRAMEBUFFER to the path name of a frame buffer device, e.g. (for sh/bash 59 export FRAMEBUFFER=/dev/fb1 63 setenv FRAMEBUFFER /dev/fb1 [all …]
|
D | vesafb.rst | 5 This is a generic driver for a graphic framebuffer on intel boxes. 7 The idea is simple: Turn on graphics mode at boot time with the help 8 of the BIOS, and use this as framebuffer device /dev/fb0, like the m68k 20 * You can run XF68_FBDev on top of /dev/fb0 (=> non-accelerated X11 22 * Most important: boot logo :-) 33 Documentation/admin-guide/svga.rst for details. 81 "vga=mode-number" you have to transform the numbers to decimal. 88 XF68_FBDev should work just fine, but it is non-accelerated. Running 89 another (accelerated) X-Server like XF86_SVGA might or might not work. 90 It depends on X-Server and graphics board. [all …]
|
/linux-5.10/samples/vfio-mdev/ |
D | mdpy-defs.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * Simple pci display device. 5 * Framebuffer memory is pci bar 0. 6 * Configuration (read-only) is in pci config space.
|
/linux-5.10/arch/arm64/boot/dts/qcom/ |
D | sdm630-sony-xperia-nile.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 6 /dts-v1/; 11 #include <dt-bindings/gpio/gpio.h> 12 #include <dt-bindings/input/input.h> 13 #include <dt-bindings/input/gpio-keys.h> 17 qcom,msm-id = <318 0>; 18 qcom,board-id = <8 1>; 19 qcom,pmic-id = <0x1001b 0x101011a 0x00 0x00 0x1001b 0x201011a 0x00 0x00>; 21 /* This part enables graphical output via bootloader-enabled display */ 25 #address-cells = <2>; [all …]
|
/linux-5.10/arch/arm64/boot/dts/socionext/ |
D | uniphier-ld20-akebi96.dts | 1 // SPDX-License-Identifier: GPL-2.0+ OR MIT 5 // Derived from uniphier-ld20-global.dts. 7 // Copyright (C) 2015-2017 Socionext Inc. 8 // Copyright (C) 2019-2020 Linaro Ltd. 10 /dts-v1/; 11 #include <dt-bindings/gpio/uniphier-gpio.h> 12 #include "uniphier-ld20.dtsi" 16 compatible = "socionext,uniphier-ld20-akebi96", 17 "socionext,uniphier-ld20"; 20 stdout-path = "serial0:115200n8"; [all …]
|
/linux-5.10/arch/arm64/boot/dts/allwinner/ |
D | sun50i-a64.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 #include <dt-bindings/clock/sun50i-a64-ccu.h> 7 #include <dt-bindings/clock/sun8i-de2.h> 8 #include <dt-bindings/clock/sun8i-r-ccu.h> 9 #include <dt-bindings/interrupt-controller/arm-gic.h> 10 #include <dt-bindings/reset/sun50i-a64-ccu.h> 11 #include <dt-bindings/reset/sun8i-de2.h> 12 #include <dt-bindings/reset/sun8i-r-ccu.h> 13 #include <dt-bindings/thermal/thermal.h> 16 interrupt-parent = <&gic>; [all …]
|
/linux-5.10/drivers/gpu/drm/gma500/ |
D | framebuffer.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2007-2011, Intel Corporation. 26 #include "framebuffer.h" 37 #define CMAP_TOHW(_val, _width) ((((_val) << (_width)) + 0x7FFF - (_val)) >> 16) 43 struct drm_fb_helper *fb_helper = info->par; in psbfb_setcolreg() 44 struct drm_framebuffer *fb = fb_helper->fb; in psbfb_setcolreg() 48 return -ENOMEM; in psbfb_setcolreg() 53 red = CMAP_TOHW(red, info->var.red.length); in psbfb_setcolreg() 54 blue = CMAP_TOHW(blue, info->var.blue.length); in psbfb_setcolreg() 55 green = CMAP_TOHW(green, info->var.green.length); in psbfb_setcolreg() [all …]
|
/linux-5.10/Documentation/admin-guide/media/ |
D | vivid.rst | 1 .. SPDX-License-Identifier: GPL-2.0 9 simple framebuffer device is available for testing capture and output overlays. 13 Each input can be a webcam, TV capture device, S-Video capture device or an HDMI 14 capture device. Each output can be an S-Video output device or an HDMI output 23 - Support for read()/write(), MMAP, USERPTR and DMABUF streaming I/O. 24 - A large list of test patterns and variations thereof 25 - Working brightness, contrast, saturation and hue controls 26 - Support for the alpha color component 27 - Full colorspace support, including limited/full RGB range 28 - All possible control types are present [all …]
|