| /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-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 …]
|
| D | drm_crtc.h | 3 * Copyright © 2007-2008 Dave Airlie 4 * Copyright © 2007-2008 Intel Corporation 33 #include <linux/media-bus-format.h> 80 * struct drm_crtc_state - mutable CRTC state 156 * Drivers are supposed to set this as-needed from their own atomic 222 * @encoder_mask: Bitmask of drm_encoder_mask(encoder) of encoders 238 * display timings used between the CRTC and encoder blocks. 253 * built-in panel), this mode here should match the physical mode on the 312 * hardware capabiltiy - lacking support is not treated as failure. 334 * - The event is for a CRTC which is being disabled through this [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 …]
|
| D | atombios.h | 2 * Copyright 2006-2007 Advanced Micro Devices, Inc. 214 UCHAR uaFirmWareSignature[4]; /*Signature to distinguish between Atombios and non-atombios, 397 …ONG ulPointerReturnFlag:1; // BYTE_3[7]=1 - Return the pointer to the right Data Block; BYTE_… 403 …ONG ulPointerReturnFlag:1; // BYTE_3[7]=1 - Return the pointer to the right Data Block; BYTE_… 410 …ULONG ulClock; //When returen, it's the re-calculated clock based on given Fb_div Post_Di… 504 …UCHAR ucInputFlag; //Input Flags. ucInputFlag[0] - Strobe(1)/Performance(0)… 536 #define ATOM_PLL_INPUT_FLAG_PLL_STROBE_MODE_EN 1 // 1-StrobeMode, 0-PerformanceMode 544 …bDiv; //Output:UPPER_WORD=FB_DIV_INTEGER, LOWER_WORD=FB_DIV_FRAC shl (16-FB_FRACTION_BITS) 549 … //Input : ATOM_PLL_INPUT_FLAG_PLL_STROBE_MODE_EN: 1-StrobeMode, 0-PerformanceMode 678 UCHAR ucAction; // 0: turn off 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-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 …]
|
| D | intel_sdvo.c | 3 * Copyright © 2006-2007 Intel Corporation 58 #define IS_TV(c) (c->output_flag & SDVO_TV_MASK) 59 #define IS_TMDS(c) (c->output_flag & SDVO_TMDS_MASK) 60 #define IS_LVDS(c) (c->output_flag & SDVO_LVDS_MASK) 61 #define IS_TV_OR_LVDS(c) (c->output_flag & (SDVO_TV_MASK | SDVO_LVDS_MASK)) 62 #define IS_DIGITAL(c) (c->output_flag & (SDVO_TMDS_MASK | SDVO_LVDS_MASK)) 118 /* DDC bus used by this SDVO encoder */ 122 * the sdvo flag gets lost in round trip: dtd->adjusted_mode->dtd 138 /* add the property for the SDVO-TV */ 156 /* add the property for the SDVO-TV/LVDS */ [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-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-5.10/drivers/gpu/drm/amd/include/ |
| D | atombios.h | 2 * Copyright 2006-2007 Advanced Micro Devices, Inc. 107 #define ATOM_SCALER_DISABLE 0 //For Fudo, it's bypass and auto-cengter & no replication 108 #define ATOM_SCALER_CENTER 1 //For Fudo, it's bypass and auto-center & auto replication 110 #define ATOM_SCALER_MULTI_EX 3 //For Fudo only, it's multi-tap mode only used to drive TV or CV,… 222 UCHAR uaFirmWareSignature[4]; //Signature to distinguish between Atombios and non-atombios, 245 UCHAR uaFirmWareSignature[4]; //Signature to distinguish between Atombios and non-atombios, 427 …ONG ulPointerReturnFlag:1; // BYTE_3[7]=1 - Return the pointer to the right Data Block; BYTE_… 433 …ONG ulPointerReturnFlag:1; // BYTE_3[7]=1 - Return the pointer to the right Data Block; BYTE_… 440 …ULONG ulClock; //When returen, it's the re-calculated clock based on given Fb_div Post_Di… 538 …UCHAR ucInputFlag; //Input Flags. ucInputFlag[0] - Strobe(1)/Performance(0)… [all …]
|
| D | atomfirmware.h | 6 * Description header file of general definitions for OS nd pre-OS video drivers 31 * If a change in VBIOS/Driver/Tool's interface is only needed for pre-SoC15 products, then the chan… 81 // define ASIC internal encoder id ( bit vector ), used for CRTC_SourceSel 115 ATOM_SCALER_DISABLE =0, /*scaler bypass mode, auto-center & no replication*/ 116 ATOM_SCALER_CENTER =1, //For Fudo, it's bypass and auto-center & auto replication 238 …tom_string_def atom_bios_string; //Signature to distinguish between Atombios and non-atombios, 595 uint32_t maco_pwrlimit_mw; // bomaco mode power limit in unit of m-watt 596 uint32_t usb_pwrlimit_mw; // power limit when USB is enable in unit of m-watt 644 eDP_TO_LVDS_RX_DISABLE = 0x00, // no eDP->LVDS translator chip 645 …eDP_TO_LVDS_COMMON_ID = 0x01, // common eDP->LVDS translator chip without A… [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/gma500/ |
| D | psb_intel_sdvo.c | 3 * Copyright © 2006-2007 Intel Corporation 51 #define IS_TV(c) (c->output_flag & SDVO_TV_MASK) 52 #define IS_TMDS(c) (c->output_flag & SDVO_TMDS_MASK) 53 #define IS_LVDS(c) (c->output_flag & SDVO_LVDS_MASK) 54 #define IS_TV_OR_LVDS(c) (c->output_flag & (SDVO_TV_MASK | SDVO_LVDS_MASK)) 103 * This is set if we're going to treat the device as TV-out. 106 * to decide this for us, the S-Video output on our HDMI+S-Video card 107 * shows up as RGB1 (VGA). 115 * This is set if we treat the device as HDMI, instead of DVI. 132 /* DDC bus used by this SDVO encoder */ [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/ |
| D | nouveau_bios.c | 2 * Copyright 2005-2006 Erik Waling 4 * Copyright 2007-2009 Stuart Bennett 30 #include <linux/io-mapping.h> 40 #define BIOSLOG(sip, fmt, arg...) NV_DEBUG(sip->dev, fmt, ##arg) 71 if (bios->major_version < 5) /* pre BIT */ in clkcmptable() 77 compareclk = ROM16(bios->data[clktable + compare_record_len * i]); in clkcmptable() 79 if (bios->major_version < 5) { in clkcmptable() 80 uint8_t tmdssub = bios->data[clktable + 2 + compare_record_len * i]; in clkcmptable() 81 scriptptr = ROM16(bios->data[bios->init_script_tbls_ptr + tmdssub * 2]); in clkcmptable() 83 scriptptr = ROM16(bios->data[clktable + 2 + compare_record_len * i]); in clkcmptable() [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/core/ |
| D | dc_link_dp.c | 19 link->ctx->logger 38 /* to avoid infinite loop where-in the receiver 78 if (link->dpcd_caps.dpcd_rev.raw >= DPCD_REV_12) { in get_eq_training_aux_rd_interval() 79 /* DP 1.2 or later - retrieve delay through in get_eq_training_aux_rd_interval() 133 struct encoder_feature_support *features = &link->link_enc->features; in decide_eq_training_pattern() 134 struct dpcd_caps *dpcd_caps = &link->dpcd_caps; in decide_eq_training_pattern() 136 if (features->flags.bits.IS_TPS3_CAPABLE) in decide_eq_training_pattern() 139 if (features->flags.bits.IS_TPS4_CAPABLE) in decide_eq_training_pattern() 142 if (dpcd_caps->max_down_spread.bits.TPS4_SUPPORTED && in decide_eq_training_pattern() 146 if (dpcd_caps->max_ln_count.bits.TPS3_SUPPORTED && in decide_eq_training_pattern() [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dce110/ |
| D | dce110_timing_generator.c | 2 * Copyright 2012-15 Advanced Micro Devices, Inc. 48 #define CRTC_REG(reg) (reg + tg110->offsets.crtc) 49 #define DCP_REG(reg) (reg + tg110->offsets.dcp) 69 if (timing->flags.INTERLACE == 1) { in dce110_timing_generator_apply_front_porch_workaround() 70 if (timing->v_front_porch < 2) in dce110_timing_generator_apply_front_porch_workaround() 71 timing->v_front_porch = 2; in dce110_timing_generator_apply_front_porch_workaround() 73 if (timing->v_front_porch < 1) in dce110_timing_generator_apply_front_porch_workaround() 74 timing->v_front_porch = 1; in dce110_timing_generator_apply_front_porch_workaround() 100 value = dm_read_reg(tg->ctx, addr); in dce110_timing_generator_is_in_vertical_blank() 113 regval = dm_read_reg(tg->ctx, address); in dce110_timing_generator_set_early_control() [all …]
|
| /kernel/linux/patches/linux-5.10/yangfan_patch/ |
| D | drivers.patch | 6 Change-Id: I9825adaa8537a316db8a1831e759a74223b9e428 7 --- 9 drivers/block/nbd.c | 6 - 12 drivers/clk/clk.c | 2 +- 13 drivers/clk/rockchip/Kconfig | 42 +- 15 drivers/clk/rockchip/clk-cpu.c | 92 +- 16 drivers/clk/rockchip/clk-ddr.c | 171 +- 17 drivers/clk/rockchip/clk-half-divider.c | 35 +- 18 drivers/clk/rockchip/clk-pll.c | 779 ++- 19 drivers/clk/rockchip/clk-rk3399.c | 589 +- [all …]
|
| /kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/ |
| D | 0020_linux_drivers_gpu.patch | 7 Change-Id: Ie95ebc16d7424b75135df39b9e20893d1a5171d6 9 diff --git a/drivers/gpu/Makefile b/drivers/gpu/Makefile 11 --- a/drivers/gpu/Makefile 13 @@ -3,6 +3,7 @@ 16 obj-$(CONFIG_TEGRA_HOST1X) += host1x/ 17 +obj-y += imx/ 18 obj-y += drm/ vga/ 19 obj-$(CONFIG_IMX_IPUV3_CORE) += ipu-v3/ 20 obj-$(CONFIG_TRACE_GPU_MEM) += trace/ 21 diff --git a/drivers/gpu/drm/Makefile b/drivers/gpu/drm/Makefile [all …]
|
| /kernel/linux/patches/linux-5.10/unionpi_tiger_pacth/ |
| D | linux-5.10.patch | 1 diff -Naur a/arch/arm/boot/Makefile b/arch/arm/boot/Makefile 2 --- a/arch/arm/boot/Makefile 2022-05-27 17:20:13.781877650 +0800 3 +++ b/arch/arm/boot/Makefile 2022-05-31 11:56:47.693259679 +0800 4 @@ -16,6 +16,7 @@ 12 @@ -24,10 +25,12 @@ 13 ZRELADDR := $(zreladdr-y) 14 PARAMS_PHYS := $(params_phys-y) 15 INITRD_PHYS := $(initrd_phys-y) 16 +DTB_OBJS ?= $(dtb-y) 21 -targets := Image zImage xipImage bootpImage uImage [all …]
|