From: Marek Szyprowski <m.szyprowski@samsung.com>
To: Jagan Teki <jagan@amarulasolutions.com>
Cc: Neil Armstrong <narmstrong@baylibre.com>,
Robert Foss <robert.foss@linaro.org>,
Laurent Pinchart <laurent.pinchart@ideasonboard.com>,
Andrzej Hajda <andrzej.hajda@intel.com>,
devicetree@vger.kernel.org, linux-amarula@amarulasolutions.com
Subject: Re: [PATCH v2] drm: bridge: tc358764: Use drm panel_bridge API
Date: Wed, 15 Dec 2021 15:31:06 +0100 [thread overview]
Message-ID: <8235e9cc-2564-b9eb-402e-c98096185ac3@samsung.com> (raw)
In-Reply-To: <CAMty3ZCX7ziywip9ToU4XP_GqK2uVX=iH0wgeyzgazWSf=9Cgg@mail.gmail.com>
Hi Jagan,
On 15.12.2021 13:59, Jagan Teki wrote:
> On Wed, Dec 15, 2021 at 5:30 PM Marek Szyprowski
> <m.szyprowski@samsung.com> wrote:
>> On 15.12.2021 11:04, Jagan Teki wrote:
>>> Replace the manual panel handling code by a drm panel_bridge via
>>> devm_drm_of_get_bridge().
>>>
>>> Adding panel_bridge handling,
>>>
>>> - Drops drm_connector and related operations as drm_bridge_attach
>>> creates connector during attachment.
>>>
>>> - Drops panel pointer and panel healpers.
>>>
>>> This simplifies the driver and allows all components in the display
>>> pipeline to be treated as bridges.
>>>
>>> Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
>> I just tested it on top of linux-next with "drm: of: Lookup if child
>> node has panel or bridge" patch. Sadly it still doesn't work on
>> Exynos5250-based Arndale board:
>>
>> OF: graph: no port node found in /soc/hdmi@14530000
>> [drm] Exynos DRM: using 14400000.fimd device for DMA mapping operations
>> exynos-drm exynos-drm: bound 14400000.fimd (ops fimd_component_ops)
>> exynos-drm exynos-drm: bound 14450000.mixer (ops mixer_component_ops)
>> OF: graph: no port node found in /soc/dsi@14500000
>> exynos-drm exynos-drm: bound 14500000.dsi (ops exynos_dsi_component_ops)
>> exynos-drm exynos-drm: bound 14530000.hdmi (ops hdmi_component_ops)
>> exynos-drm exynos-drm: [drm] Cannot find any crtc or sizes
>> exynos-drm exynos-drm: [drm] Cannot find any crtc or sizes
>> [drm] Initialized exynos 1.1.0 20180330 for exynos-drm on minor 0
>> panfrost 11800000.gpu: clock rate = 533000000
>> panfrost 11800000.gpu: mali-t600 id 0x600 major 0x0 minor 0x0 status 0x1
>> panfrost 11800000.gpu: features: 00000000,10206000, issues:
>> 00000000,31b4dfff
>> panfrost 11800000.gpu: Features: L2:0x07110206 Shader:0x00000000
>> Tiler:0x00000809 Mem:0x1 MMU:0x00002830 AS:0xf JS:0x7
>> panfrost 11800000.gpu: shader_present=0xf l2_present=0x1
>> [drm] Initialized panfrost 1.2.0 20180908 for 11800000.gpu on minor 1
>> ------------[ cut here ]------------
>> WARNING: CPU: 1 PID: 7 at drivers/gpu/drm/drm_atomic_state_helper.c:494
>> drm_atomic_helper_connector_duplicate_state+0x60/0x68
> Known problem, it require 1/6 from Bridge conversation series. We can
> move this patch into conversion series next time or while merging.
Indeed, with the 1/6 patch it works fine on Exynos5250 based Arndale board.
Tested-by: Marek Szyprowski <m.szyprowski@samsung.com>
Best regards
--
Marek Szyprowski, PhD
Samsung R&D Institute Poland
prev parent reply other threads:[~2021-12-15 14:31 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CGME20211215100518eucas1p1c3020dd07a9e27e1280d507fa709f09f@eucas1p1.samsung.com>
2021-12-15 10:04 ` [PATCH v2] drm: bridge: tc358764: Use drm panel_bridge API Jagan Teki
2021-12-15 12:00 ` Marek Szyprowski
2021-12-15 12:59 ` Jagan Teki
2021-12-15 14:31 ` Marek Szyprowski [this message]
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=8235e9cc-2564-b9eb-402e-c98096185ac3@samsung.com \
--to=m.szyprowski@samsung.com \
--cc=andrzej.hajda@intel.com \
--cc=devicetree@vger.kernel.org \
--cc=jagan@amarulasolutions.com \
--cc=laurent.pinchart@ideasonboard.com \
--cc=linux-amarula@amarulasolutions.com \
--cc=narmstrong@baylibre.com \
--cc=robert.foss@linaro.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