| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/display/bridge/ |
| D | chrontel,ch7033.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 title: Chrontel CH7033 Video Encoder Device Tree Bindings 11 - Lubomir Rintel <lkundrak@v3.sk> 33 DVI port, should be connected to a node compatible with the 34 dvi-connector binding. 37 - port@0 38 - port@1 41 - compatible [all …]
|
| /kernel/linux/linux-4.19/drivers/gpu/drm/bridge/ |
| D | Kconfig | 22 ---help--- 23 ANX78XX is an ultra-low Full-HD SlimPort transmitter 39 tristate "Dumb VGA DAC Bridge support" 43 Support for non-programmable RGB to VGA DAC bridges, such as ADI 47 tristate "Transparent parallel to LVDS encoder support" 56 tristate "MegaChips stdp4028-ge-b850v3-fw and stdp2690-ge-b850v3-fw" 60 ---help--- 63 to DP++. This is used with the i.MX6 imx-ldb 71 ---help--- 72 NXP PTN3460 eDP-LVDS bridge chip driver. [all …]
|
| /kernel/linux/linux-5.10/include/drm/ |
| D | drm_encoder.h | 36 * struct drm_encoder_funcs - encoder controls 44 * Reset encoder hardware and software state to off. This function isn't 48 void (*reset)(struct drm_encoder *encoder); 53 * Clean up encoder resources. This is only called at driver unload time 54 * through drm_mode_config_cleanup() since an encoder cannot be 57 void (*destroy)(struct drm_encoder *encoder); 63 * interfaces attached to the encoder like debugfs interfaces. 72 int (*late_register)(struct drm_encoder *encoder); 78 * userspace interfaces attached to the encoder from 83 void (*early_unregister)(struct drm_encoder *encoder); [all …]
|
| /kernel/linux/linux-4.19/include/drm/ |
| D | drm_encoder.h | 35 * struct drm_encoder_funcs - encoder controls 43 * Reset encoder hardware and software state to off. This function isn't 47 void (*reset)(struct drm_encoder *encoder); 52 * Clean up encoder resources. This is only called at driver unload time 53 * through drm_mode_config_cleanup() since an encoder cannot be 56 void (*destroy)(struct drm_encoder *encoder); 62 * interfaces attached to the encoder like debugfs interfaces. 71 int (*late_register)(struct drm_encoder *encoder); 77 * userspace interfaces attached to the encoder from 82 void (*early_unregister)(struct drm_encoder *encoder); [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/bridge/ |
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 31 tristate "Chrontel CH7033 Video Encoder" 35 Enable support for the Chrontel CH7033 VGA/DVI/HDMI Encoder, as 44 Driver for display connectors with support for DDC and hot-plug 48 on ARM-based platforms. Saying Y here when this driver is not needed 75 tristate "MegaChips stdp4028-ge-b850v3-fw and stdp2690-ge-b850v3-fw" 82 to DP++. This is used with the i.MX6 imx-ldb 107 NXP PTN3460 eDP-LVDS bridge chip driver. 116 Parade eDP-LVDS bridge chip driver. 126 The PS8640 is a high-performance and low-power [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/radeon/ |
| D | radeon_connectors.c | 2 * Copyright 2007-8 Advanced Micro Devices, Inc. 46 if (ret == -EINVAL) in radeon_dp_handle_hpd() 52 struct drm_device *dev = connector->dev; in radeon_connector_hotplug() 53 struct radeon_device *rdev = dev->dev_private; in radeon_connector_hotplug() 56 if (connector->connector_type == DRM_MODE_CONNECTOR_DisplayPort) { in radeon_connector_hotplug() 58 radeon_connector->con_priv; in radeon_connector_hotplug() 60 if (radeon_connector->is_mst_connector) in radeon_connector_hotplug() 62 if (dig_connector->is_mst) { in radeon_connector_hotplug() 68 * VGA, TV, etc. in radeon_connector_hotplug() 70 if (radeon_connector->hpd.hpd == RADEON_HPD_NONE) in radeon_connector_hotplug() [all …]
|
| D | radeon_combios.c | 3 * Copyright 2007-8 Advanced Micro Devices, Inc. 136 struct radeon_device *rdev = dev->dev_private; in combios_get_table_offset() 140 if (!rdev->bios) in combios_get_table_offset() 365 size = RBIOS8(rdev->bios_header_start + 0x6); in combios_get_table_offset() 368 offset = RBIOS16(rdev->bios_header_start + check_offset); in combios_get_table_offset() 378 edid_info = combios_get_table_offset(rdev->ddev, COMBIOS_HARDCODED_EDID_TABLE); in radeon_combios_check_hardcoded_edid() 382 raw = rdev->bios + edid_info; in radeon_combios_check_hardcoded_edid() 395 rdev->mode_info.bios_hardcoded_edid = edid; in radeon_combios_check_hardcoded_edid() 396 rdev->mode_info.bios_hardcoded_edid_size = size; in radeon_combios_check_hardcoded_edid() 406 if (rdev->mode_info.bios_hardcoded_edid) { in radeon_bios_get_hardcoded_edid() [all …]
|
| D | radeon_atombios.c | 2 * Copyright 2007-8 Advanced Micro Devices, Inc. 35 #include "atom-bits.h" 58 if ((rdev->family == CHIP_R420) || in radeon_lookup_i2c_gpio_quirks() 59 (rdev->family == CHIP_R423) || in radeon_lookup_i2c_gpio_quirks() 60 (rdev->family == CHIP_RV410)) { in radeon_lookup_i2c_gpio_quirks() 61 if ((le16_to_cpu(gpio->usClkMaskRegisterIndex) == 0x0018) || in radeon_lookup_i2c_gpio_quirks() 62 (le16_to_cpu(gpio->usClkMaskRegisterIndex) == 0x0019) || in radeon_lookup_i2c_gpio_quirks() 63 (le16_to_cpu(gpio->usClkMaskRegisterIndex) == 0x001a)) { in radeon_lookup_i2c_gpio_quirks() 64 gpio->ucClkMaskShift = 0x19; in radeon_lookup_i2c_gpio_quirks() 65 gpio->ucDataMaskShift = 0x18; in radeon_lookup_i2c_gpio_quirks() [all …]
|
| D | radeon_mode.h | 41 #include <linux/i2c-algo-bit.h> 98 /* radeon gpio-based i2c 120 /* uses multi-media i2c engine */ 249 /* DVI-I properties */ 275 /* pointer to backlight encoder */ 278 /* bitmask for active encoder frontends */ 287 struct radeon_encoder *encoder; member 364 struct drm_encoder *encoder; member 430 int dig_encoder; /* -1 disabled, 0 DIGA, 1 DIGB, etc. */ 483 /* front end for this mst encoder */ [all …]
|
| /kernel/linux/linux-4.19/drivers/gpu/drm/radeon/ |
| D | radeon_connectors.c | 2 * Copyright 2007-8 Advanced Micro Devices, Inc. 45 if (ret == -EINVAL) in radeon_dp_handle_hpd() 51 struct drm_device *dev = connector->dev; in radeon_connector_hotplug() 52 struct radeon_device *rdev = dev->dev_private; in radeon_connector_hotplug() 55 if (connector->connector_type == DRM_MODE_CONNECTOR_DisplayPort) { in radeon_connector_hotplug() 57 radeon_connector->con_priv; in radeon_connector_hotplug() 59 if (radeon_connector->is_mst_connector) in radeon_connector_hotplug() 61 if (dig_connector->is_mst) { in radeon_connector_hotplug() 67 * VGA, TV, etc. in radeon_connector_hotplug() 69 if (radeon_connector->hpd.hpd == RADEON_HPD_NONE) in radeon_connector_hotplug() [all …]
|
| D | radeon_combios.c | 3 * Copyright 2007-8 Advanced Micro Devices, Inc. 132 struct radeon_device *rdev = dev->dev_private; in combios_get_table_offset() 136 if (!rdev->bios) in combios_get_table_offset() 361 size = RBIOS8(rdev->bios_header_start + 0x6); in combios_get_table_offset() 364 offset = RBIOS16(rdev->bios_header_start + check_offset); in combios_get_table_offset() 374 edid_info = combios_get_table_offset(rdev->ddev, COMBIOS_HARDCODED_EDID_TABLE); in radeon_combios_check_hardcoded_edid() 378 raw = rdev->bios + edid_info; in radeon_combios_check_hardcoded_edid() 391 rdev->mode_info.bios_hardcoded_edid = edid; in radeon_combios_check_hardcoded_edid() 392 rdev->mode_info.bios_hardcoded_edid_size = size; in radeon_combios_check_hardcoded_edid() 402 if (rdev->mode_info.bios_hardcoded_edid) { in radeon_bios_get_hardcoded_edid() [all …]
|
| D | radeon_atombios.c | 2 * Copyright 2007-8 Advanced Micro Devices, Inc. 31 #include "atom-bits.h" 54 if ((rdev->family == CHIP_R420) || in radeon_lookup_i2c_gpio_quirks() 55 (rdev->family == CHIP_R423) || in radeon_lookup_i2c_gpio_quirks() 56 (rdev->family == CHIP_RV410)) { in radeon_lookup_i2c_gpio_quirks() 57 if ((le16_to_cpu(gpio->usClkMaskRegisterIndex) == 0x0018) || in radeon_lookup_i2c_gpio_quirks() 58 (le16_to_cpu(gpio->usClkMaskRegisterIndex) == 0x0019) || in radeon_lookup_i2c_gpio_quirks() 59 (le16_to_cpu(gpio->usClkMaskRegisterIndex) == 0x001a)) { in radeon_lookup_i2c_gpio_quirks() 60 gpio->ucClkMaskShift = 0x19; in radeon_lookup_i2c_gpio_quirks() 61 gpio->ucDataMaskShift = 0x18; in radeon_lookup_i2c_gpio_quirks() [all …]
|
| D | radeon_mode.h | 41 #include <linux/i2c-algo-bit.h> 98 /* radeon gpio-based i2c 120 /* uses multi-media i2c engine */ 249 /* DVI-I properties */ 275 /* pointer to backlight encoder */ 278 /* bitmask for active encoder frontends */ 287 struct radeon_encoder *encoder; member 365 struct drm_encoder *encoder; member 431 int dig_encoder; /* -1 disabled, 0 DIGA, 1 DIGB, etc. */ 484 /* front end for this mst encoder */ [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/ |
| D | amdgpu_connectors.c | 2 * Copyright 2007-8 Advanced Micro Devices, Inc. 44 struct drm_device *dev = connector->dev; in amdgpu_connector_hotplug() 49 * VGA, TV, etc. in amdgpu_connector_hotplug() 51 if (amdgpu_connector->hpd.hpd == AMDGPU_HPD_NONE) in amdgpu_connector_hotplug() 54 amdgpu_display_hpd_set_polarity(adev, amdgpu_connector->hpd.hpd); in amdgpu_connector_hotplug() 57 if (connector->dpms != DRM_MODE_DPMS_ON) in amdgpu_connector_hotplug() 61 if (connector->connector_type == DRM_MODE_CONNECTOR_DisplayPort) { in amdgpu_connector_hotplug() 63 amdgpu_connector->con_priv; in amdgpu_connector_hotplug() 66 if (dig_connector->dp_sink_type != CONNECTOR_OBJECT_ID_DISPLAYPORT) in amdgpu_connector_hotplug() 70 dig_connector->dp_sink_type = amdgpu_atombios_dp_get_sinktype(amdgpu_connector); in amdgpu_connector_hotplug() [all …]
|
| D | amdgpu_mode.h | 43 #include <linux/i2c-algo-bit.h> 129 /* amdgpu gpio-based i2c 151 /* uses multi-media i2c engine */ 323 /* DVI-I properties */ 345 /* pointer to backlight encoder */ 362 struct amdgpu_encoder *encoder; member 418 struct drm_encoder *encoder; member 438 int dig_encoder; /* -1 disabled, 0 DIGA, 1 DIGB, etc. */ 540 /* some systems have an hdmi and vga port with a shared ddc line */ 583 amdgpu_get_connector_for_encoder(struct drm_encoder *encoder); [all …]
|
| /kernel/linux/linux-4.19/drivers/gpu/drm/amd/amdgpu/ |
| D | amdgpu_connectors.c | 2 * Copyright 2007-8 Advanced Micro Devices, Inc. 42 struct drm_device *dev = connector->dev; in amdgpu_connector_hotplug() 43 struct amdgpu_device *adev = dev->dev_private; in amdgpu_connector_hotplug() 47 * VGA, TV, etc. in amdgpu_connector_hotplug() 49 if (amdgpu_connector->hpd.hpd == AMDGPU_HPD_NONE) in amdgpu_connector_hotplug() 52 amdgpu_display_hpd_set_polarity(adev, amdgpu_connector->hpd.hpd); in amdgpu_connector_hotplug() 55 if (connector->dpms != DRM_MODE_DPMS_ON) in amdgpu_connector_hotplug() 59 if (connector->connector_type == DRM_MODE_CONNECTOR_DisplayPort) { in amdgpu_connector_hotplug() 61 amdgpu_connector->con_priv; in amdgpu_connector_hotplug() 64 if (dig_connector->dp_sink_type != CONNECTOR_OBJECT_ID_DISPLAYPORT) in amdgpu_connector_hotplug() [all …]
|
| D | amdgpu_mode.h | 43 #include <linux/i2c-algo-bit.h> 129 /* amdgpu gpio-based i2c 151 /* uses multi-media i2c engine */ 330 /* DVI-I properties */ 352 /* pointer to backlight encoder */ 369 struct amdgpu_encoder *encoder; member 423 struct drm_encoder *encoder; member 448 int dig_encoder; /* -1 disabled, 0 DIGA, 1 DIGB, etc. */ 549 /* some systems have an hdmi and vga port with a shared ddc line */ 592 amdgpu_get_connector_for_encoder(struct drm_encoder *encoder); [all …]
|
| /kernel/linux/linux-4.19/drivers/gpu/drm/i915/ |
| D | intel_crt.c | 2 * Copyright © 2006-2007 Intel Corporation 50 * encoder's enable/disable callbacks */ 56 static struct intel_crt *intel_encoder_to_crt(struct intel_encoder *encoder) in intel_encoder_to_crt() argument 58 return container_of(encoder, struct intel_crt, base); in intel_encoder_to_crt() 82 static bool intel_crt_get_hw_state(struct intel_encoder *encoder, in intel_crt_get_hw_state() argument 85 struct drm_i915_private *dev_priv = to_i915(encoder->base.dev); in intel_crt_get_hw_state() 86 struct intel_crt *crt = intel_encoder_to_crt(encoder); in intel_crt_get_hw_state() 90 encoder->power_domain)) in intel_crt_get_hw_state() 93 ret = intel_crt_port_enabled(dev_priv, crt->adpa_reg, pipe); in intel_crt_get_hw_state() 95 intel_display_power_put(dev_priv, encoder->power_domain); in intel_crt_get_hw_state() [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/ |
| D | intel_crt.c | 2 * Copyright © 2006-2007 Intel Corporation 56 * encoder's enable/disable callbacks */ 62 static struct intel_crt *intel_encoder_to_crt(struct intel_encoder *encoder) in intel_encoder_to_crt() argument 64 return container_of(encoder, struct intel_crt, base); in intel_encoder_to_crt() 88 static bool intel_crt_get_hw_state(struct intel_encoder *encoder, in intel_crt_get_hw_state() argument 91 struct drm_i915_private *dev_priv = to_i915(encoder->base.dev); in intel_crt_get_hw_state() 92 struct intel_crt *crt = intel_encoder_to_crt(encoder); in intel_crt_get_hw_state() 97 encoder->power_domain); in intel_crt_get_hw_state() 101 ret = intel_crt_port_enabled(dev_priv, crt->adpa_reg, pipe); in intel_crt_get_hw_state() 103 intel_display_power_put(dev_priv, encoder->power_domain, wakeref); in intel_crt_get_hw_state() [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/ |
| D | drm_connector.c | 42 * opposed to all other KMS objects representing hardware (like CRTC, encoder or 44 * Hence they are reference-counted using drm_connector_get() and 54 * Connectors must be attached to an encoder to be used. For devices that map 57 * driver must also set the &drm_connector.encoder field to point to the 58 * attached encoder. 60 * For connectors which are not fixed (like built-in panels) the driver needs to 74 * Connector and encoder types. 78 { DRM_MODE_CONNECTOR_VGA, "VGA" }, 79 { DRM_MODE_CONNECTOR_DVII, "DVI-I" }, 80 { DRM_MODE_CONNECTOR_DVID, "DVI-D" }, [all …]
|
| D | drm_bridge_connector.c | 1 // SPDX-License-Identifier: GPL-2.0+ 40 * operation flags (&drm_bridge->ops) and bridge output type 41 * (&drm_bridge->type), as well as the DRM_BRIDGE_ATTACH_NO_CONNECTOR attach 46 * struct drm_bridge_connector - A connector backed by a chain of bridges 54 * @encoder: 56 * The encoder at the start of the bridges chain. 58 struct drm_encoder *encoder; member 70 * hot-plug detection notification, if any (see &DRM_BRIDGE_OP_HPD). 92 /* ----------------------------------------------------------------------------- 93 * Bridge Connector Hot-Plug Handling [all …]
|
| /kernel/linux/linux-4.19/drivers/gpu/drm/ |
| D | drm_connector.c | 37 * opposed to all other KMS objects representing hardware (like CRTC, encoder or 39 * Hence they are reference-counted using drm_connector_get() and 49 * Connectors must be attached to an encoder to be used. For devices that map 52 * driver must also set the &drm_connector.encoder field to point to the 53 * attached encoder. 55 * For connectors which are not fixed (like built-in panels) the driver needs to 69 * Connector and encoder types. 73 { DRM_MODE_CONNECTOR_VGA, "VGA" }, 74 { DRM_MODE_CONNECTOR_DVII, "DVI-I" }, 75 { DRM_MODE_CONNECTOR_DVID, "DVI-D" }, [all …]
|
| /kernel/linux/linux-4.19/Documentation/media/uapi/v4l/ |
| D | extended-controls.rst | 1 .. -*- coding: utf-8; mode: rst -*- 3 .. _extended-controls: 71 it also allows for 64-bit values and pointers to be passed. 75 such as N-dimensional arrays and/or structures. You need to specify the 84 particular, this ioctl gives the dimensions of the N-dimensional array 113 .. code-block:: c 134 .. code-block:: c 144 The 32-bit ``qctrl.id`` value is subdivided into three bit ranges: the 150 non-zero for controls. The range of 0x1000 and up are reserved for 151 driver-specific controls. The macro ``V4L2_CTRL_ID2CLASS(id)`` returns [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/dispnv04/ |
| D | dfp.c | 5 * Copyright 2007-2009 Stuart Bennett 58 * this does not give a correct answer for off-chip dvi, but there's no in nv04_dfp_get_bound_head() 61 int ramdac = (dcbent->or & DCB_OUTPUT_C) >> 2; in nv04_dfp_get_bound_head() 72 * Luckily we do know the values ;-) in nv04_dfp_bind_head() 78 int ramdac = (dcbent->or & DCB_OUTPUT_C) >> 2; in nv04_dfp_bind_head() 84 if (dcbent->type == DCB_OUTPUT_LVDS) in nv04_dfp_bind_head() 87 nv_write_tmds(dev, dcbent->or, 0, 0x04, tmds04); in nv04_dfp_bind_head() 90 nv_write_tmds(dev, dcbent->or, 1, 0x04, tmds04 ^ 0x08); in nv04_dfp_bind_head() 95 struct nv04_crtc_reg *crtcstate = nv04_display(dev)->mode_reg.crtc_reg; in nv04_dfp_disable() 100 * values programmed. delay is time for the vga stuff in nv04_dfp_disable() [all …]
|
| /kernel/linux/linux-4.19/drivers/gpu/drm/nouveau/dispnv04/ |
| D | dfp.c | 5 * Copyright 2007-2009 Stuart Bennett 58 * this does not give a correct answer for off-chip dvi, but there's no in nv04_dfp_get_bound_head() 61 int ramdac = (dcbent->or & DCB_OUTPUT_C) >> 2; in nv04_dfp_get_bound_head() 72 * Luckily we do know the values ;-) in nv04_dfp_bind_head() 78 int ramdac = (dcbent->or & DCB_OUTPUT_C) >> 2; in nv04_dfp_bind_head() 84 if (dcbent->type == DCB_OUTPUT_LVDS) in nv04_dfp_bind_head() 87 nv_write_tmds(dev, dcbent->or, 0, 0x04, tmds04); in nv04_dfp_bind_head() 90 nv_write_tmds(dev, dcbent->or, 1, 0x04, tmds04 ^ 0x08); in nv04_dfp_bind_head() 95 struct nv04_crtc_reg *crtcstate = nv04_display(dev)->mode_reg.crtc_reg; in nv04_dfp_disable() 100 * values programmed. delay is time for the vga stuff in nv04_dfp_disable() [all …]
|