/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# 8 title: Xylon LogiCVC display controller 11 - Paul Kocialkowski <paul.kocialkowski@bootlin.com> 14 The Xylon LogiCVC is a display controller that supports multiple layers. 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. [all …]
|
H A D | amlogic,meson-vpu.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 4 --- 5 $id: http://devicetree.org/schemas/display/amlogic,meson-vpu.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 title: Amlogic Meson Display Controller 11 - Neil Armstrong <neil.armstrong@linaro.org> 14 The Amlogic Meson Display controller is composed of several components 17 DMC|---------------VPU (Video Processing Unit)----------------|------HHI------| 19 D |-------| |----| | | | | HDMI PLL | 20 D | vd2 | VIU | | Video Post | | Video Encoders |<---|-----VCLK | [all …]
|
/openbmc/linux/Documentation/userspace-api/media/v4l/ |
H A D | colorspaces.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 12 you can accurately display that color. A colorspace defines what it 24 ABCDEFGHIJKL colorspace... 48 The Y value in the CIE XYZ colorspace corresponds to luminance. Often 49 the CIE XYZ colorspace is transformed to the normalized CIE xyY 50 colorspace: 60 colorspace is used. Upper case 'X' and 'Y' refer to the CIE XYZ 61 colorspace. Also, y has nothing to do with luminance. Together x and y 72 defines a colorspace. 74 Different display devices will have different primaries and some [all …]
|
/openbmc/linux/drivers/gpu/drm/logicvc/ |
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 }, 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", 71 .name = "xylon,layers-configurable", [all …]
|
/openbmc/linux/drivers/gpu/drm/sti/ |
H A D | sti_hdmi.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 13 #include <media/cec-notifier.h> 43 * @mode: current display mode selected 59 * @colorspace: current colorspace selected 60 * @audio_pdev: ASoC hdmi-codec platform device 84 enum hdmi_colorspace colorspace; member
|
H A D | sti_hdmi.c | 1 // SPDX-License-Identifier: GPL-2.0 26 #include <sound/hdmi-codec.h> 96 #define HDMI_IFRAME_CFG_DI_N(x, n) ((x) << ((n-1)*4)) /* n from 1 to 6 */ 179 return readl(hdmi->regs + offset); in hdmi_read() 184 writel(val, hdmi->regs + offset); in hdmi_write() 198 if (hdmi->irq_status & HDMI_INT_HOT_PLUG) { in hdmi_irq_thread() 199 hdmi->hpd = readl(hdmi->regs + HDMI_STA) & HDMI_STA_HOT_PLUG; in hdmi_irq_thread() 200 if (hdmi->drm_dev) in hdmi_irq_thread() 201 drm_helper_hpd_irq_event(hdmi->drm_dev); in hdmi_irq_thread() 207 if (hdmi->irq_status & (HDMI_INT_SW_RST | HDMI_INT_DLL_LCK)) { in hdmi_irq_thread() [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/display/bridge/ |
H A D | adi,adv7511.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/display/bridge/adi,adv7511.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Laurent Pinchart <laurent.pinchart@ideasonboard.com> 21 - adi,adv7511 22 - adi,adv7511w 23 - adi,adv7513 37 reg-names: 40 needing a non-default address. [all …]
|
/openbmc/linux/drivers/video/fbdev/ |
H A D | sh_mobile_lcdcfb.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 10 /* per-channel registers */ 30 /* Display */ 49 * struct sh_mobile_lcdc_chan - LCDC display channel 79 u32 colorspace; member 101 } display; member
|
H A D | sh_mobile_lcdcfb.c | 16 #include <linux/dma-mapping.h> 35 /* ---------------------------------------------------------------------------- 147 * struct sh_mobile_lcdc_overlay - LCDC display overlay 152 * @index: Overlay index (0-3) 156 * @alpha: Global alpha blending value (0-255, for alpha blending mode) 220 /* ----------------------------------------------------------------------------- 284 return chan->cfg->chan == LCDC_CHAN_SUBLCD; in lcdc_chan_is_sublcd() 290 iowrite32(data, chan->lcdc->base + chan->reg_offs[reg_nr]); in lcdc_write_chan() 292 iowrite32(data, chan->lcdc->base + chan->reg_offs[reg_nr] + in lcdc_write_chan() 299 iowrite32(data, chan->lcdc->base + chan->reg_offs[reg_nr] + in lcdc_write_chan_mirror() [all …]
|
/openbmc/linux/drivers/gpu/drm/xlnx/ |
H A D | zynqmp_disp.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * ZynqMP Display Controller Driver 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 * -------- 35 * The display controller part of ZynqMP DP subsystem, made of the Audio/Video 38 * +------------------------------------------------------------+ 39 * +--------+ | +----------------+ +-----------+ | [all …]
|
/openbmc/linux/drivers/gpu/drm/display/ |
H A D | drm_hdmi_helper.c | 1 // SPDX-License-Identifier: MIT 5 #include <drm/display/drm_hdmi_helper.h> 18 * drm_hdmi_infoframe_set_hdr_metadata() - fill an HDMI DRM infoframe with 33 return -EINVAL; in drm_hdmi_infoframe_set_hdr_metadata() 35 connector = conn_state->connector; in drm_hdmi_infoframe_set_hdr_metadata() 37 if (!conn_state->hdr_output_metadata) in drm_hdmi_infoframe_set_hdr_metadata() 38 return -EINVAL; in drm_hdmi_infoframe_set_hdr_metadata() 40 hdr_metadata = conn_state->hdr_output_metadata->data; in drm_hdmi_infoframe_set_hdr_metadata() 43 return -EINVAL; in drm_hdmi_infoframe_set_hdr_metadata() 46 if (!is_eotf_supported(hdr_metadata->hdmi_metadata_type1.eotf, in drm_hdmi_infoframe_set_hdr_metadata() [all …]
|
/openbmc/linux/drivers/gpu/drm/ |
H A D | drm_connector.c | 47 * In DRM connectors are the general abstraction for display sinks, and include 48 * also fixed panels or anything else that can display pixels in some form. As 51 * Hence they are reference-counted using drm_connector_get() and 67 * For connectors which are not fixed (like built-in panels) the driver needs to 76 * Note drm_connector_[un]register() first take connector->lock and then 94 { DRM_MODE_CONNECTOR_DVII, "DVI-I" }, 95 { DRM_MODE_CONNECTOR_DVID, "DVI-D" }, 96 { DRM_MODE_CONNECTOR_DVIA, "DVI-A" }, 103 { DRM_MODE_CONNECTOR_HDMIA, "HDMI-A" }, 104 { DRM_MODE_CONNECTOR_HDMIB, "HDMI-B" }, [all …]
|
/openbmc/linux/drivers/gpu/drm/i915/display/ |
H A D | intel_atomic.c | 29 * See intel_atomic_plane.c for the plane-specific atomic functionality. 48 * intel_digital_connector_atomic_get_property - hook for connector->atomic_get_property. 61 struct drm_device *dev = connector->dev; in intel_digital_connector_atomic_get_property() 66 if (property == dev_priv->display.properties.force_audio) in intel_digital_connector_atomic_get_property() 67 *val = intel_conn_state->force_audio; in intel_digital_connector_atomic_get_property() 68 else if (property == dev_priv->display.properties.broadcast_rgb) in intel_digital_connector_atomic_get_property() 69 *val = intel_conn_state->broadcast_rgb; in intel_digital_connector_atomic_get_property() 71 drm_dbg_atomic(&dev_priv->drm, in intel_digital_connector_atomic_get_property() 73 property->base.id, property->name); in intel_digital_connector_atomic_get_property() 74 return -EINVAL; in intel_digital_connector_atomic_get_property() [all …]
|
H A D | intel_lspcon.c | 26 #include <drm/display/drm_dp_dual_mode_helper.h> 27 #include <drm/display/drm_hdmi_helper.h> 62 return &dig_port->dp; in lspcon_to_intel_dp() 87 if (drm_dp_read_desc(&dp->aux, &dp->desc, drm_dp_is_branch(dp->dpcd))) { in lspcon_detect_vendor() 88 drm_err(&i915->drm, "Can't read description\n"); in lspcon_detect_vendor() 92 ident = &dp->desc.ident; in lspcon_detect_vendor() 93 vendor_oui = (ident->oui[0] << 16) | (ident->oui[1] << 8) | in lspcon_detect_vendor() 94 ident->oui[2]; in lspcon_detect_vendor() 98 lspcon->vendor = LSPCON_VENDOR_MCA; in lspcon_detect_vendor() 99 drm_dbg_kms(&i915->drm, "Vendor: Mega Chips\n"); in lspcon_detect_vendor() [all …]
|
/openbmc/linux/drivers/media/platform/ti/omap/ |
H A D | omap_vout.c | 4 * Copyright (C) 2005-2010 Texas Instruments. 11 * Video-for-Linux (Version 2) camera capture driver for 20 * 20-APR-2006 Khasim Modified VRFB based Rotation, 24 * 4-DEC-2006 Jian Changed to support better memory management 26 * 17-Nov-2008 Hardik Changed driver to use video_ioctl2 28 * 23-Feb-2010 Vaibhav H Modified to use new DSS2 interface 40 #include <linux/dma-mapping.h> 43 #include <media/v4l2-device.h> 44 #include <media/v4l2-ioctl.h> 45 #include <media/v4l2-event.h> [all …]
|
/openbmc/linux/include/video/ |
H A D | imx-ipu-v3.h | 2 * Copyright 2005-2009 Freescale Semiconductor, Inc. 8 * http://www.opensource.org/licenses/lgpl-license.html 21 #include <media/v4l2-mediabus.h> 35 * Bitfield of Display Interface signal polarities. 83 /* 90-degree rotations require the IRT unit */ 121 * but the direct CSI->VDI linking is handled the same way as IDMAC 123 * these channel names are used to support the direct CSI->VDI link. 183 return -EINVAL; in ipu_channel_alpha_channel() 283 * IPU Display Controller (dc) functions 297 * IPU Display Interface (di) functions [all …]
|
H A D | sh_mobile_lcdc.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 133 #define LCDC_FLAGS_DIPOL (1 << 1) /* Active low display enable polarity */ 134 #define LCDC_FLAGS_DAPOL (1 << 2) /* Active low display data polarity */ 177 int colorspace; member
|
/openbmc/linux/include/drm/ |
H A D | drm_connector.h | 54 DRM_FORCE_ON_DIGITAL, /* for DVI-I use digital connector */ 58 * enum drm_connector_status - status for a &drm_connector 73 * nothing there. It is driver-dependent whether a connector with this 80 * flicker (like load-detection when the connector is in use), or when a 81 * hardware resource isn't available (like when load-detection needs a 91 * enum drm_connector_registration_state - userspace registration status for 124 * - An unregistered connector may only have its DPMS changed from 125 * On->Off. Once DPMS is changed to Off, it may not be switched back 127 * - Modesets are not allowed on unregistered connectors, unless they 131 * - Removing a CRTC from an unregistered connector is OK, but new [all …]
|
/openbmc/linux/drivers/gpu/drm/vc4/ |
H A D | vc4_hdmi.c | 1 // SPDX-License-Identifier: GPL-2.0-only 21 * and transfers them over an internal MAI (multi-channel audio 34 #include <drm/display/drm_hdmi_helper.h> 35 #include <drm/display/drm_scdc_helper.h> 50 #include <sound/hdmi-codec.h> 133 struct drm_display_info *display = &vc4_hdmi->connector.display_info; in vc4_hdmi_supports_scrambling() local 135 lockdep_assert_held(&vc4_hdmi->mutex); in vc4_hdmi_supports_scrambling() 137 if (!display->is_hdmi) in vc4_hdmi_supports_scrambling() 140 if (!display->hdmi.scdc.supported || in vc4_hdmi_supports_scrambling() 141 !display->hdmi.scdc.scrambling.supported) in vc4_hdmi_supports_scrambling() [all …]
|
/openbmc/linux/Documentation/admin-guide/media/ |
H A D | vivid.rst | 1 .. SPDX-License-Identifier: GPL-2.0 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 29 - Support for various pixel aspect ratios and video aspect ratios [all …]
|
H A D | imx.rst | 1 .. SPDX-License-Identifier: GPL-2.0 7 ------------ 11 display devices. 15 - Image DMA Controller (IDMAC) 16 - Camera Serial Interface (CSI) 17 - Image Converter (IC) 18 - Sensor Multi-FIFO Controller (SMFC) 19 - Image Rotator (IRT) 20 - Video De-Interlacing or Combining Block (VDIC) 24 display paths. During transfer, the IDMAC is also capable of vertical [all …]
|
/openbmc/linux/drivers/media/platform/st/sti/delta/ |
H A D | delta.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 11 #include <media/v4l2-device.h> 12 #include <media/v4l2-mem2mem.h> 14 #include "delta-cfg.h" 17 * enum delta_state - state of decoding instance 46 * struct delta_streaminfo - information about stream to decode 61 * @colorspace: colorspace identifier 78 enum v4l2_colorspace colorspace; member 89 * struct delta_au - access unit structure. 112 * struct delta_frameinfo - information about decoded frame [all …]
|
/openbmc/linux/drivers/gpu/drm/rockchip/ |
H A D | rk3066_hdmi.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * Zheng Yang <zhengyang@rock-chips.com> 24 int vic; /* The CEA Video ID (VIC) of the current drm display mode. */ 74 return readl_relaxed(hdmi->regs + offset); in hdmi_readb() 79 writel_relaxed(val, hdmi->regs + offset); in hdmi_writeb() 95 ddc_bus_freq = (hdmi->tmdsclk >> 2) / HDMI_SCL_RATE; in rk3066_hdmi_i2c_init() 117 DRM_DEV_DEBUG(hdmi->dev, "mode :%d\n", mode); in rk3066_hdmi_set_power_mode() 118 DRM_DEV_DEBUG(hdmi->dev, "current_mode :%d\n", current_mode); in rk3066_hdmi_set_power_mode() 133 DRM_DEV_DEBUG(hdmi->dev, "%d: next_mode :%d\n", i, next_mode); in rk3066_hdmi_set_power_mode() 161 hdmi->tmdsclk = DEFAULT_PLLA_RATE; in rk3066_hdmi_set_power_mode() [all …]
|
H A D | inno_hdmi.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Zheng Yang <zhengyang@rock-chips.com> 5 * Yakir Yang <ykk@rock-chips.com> 91 * R = 1.164*Y + 1.596*V - 204 92 * G = 1.164*Y - 0.391*U - 0.813*V + 154 93 * B = 1.164*Y + 2.018*U - 258 102 * R = Y + 1.402*V - 248 103 * G = Y - 0.344*U - 0.714*V + 135 104 * B = Y + 1.772*U - 227 113 * R = 1.164*Y + 1.793*V - 248 [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/display/xlnx/ |
H A D | xlnx,zynqmp-dpsub.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/display/xlnx/xlnx,zynqmp-dpsub.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 implements the display and audio pipelines based on the DisplayPort v1.2 14 +------------------------------------------------------------+ 15 +--------+ | +----------------+ +-----------+ | 16 | DPDMA | --->| | --> | Video | Video +-------------+ | 17 | 4x vid | | | | | Rendering | -+--> | | | +------+ 18 | 2x aud | | | Audio/Video | --> | Pipeline | | | DisplayPort |---> | PHY0 | [all …]
|