Hi,

On 11/24/2026 8:01 PM, Luo Liu wrote:
> Add the DRM bridge that exposes the transmitter to KMS: connector
> detection, EDID mode enumeration with a downstream timing fallback,
> validation of a mode against the sink link capabilities, and the atomic
> enable and disable paths.
> 
> The bridge is meant to be attached with DRM_BRIDGE_ATTACH_NO_CONNECTOR;
> the connector is created by drm_bridge_connector_init() from the bridge
> operations, so the driver only implements the bridge side and never
> creates a connector of its own.
> 
> Signed-off-by: Luo Liu <[email protected]>
> ---
>  drivers/gpu/drm/bridge/trilinear/dptx_drm.c | 623 ++++++++++++++++++++
>  drivers/gpu/drm/bridge/trilinear/dptx_drm.h |  17 +
>  2 files changed, 640 insertions(+)
>  create mode 100644 drivers/gpu/drm/bridge/trilinear/dptx_drm.c
>  create mode 100644 drivers/gpu/drm/bridge/trilinear/dptx_drm.h
> 
> diff --git a/drivers/gpu/drm/bridge/trilinear/dptx_drm.c 
> b/drivers/gpu/drm/bridge/trilinear/dptx_drm.c
> new file mode 100644
> index 000000000000..fde34bac1230
> --- /dev/null
> +++ b/drivers/gpu/drm/bridge/trilinear/dptx_drm.c
> @@ -0,0 +1,623 @@
> +// SPDX-License-Identifier: GPL-2.0-only
> +/*
> + * DisplayPort DRM bridge helpers
> + *
> + * Copyright 2026 Cix Technology Group Co., Ltd.
> + */
> +
> +#include <linux/device.h>
> +#include <linux/kernel.h>
> +#include <linux/math64.h>
> +
> +#include <drm/drm_atomic.h>
> +#include <drm/drm_atomic_state_helper.h>
> +#include <drm/drm_bridge.h>
> +#include <drm/drm_edid.h>
> +
> +#include "dptx.h"

This file does not appear until patch 4.

> +#include "dptx_drm.h"
> +
> +#define DPTX_MIN_H_BACKPORCH 12
> +#define DPTX_MIN_BPP         (6 * 3)
> +


-- 
Best, 
Chaoyi

Reply via email to