From: Michael Walle <mwalle@kernel.org>
To: "Nícolas F. R. A. Prado" <nfraprado@collabora.com>
Cc: angelogioacchino.delregno@collabora.com, airlied@gmail.com,
amergnat@baylibre.com, chunkuang.hu@kernel.org,
ck.hu@mediatek.com, daniel@ffwll.ch,
dri-devel@lists.freedesktop.org, ehristev@collabora.com,
kernel@collabora.com, linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org,
matthias.bgg@gmail.com, p.zabel@pengutronix.de,
wenst@chromium.org
Subject: Re: [PATCH v7 09/11] drm/mediatek: dp: Add support for embedded DisplayPort aux-bus
Date: Wed, 30 Aug 2023 13:11:35 +0200 [thread overview]
Message-ID: <7a3257dddac78c46408341253a3286f4@kernel.org> (raw)
In-Reply-To: <cce6f9c2-e0b6-47e4-ae1c-9a3d8a4e4b02@notapiano>
>> While digging through the code I realized that all the outputs and
>> pipelines
>> are harcoded. Doh. For all the mediatek SoCs. Looks like major
>> restriction
>> to
>> me. E.g. there is also DSI and HDMI output on the mt8195. I looked at
>> the
>> downstream linux and there, the output is not part of the pipeline.
>> Are you
>> aware of any work in that direction?
>
> I'm not sure I get what output and pipelines are hardcoded that you're
> referring
> to (besides the one in the mtk-dsi/dpi driver that you already sent the
> patch
> fixing).
Have a look at [1]. That main path ends with the DP_INTF0 which is the
eDP output. But from what I understand that path can also use the DSI
output. But that is a pattern for all the paths in that file. Looks like
all supported boards in the kernel will have the output type for a given
SoC/path (or maybe the mt8195 is the first one which supports different
output interfaces).
If you have a look at the mediatek kernel instead [2], there the last
part of the path is not fixed, but there is also a .conn_routes property
by which you seem to be able to choose the actual output interface.
I was just curious if you know of any development for that (or similar)
in the kernel.
-michael
> And I'm not familiar with the DSI and HDMI output support on MT8195, so
> I can't
> help with that.
>
> Thanks,
> Nícolas
[1]
https://elixir.bootlin.com/linux/v6.5/source/drivers/gpu/drm/mediatek/mtk_drm_drv.c#L210
[2]
https://gitlab.com/mediatek/aiot/bsp/linux/-/blob/mtk-v5.15-dev/drivers/gpu/drm/mediatek/mtk_drm_drv.c?ref_type=heads#L425
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next prev parent reply other threads:[~2023-08-30 11:12 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20230725073234.55892-10-angelogioacchino.delregno@collabora.com>
2023-08-25 12:01 ` [PATCH v7 09/11] drm/mediatek: dp: Add support for embedded DisplayPort aux-bus Michael Walle
2023-08-25 14:02 ` Nícolas F. R. A. Prado
2023-08-25 15:42 ` Michael Walle
2023-08-25 20:36 ` Nícolas F. R. A. Prado
2023-08-29 13:30 ` Michael Walle
2023-08-29 18:19 ` Nícolas F. R. A. Prado
2023-08-30 11:11 ` Michael Walle [this message]
2023-08-31 7:12 ` Chen-Yu Tsai
2023-09-01 10:00 ` Michael Walle
2023-09-01 15:00 ` Chen-Yu Tsai
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=7a3257dddac78c46408341253a3286f4@kernel.org \
--to=mwalle@kernel.org \
--cc=airlied@gmail.com \
--cc=amergnat@baylibre.com \
--cc=angelogioacchino.delregno@collabora.com \
--cc=chunkuang.hu@kernel.org \
--cc=ck.hu@mediatek.com \
--cc=daniel@ffwll.ch \
--cc=dri-devel@lists.freedesktop.org \
--cc=ehristev@collabora.com \
--cc=kernel@collabora.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mediatek@lists.infradead.org \
--cc=matthias.bgg@gmail.com \
--cc=nfraprado@collabora.com \
--cc=p.zabel@pengutronix.de \
--cc=wenst@chromium.org \
/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;
as well as URLs for NNTP newsgroup(s).