Devicetree
 help / color / mirror / Atom feed
From: Chaoyi Chen <chaoyi.chen@rock-chips.com>
To: Luo Liu <Luo.Liu@cixtech.com>
Cc: maarten.lankhorst@linux.intel.com, mripard@kernel.org,
	tzimmermann@suse.de, andrzej.hajda@intel.com,
	neil.armstrong@linaro.org, rfoss@kernel.org, robh@kernel.org,
	krzk+dt@kernel.org, conor+dt@kernel.org,
	dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org,
	laurent.pinchart@ideasonboard.com, jonas@kwiboo.se,
	jernej.skrabec@gmail.com, luca.ceresoli@bootlin.com,
	wuyi.shen@cixtech.com, cix-kernel-upstream@cixtech.com
Subject: Re: [PATCH v3 3/5] drm/bridge: trilinear: add the DPTX DRM bridge
Date: Wed, 25 Nov 2026 16:55:06 +0800	[thread overview]
Message-ID: <82168811-c141-445a-97d1-e5c1ee38e0f4@rock-chips.com> (raw)
In-Reply-To: <20261124120114.3273161-4-Luo.Liu@cixtech.com>

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 <Luo.Liu@cixtech.com>
> ---
>  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


  parent reply	other threads:[~2026-11-25  8:55 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-24 12:01 [PATCH v3 0/5] drm/bridge: trilinear: add the Sky1 DisplayPort transmitter Luo Liu
2026-11-24 12:01 ` [PATCH v3 1/5] dt-bindings: display: add CIX " Luo Liu
2026-11-24 12:12   ` sashiko-bot
2026-11-24 12:01 ` [PATCH v3 2/5] drm/bridge: trilinear: add the DPTX hardware layer Luo Liu
2026-11-24 12:22   ` sashiko-bot
2026-11-25  8:16   ` Chaoyi Chen
2026-11-24 12:01 ` [PATCH v3 3/5] drm/bridge: trilinear: add the DPTX DRM bridge Luo Liu
2026-11-24 12:28   ` sashiko-bot
2026-11-25  8:55   ` Chaoyi Chen [this message]
2026-11-24 12:01 ` [PATCH v3 4/5] drm/bridge: trilinear: add the DPTX core and build glue Luo Liu
2026-11-24 12:25   ` sashiko-bot
2026-11-25  7:23   ` Chaoyi Chen
2026-11-24 12:01 ` [PATCH v3 5/5] drm/cix: add the Sky1 DisplayPort platform glue Luo Liu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=82168811-c141-445a-97d1-e5c1ee38e0f4@rock-chips.com \
    --to=chaoyi.chen@rock-chips.com \
    --cc=Luo.Liu@cixtech.com \
    --cc=andrzej.hajda@intel.com \
    --cc=cix-kernel-upstream@cixtech.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=jernej.skrabec@gmail.com \
    --cc=jonas@kwiboo.se \
    --cc=krzk+dt@kernel.org \
    --cc=laurent.pinchart@ideasonboard.com \
    --cc=luca.ceresoli@bootlin.com \
    --cc=maarten.lankhorst@linux.intel.com \
    --cc=mripard@kernel.org \
    --cc=neil.armstrong@linaro.org \
    --cc=rfoss@kernel.org \
    --cc=robh@kernel.org \
    --cc=tzimmermann@suse.de \
    --cc=wuyi.shen@cixtech.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox