/openbmc/linux/Documentation/devicetree/bindings/display/ |
H A D | xylon,logicvc-display.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 4 --- 5 $id: http://devicetree.org/schemas/display/xylon,logicvc-display.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Paul Kocialkowski <paul.kocialkowski@bootlin.com> 16 with Xilinx Zynq-7000 SoCs and Xilinx FPGAs. 20 synthesis time. As a result, many of the device-tree bindings are meant to 24 Layers are declared in the "layers" sub-node and have dedicated configuration. 25 In version 3 of the controller, each layer has fixed memory offset and address 32 - xylon,logicvc-3.02.a-display [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/inc/hw/ |
H A D | mpc.h | 1 /* Copyright 2012-15 Advanced Micro Devices, Inc. 26 * DOC: mpc-overview 29 * that performs blending of multiple planes, using global and per-pixel alpha. 30 * It also performs post-blending color correction operations according to the 62 * enum mpcc_alpha_blend_mode - define the alpha blend mode regarding pixel 63 * alpha and plane alpha values 67 * @MPCC_ALPHA_BLEND_MODE_PER_PIXEL_ALPHA: per pixel alpha using DPP 68 * alpha value 73 * pixel alpha using DPP alpha value multiplied by a global gain (plane 74 * alpha) [all …]
|
/openbmc/linux/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> 35 /* backend <-> TCON muxing selection done in backend */ 38 /* alpha at the lowest z position is not always supported */ 55 regmap_write(engine->regs, SUN4I_BACKEND_OCCTL_REG, in sun4i_backend_apply_color_correction() 59 regmap_write(engine->regs, SUN4I_BACKEND_OCRCOEF_REG(i), in sun4i_backend_apply_color_correction() 68 regmap_update_bits(engine->regs, SUN4I_BACKEND_OCCTL_REG, in sun4i_backend_disable_color_correction() 76 regmap_write(engine->regs, SUN4I_BACKEND_REGBUFFCTL_REG, in sun4i_backend_commit() 82 int layer, bool enable) in sun4i_backend_layer_enable() argument [all …]
|
H A D | sun8i_vi_layer.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 38 regmap_update_bits(mixer->engine.regs, in sun8i_vi_layer_enable() 43 regmap_update_bits(mixer->engine.regs, in sun8i_vi_layer_enable() 48 regmap_update_bits(mixer->engine.regs, in sun8i_vi_layer_enable() 57 regmap_update_bits(mixer->engine.regs, in sun8i_vi_layer_enable() 63 regmap_update_bits(mixer->engine.regs, in sun8i_vi_layer_enable() 77 if (mixer->cfg->is_de3) { in sun8i_vi_layer_update_alpha() 81 (plane->state->alpha >> 8); in sun8i_vi_layer_update_alpha() 83 val |= (plane->state->alpha == DRM_BLEND_ALPHA_OPAQUE) ? in sun8i_vi_layer_update_alpha() 87 regmap_update_bits(mixer->engine.regs, in sun8i_vi_layer_update_alpha() [all …]
|
H A D | sun8i_mixer.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 11 #include <linux/dma-mapping.h> 90 /* for DE2 VI layer which ignores alpha */ 99 /* for DE2 VI layer which ignores alpha */ 108 /* for DE2 VI layer which ignores alpha */ 117 /* for DE2 VI layer which ignores alpha */ 126 /* for DE2 VI layer which ignores alpha */ 135 /* for DE2 VI layer which ignores alpha */ 144 /* for DE2 VI layer which ignores alpha */ 153 /* for DE2 VI layer which ignores alpha */ [all …]
|
/openbmc/linux/drivers/gpu/drm/logicvc/ |
H A D | logicvc_layer.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Copyright (C) 2019-2022 Bootlin 41 * What we call depth in this driver only counts color components, not alpha. 64 .alpha = true, 86 struct drm_device *drm_dev = drm_plane->dev; in logicvc_plane_atomic_check() 87 struct logicvc_layer *layer = logicvc_layer(drm_plane); in logicvc_plane_atomic_check() local 96 if (!new_state->crtc) in logicvc_plane_atomic_check() 99 crtc_state = drm_atomic_get_existing_crtc_state(new_state->state, in logicvc_plane_atomic_check() 100 new_state->crtc); in logicvc_plane_atomic_check() 102 return -EINVAL; in logicvc_plane_atomic_check() [all …]
|
H A D | logicvc_of.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Copyright (C) 2019-2022 Bootlin 14 { "lvds-4bits", LOGICVC_DISPLAY_INTERFACE_LVDS_4BITS }, 15 { "lvds-3bits", LOGICVC_DISPLAY_INTERFACE_LVDS_3BITS }, 33 { "layer", LOGICVC_LAYER_ALPHA_LAYER }, 40 .name = "xylon,display-interface", 48 .name = "xylon,display-colorspace", 56 .name = "xylon,display-depth", 60 .name = "xylon,row-stride", 67 .name = "xylon,background-layer", [all …]
|
/openbmc/linux/drivers/gpu/drm/xlnx/ |
H A D | zynqmp_disp.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 5 * Copyright (C) 2017 - 2020 Xilinx, Inc. 8 * - Hyun Woo Kwon <hyun.kwon@xilinx.com> 9 * - Laurent Pinchart <laurent.pinchart@ideasonboard.com> 36 * enum zynqmp_dpsub_layer_id - Layer identifier 37 * @ZYNQMP_DPSUB_LAYER_VID: Video layer 38 * @ZYNQMP_DPSUB_LAYER_GFX: Graphics layer 46 * enum zynqmp_dpsub_layer_mode - Layer mode 47 * @ZYNQMP_DPSUB_LAYER_NONLIVE: non-live (memory) mode 48 * @ZYNQMP_DPSUB_LAYER_LIVE: live (stream) mode [all …]
|
H A D | zynqmp_disp.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2017 - 2020 Xilinx, Inc. 8 * - Hyun Woo Kwon <hyun.kwon@xilinx.com> 9 * - Laurent Pinchart <laurent.pinchart@ideasonboard.com> 19 #include <linux/dma-mapping.h> 33 * -------- 38 * +------------------------------------------------------------+ 39 * +--------+ | +----------------+ +-----------+ | 40 * | DPDMA | --->| | --> | Video | Video +-------------+ | 41 * | 4x vid | | | | | Rendering | -+--> | | | +------+ [all …]
|
H A D | zynqmp_kms.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * ZynqMP DisplayPort Subsystem - KMS API 5 * Copyright (C) 2017 - 2021 Xilinx, Inc. 8 * - Hyun Woo Kwon <hyun.kwon@xilinx.com> 9 * - Laurent Pinchart <laurent.pinchart@ideasonboard.com> 47 return container_of(drm, struct zynqmp_dpsub_drm, dev)->dpsub; in to_zynqmp_dpsub() 50 /* ----------------------------------------------------------------------------- 61 if (!new_plane_state->crtc) in zynqmp_dpsub_plane_atomic_check() 64 crtc_state = drm_atomic_get_crtc_state(state, new_plane_state->crtc); in zynqmp_dpsub_plane_atomic_check() 80 struct zynqmp_dpsub *dpsub = to_zynqmp_dpsub(plane->dev); in zynqmp_dpsub_plane_atomic_disable() [all …]
|
/openbmc/linux/drivers/gpu/drm/arm/ |
H A D | malidp_planes.c | 1 // SPDX-License-Identifier: GPL-2.0-only 26 /* Layer specific register offsets */ 57 * This 4-entry look-up-table is used to determine the full 8-bit alpha value 58 * for formats with 1- or 2-bit alpha channels. 59 * We set it to give 100%/0% opacity for 1-bit formats and 100%/66%/33%/0% 60 * opacity for 2-bit formats. 68 /* readahead for partial-frame prefetch */ 72 * Replicate what the default ->reset hook does: free the state pointer and 78 struct malidp_plane_state *state = to_malidp_plane_state(plane->state); in malidp_plane_reset() 81 __drm_atomic_helper_plane_destroy_state(&state->base); in malidp_plane_reset() [all …]
|
/openbmc/u-boot/drivers/video/stm32/ |
H A D | stm32_ltdc.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Copyright (C) 2017-2018 STMicroelectronics - All Rights Reserved 16 #include <dm/device-internal.h> 26 u32 alpha; member 31 #define LTDC_LCR 0x04 /* Layer Count */ 49 /* LTDC layer 1 registers */ 50 #define LTDC_L1LC1R 0x80 /* L1 Layer Configuration 1 */ 51 #define LTDC_L1LC2R 0x84 /* L1 Layer Configuration 2 */ 57 #define LTDC_L1CACR 0x98 /* L1 Constant Alpha Config */ 85 #define GCR_PCPOL BIT(28) /* Pixel Clock POLarity-Inverted */ [all …]
|
/openbmc/linux/drivers/gpu/drm/stm/ |
H A D | ltdc.c | 1 // SPDX-License-Identifier: GPL-2.0 15 #include <linux/media-bus-format.h> 46 #define CRTC_MASK GENMASK(NB_CRTC - 1, 0) 61 #define LAY_OFS (ldev->caps.layer_ofs) 65 #define LTDC_LCR 0x0004 /* Layer Count */ 86 /* Layer register offsets */ 87 #define LTDC_L1C0R (ldev->caps.layer_regs[0]) /* L1 configuration 0 */ 88 #define LTDC_L1C1R (ldev->caps.layer_regs[1]) /* L1 configuration 1 */ 89 #define LTDC_L1RCR (ldev->caps.layer_regs[2]) /* L1 reload control */ 90 #define LTDC_L1CR (ldev->caps.layer_regs[3]) /* L1 control register */ [all …]
|
/openbmc/linux/drivers/gpu/drm/atmel-hlcdc/ |
H A D | atmel_hlcdc_plane.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * Author: Boris BREZILLON <boris.brezillon@free-electrons.com> 10 #include <linux/mfd/atmel-hlcdc.h> 23 * struct atmel_hlcdc_plane_state - Atmel HLCDC Plane state structure. 128 static int atmel_hlcdc_format_to_plane_mode(u32 format, u32 *mode) in atmel_hlcdc_format_to_plane_mode() argument 132 *mode = ATMEL_HLCDC_C8_MODE; in atmel_hlcdc_format_to_plane_mode() 135 *mode = ATMEL_HLCDC_XRGB4444_MODE; in atmel_hlcdc_format_to_plane_mode() 138 *mode = ATMEL_HLCDC_ARGB4444_MODE; in atmel_hlcdc_format_to_plane_mode() 141 *mode = ATMEL_HLCDC_RGBA4444_MODE; in atmel_hlcdc_format_to_plane_mode() 144 *mode = ATMEL_HLCDC_RGB565_MODE; in atmel_hlcdc_format_to_plane_mode() [all …]
|
/openbmc/linux/drivers/gpu/drm/rockchip/ |
H A D | rockchip_drm_vop2.c | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 4 * Author: Andy Yan <andy.yan@rock-chips.com> 12 #include <linux/media-bus-format.h> 34 #include <dt-bindings/soc/rockchip,vop2.h> 45 +----------+ +-------------+ +-----------+ 48 +----------+ +-------------+ +---------------+ +-------------+ +-----------+ 49 +----------+ +-------------+ |N from 6 layers| | | 50 | Cluster | | Sel 1 from 6| | Overlay0 +--->| Video Port0 | +-----------+ 52 +----------+ +-------------+ +---------------+ +-------------+ | LVDS | 53 +----------+ +-------------+ +-----------+ [all …]
|
/openbmc/linux/drivers/gpu/drm/sprd/ |
H A D | sprd_dpu.c | 1 // SPDX-License-Identifier: GPL-2.0 8 #include <linux/dma-buf.h> 70 /* Layer control bits */ 130 struct dpu_context *ctx = &dpu->ctx; in dpu_wait_stop_done() 133 if (ctx->stopped) in dpu_wait_stop_done() 136 rc = wait_event_interruptible_timeout(ctx->wait_queue, ctx->evt_stop, in dpu_wait_stop_done() 138 ctx->evt_stop = false; in dpu_wait_stop_done() 140 ctx->stopped = true; in dpu_wait_stop_done() 143 drm_err(dpu->drm, "dpu wait for stop done time out!\n"); in dpu_wait_stop_done() 144 return -ETIMEDOUT; in dpu_wait_stop_done() [all …]
|
/openbmc/linux/drivers/video/fbdev/ |
H A D | s3c-fb.c | 1 // SPDX-License-Identifier: GPL-2.0-only 2 /* linux/drivers/video/s3c-fb.c 5 * Copyright 2008-2010 Simtec Electronics 15 #include <linux/dma-mapping.h> 31 * setting of the alpha-blending functions that each window has, so only 35 * output timings and as the control for the output power-down state. 38 /* note, the previous use of <mach/regs-fb.h> to get platform specific data 58 #define VALID_BPP(x) (1 << ((x) - 1)) 67 * struct s3c_fb_variant - fb variant information 111 * @has_osd_alpha: Set if can change alpha transparency for a window. [all …]
|
/openbmc/linux/Documentation/driver-api/media/drivers/ |
H A D | cx2341x-devel.rst | 1 .. SPDX-License-Identifier: GPL-2.0 7 ----------------------- 12 .. note:: the memory long words are little-endian ('intel format'). 21 .. code-block:: none 23 ivtvctl -O min=0x02000000,max=0x020000ff 26 register space :-). 35 .. code-block:: none 37 0x00000000-0x00ffffff Encoder memory space 38 0x00000000-0x0003ffff Encode.rom 39 ???-??? MPEG buffer(s) [all …]
|
/openbmc/linux/drivers/gpu/drm/msm/disp/dpu1/ |
H A D | dpu_hw_catalog.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Copyright (c) 2022-2023, Qualcomm Innovation Center, Inc. All rights reserved. 4 * Copyright (c) 2015-2018, 2020 The Linux Foundation. All rights reserved. 52 * SSPP sub-blocks/features 59 * @DPU_SSPP_CSC_10BIT, Support of 10-bit Color space conversion 60 * @DPU_SSPP_CURSOR, SSPP can be used as a cursor layer 62 * @DPU_SSPP_QOS_8LVL, SSPP support 8-level QoS control 94 * MIXER sub-blocks/features 95 * @DPU_MIXER_LAYER Layer mixer layer blend configuration, 96 * @DPU_MIXER_SOURCESPLIT Layer mixer supports source-split configuration [all …]
|
/openbmc/linux/Documentation/gpu/ |
H A D | komeda-kms.rst | 1 .. SPDX-License-Identifier: GPL-2.0 22 Layer section in Overview of D71 like display IPs 23 ----- 24 Layer is the first pipeline stage, which prepares the pixel data for the next 30 ------ 33 The usage of scaler is very flexible and can be connected to layer output 34 for layer scaling, or connected to compositor and scale the whole display 39 ------------------- 46 Writeback Layer (wb_layer) 47 -------------------------- [all …]
|
/openbmc/linux/drivers/ata/ |
H A D | pata_cypress.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * pata_cypress.c - Cypress PATA for new ATA layer 49 * cy82c693_set_piomode - set initial PIO mode data 53 * Called to do the PIO mode setup. 58 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in cy82c693_set_piomode() 64 if (ata_timing_compute(adev, adev->pio_mode, &t, T, 1) < 0) { in cy82c693_set_piomode() 69 time_16 = clamp_val(t.recover - 1, 0, 15) | in cy82c693_set_piomode() 70 (clamp_val(t.active - 1, 0, 15) << 4); in cy82c693_set_piomode() 71 time_8 = clamp_val(t.act8b - 1, 0, 15) | in cy82c693_set_piomode() 72 (clamp_val(t.rec8b - 1, 0, 15) << 4); in cy82c693_set_piomode() [all …]
|
/openbmc/linux/drivers/media/v4l2-core/ |
H A D | v4l2-ctrls-defs.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright (C) 2010-2021 Hans Verkuil <hverkuil-cisco@xs4all.nl> 9 #include <media/v4l2-ctrls.h> 26 "MPEG-1/2 Layer I", in v4l2_ctrl_get_menu() 27 "MPEG-1/2 Layer II", in v4l2_ctrl_get_menu() 28 "MPEG-1/2 Layer III", in v4l2_ctrl_get_menu() 29 "MPEG-2/4 AAC", in v4l2_ctrl_get_menu() 30 "AC-3", in v4l2_ctrl_get_menu() 128 "16-bit CRC", in v4l2_ctrl_get_menu() 141 "MPEG-1", in v4l2_ctrl_get_menu() [all …]
|
/openbmc/linux/drivers/gpu/drm/arm/display/komeda/ |
H A D | komeda_pipeline_state.c | 1 // SPDX-License-Identifier: GPL-2.0 29 priv_st = drm_atomic_get_private_obj_state(state, &pipe->obj); in komeda_pipeline_get_state() 42 priv_st = drm_atomic_get_old_private_obj_state(state, &pipe->obj); in komeda_pipeline_get_old_state() 54 priv_st = drm_atomic_get_new_private_obj_state(state, &pipe->obj); in komeda_pipeline_get_new_state() 72 if (is_switching_user(crtc, st->crtc)) { in komeda_pipeline_get_state_and_set_crtc() 74 drm_crtc_index(crtc), pipe->id); in komeda_pipeline_get_state_and_set_crtc() 75 return ERR_PTR(-EBUSY); in komeda_pipeline_get_state_and_set_crtc() 79 if (!crtc && st->active_comps) { in komeda_pipeline_get_state_and_set_crtc() 80 DRM_DEBUG_ATOMIC("Disabling a busy pipeline:%d.\n", pipe->id); in komeda_pipeline_get_state_and_set_crtc() 81 return ERR_PTR(-EBUSY); in komeda_pipeline_get_state_and_set_crtc() [all …]
|
/openbmc/qemu/pc-bios/ |
H A D | README | 1 - SeaBIOS (bios.bin) is the successor of pc bios. 4 - The VGA BIOS and the Cirrus VGA BIOS come from the LGPL VGA bios 7 - OpenBIOS (http://www.openbios.org/) is a free (GPL v2) portable 9 1275-1994 (referred to as Open Firmware) compliant firmware. 14 - SLOF (Slimline Open Firmware) is a free IEEE 1275 Open Firmware 17 built from git tag qemu-slof-20230918. 19 - VOF (Virtual Open Firmware) is a minimalistic firmware to work with 20 -machine pseries,x-vof=on. When enabled, the firmware acts as a slim shim and 23 - The PXE roms come from the iPXE project. Built with BANNER_TIME 0. 24 Sources available at http://ipxe.org. Vendor:Device ID -> ROM mapping: [all …]
|
/openbmc/linux/Documentation/userspace-api/media/v4l/ |
H A D | ext-ctrls-codec.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 3 .. _codec-controls: 24 .. _mpeg-control-id: 27 ----------------- 35 .. _v4l2-mpeg-stream-type: 40 enum v4l2_mpeg_stream_type - 41 The MPEG-1, -2 or -4 output stream type. One cannot assume anything 48 .. flat-table:: 49 :header-rows: 0 50 :stub-columns: 0 [all …]
|