Hi Chaoyi,
Thank you very much for your review and suggestions.
> -----邮件原件-----
> 发件人: Chaoyi Chen <[email protected]>
> 发送时间: 2026年11月25日 16:55
> 收件人: Luo Liu <[email protected]>
> 抄送: [email protected]; [email protected];
> [email protected]; [email protected]; [email protected];
> [email protected]; [email protected]; [email protected];
> [email protected]; [email protected];
> [email protected]; [email protected];
> [email protected]; [email protected]; [email protected]; Wuyi
> Shen (沈武义) <[email protected]>; cix-kernel-upstream
> <[email protected]>
> 主题: Re: [PATCH v3 3/5] drm/bridge: trilinear: add the DPTX DRM bridge
>
> [Some people who received this message don't often get email from
> [email protected]. Learn why this is important at
> https://aka.ms/LearnAboutSenderIdentification ]
>
> EXTERNAL EMAIL
>
> 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.
Yes, I will adjust patch 3 to include the dptx.h and trilinear_dp.h headers
>
> > +#include "dptx_drm.h"
> > +
> > +#define DPTX_MIN_H_BACKPORCH 12
> > +#define DPTX_MIN_BPP (6 * 3)
> > +
>
>
> --
> Best,
> Chaoyi
本邮件及其附件包含CIX公司的保密信息,受法律保护,仅供本邮件指定的收件人查阅。严禁任何未经授权的使用、传播、分发或复制本邮件及其任何内容。此限制适用于指定收件人以外的所有人员,包括未经明确授权处理此类信息的CIX公司员工或代理人。若您误收本邮件,请立即通知发件人,并永久删除邮件及所有附件。互联网传输无法保证及时性、安全性、完整性和无病毒性,CIX公司对任何传输错误或遗漏概不承担责任。