All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tommaso Merciai <tommaso.merciai.xr@bp.renesas.com>
To: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Cc: "Biju Das" <biju.das.jz@bp.renesas.com>,
	"Maarten Lankhorst" <maarten.lankhorst@linux.intel.com>,
	"Maxime Ripard" <mripard@kernel.org>,
	"Thomas Zimmermann" <tzimmermann@suse.de>,
	"David Airlie" <airlied@gmail.com>,
	"Simona Vetter" <simona@ffwll.ch>,
	"Dave Stevenson" <dave.stevenson@raspberrypi.com>,
	"Maíra Canal" <mcanal@igalia.com>,
	"Raspberry Pi Kernel Maintenance" <kernel-list@raspberrypi.com>,
	"Andrzej Hajda" <andrzej.hajda@intel.com>,
	"Neil Armstrong" <neil.armstrong@linaro.org>,
	"Robert Foss" <rfoss@kernel.org>,
	"laurent.pinchart" <laurent.pinchart@ideasonboard.com>,
	"Jonas Karlman" <jonas@kwiboo.se>,
	"Jernej Skrabec" <jernej.skrabec@gmail.com>,
	"dri-devel@lists.freedesktop.org"
	<dri-devel@lists.freedesktop.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"Dmitry Baryshkov" <lumag@kernel.org>
Subject: Re: (subset) [PATCH v6 00/10] drm/display: generic HDMI CEC helpers
Date: Fri, 23 May 2025 16:16:17 +0200	[thread overview]
Message-ID: <aDCDMdhJIFa-4qVX@tom-desktop> (raw)
In-Reply-To: <aDB8bD6cF7qiSpKd@tom-desktop>

Hi Biju, Dmitry,

On Fri, May 23, 2025 at 03:47:24PM +0200, Tommaso Merciai wrote:
> Hi Biju, Dmitry,
> Thanks for your comments.
> 
> On Fri, May 23, 2025 at 09:37:19AM +0300, Dmitry Baryshkov wrote:
> > Hi Biju
> > 
> > On Fri, 23 May 2025 at 09:17, Biju Das <biju.das.jz@bp.renesas.com> wrote:
> > >
> > > Hi Dmitry Baryshkov,
> > >
> > > Thanks for the series.
> > >
> > > Looks like, After this patch, when I change resolution using modetest it is not working.
> > > Monitor is showing out of range/No signal on RZ/V2L SMARC EVK connected to ADV7535.
> > >
> > > Not sure, I am the only one facing this issue?
> 
> I have the same issue using RZ/G3E Smark EVK connected to ADV7535.
> I found that switching back to the old:
> 
>  - adv7511_mode_set()
>  - Using also old .mode_set = adv7511_bridge_mode_set,
> 
> Implementation fix the issue on my side.

Diving a bit on this issue I'm seeing the following:

root@smarc-rzg3e:~# modetest -M rzg2l-du -d -s HDMI-A-1:800x600-56.25@XR24
setting mode 800x600-56.25Hz on connectors HDMI-A-1, crtc 62
[   49.273134] adv7511_mode_set_old: drm_mode_vrefresh(mode) = 56
[   49.281006] rzg2l_mipi_dsi_atomic_enable: mode->clock: 36000

root@smarc-rzg3e:~# modetest -M rzg2l-du -d -s HDMI-A-1:800x600-56.25@XR24
setting mode 800x600-56.25Hz on connectors HDMI-A-1, crtc 62
[   74.076881] rzg2l_mipi_dsi_atomic_enable: mode->clock: 36000
[   74.092130] adv7511_mode_set: drm_mode_vrefresh(adj_mode) = 56

Same result but I think bad timing:

 - old: adv7511_mode_set() is call before rzg2l_mipi_dsi_atomic_enable()
 - new: adv7511_mode_set() is call after rzg2l_mipi_dsi_atomic_enable()

What do you think? Thanks in advance.

Thanks & Regards,
Tommaso

> 
> Thanks & Regards,
> Tommaso
> 
> > 
> > I have been testing the series on db410c / adv7533, but something
> > might have changed between the testing time and the present time. I
> > will try checking it next week.
> > 
> > In the meantime, you can probably try comparing what gets programmed
> > in adv7511_mode_set().
> > 
> > >
> > > Modetest works fine with 6.15.0-rc6-next-20250516, where this patch series is
> > > not present.
> > >
> > > Cheers,
> > > Biju
> > >
> > > > -----Original Message-----
> > > > From: dri-devel <dri-devel-bounces@lists.freedesktop.org> On Behalf Of Dmitry Baryshkov
> > > > Sent: 20 May 2025 23:40
> > > > Subject: Re: (subset) [PATCH v6 00/10] drm/display: generic HDMI CEC helpers
> > > >
> > > >
> > > > On Sat, 17 May 2025 04:59:36 +0300, Dmitry Baryshkov wrote:
> > > > > Currently it is next to impossible to implement CEC handling for the
> > > > > setup using drm_bridges and drm_bridge_connector: bridges don't have a
> > > > > hold of the connector at the proper time to be able to route CEC events.
> > > > >
> > > > > At the same time it not very easy and obvious to get the CEC physical
> > > > > address handling correctly. Drivers handle it at various places,
> > > > > ending up with the slight differences in behaviour.
> > > > >
> > > > > [...]
> > > >
> > > > Applied, thanks!
> > > >
> > > > [01/10] drm/bridge: move private data to the end of the struct
> > > >         commit: fa3769e09be76142d51c617d7d0c72d9c725a49d
> > > > [02/10] drm/bridge: allow limiting I2S formats
> > > >         commit: d9f9bae6752f5a0280a80d1bc524cabd0d60c886
> > > > [03/10] drm/connector: add CEC-related fields
> > > >         commit: e72cd597c35012146bfe77b736a30fee3e77e61e
> > > > [04/10] drm/display: move CEC_CORE selection to DRM_DISPLAY_HELPER
> > > >         commit: bcc8553b6228d0387ff64978a03efa3c8983dd2f
> > > > [05/10] drm/display: add CEC helpers code
> > > >         commit: 8b1a8f8b2002d31136d83e4d730b4cb41e9ee868
> > > > [06/10] drm/display: hdmi-state-helper: handle CEC physical address
> > > >         commit: 603ce85427043ecb29ef737c1b350901ce3ebf09
> > > > [08/10] drm/display: bridge-connector: hook in CEC notifier support
> > > >         commit: 65a2575a68e4ff03ba887b5aef679fc95405fcd2
> > > > [09/10] drm/display: bridge-connector: handle CEC adapters
> > > >         commit: a74288c8ded7c34624e50b4aa8ca37ae6cc03df4
> > > > [10/10] drm/bridge: adv7511: switch to the HDMI connector helpers
> > > >         commit: ae01d3183d2763ed27ab71f4ef5402b683d9ad8a
> > > >
> > > > Best regards,
> > > > --
> > > > Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
> > >
> > 
> > 
> > -- 
> > With best wishes
> > Dmitry
> 

  reply	other threads:[~2025-05-23 14:16 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-05-17  1:59 [PATCH v6 00/10] drm/display: generic HDMI CEC helpers Dmitry Baryshkov
2025-05-17  1:59 ` [PATCH v6 01/10] drm/bridge: move private data to the end of the struct Dmitry Baryshkov
2025-05-17  1:59 ` [PATCH v6 02/10] drm/bridge: allow limiting I2S formats Dmitry Baryshkov
2025-05-17  1:59 ` [PATCH v6 03/10] drm/connector: add CEC-related fields Dmitry Baryshkov
2025-05-19  7:29   ` Maxime Ripard
2025-05-17  1:59 ` [PATCH v6 04/10] drm/display: move CEC_CORE selection to DRM_DISPLAY_HELPER Dmitry Baryshkov
2025-05-17  1:59 ` [PATCH v6 05/10] drm/display: add CEC helpers code Dmitry Baryshkov
2025-05-19  7:32   ` Maxime Ripard
2025-05-17  1:59 ` [PATCH v6 06/10] drm/display: hdmi-state-helper: handle CEC physical address Dmitry Baryshkov
2025-05-17  1:59 ` [PATCH v6 07/10] drm/vc4: hdmi: switch to generic CEC helpers Dmitry Baryshkov
2025-05-19  7:32   ` Maxime Ripard
2025-05-17  1:59 ` [PATCH v6 08/10] drm/display: bridge-connector: hook in CEC notifier support Dmitry Baryshkov
2025-07-18 14:41   ` Luca Ceresoli
2025-07-18 16:43     ` Dmitry Baryshkov
2025-05-17  1:59 ` [PATCH v6 09/10] drm/display: bridge-connector: handle CEC adapters Dmitry Baryshkov
2025-05-17  1:59 ` [PATCH v6 10/10] drm/bridge: adv7511: switch to the HDMI connector helpers Dmitry Baryshkov
2025-05-19  7:32   ` Maxime Ripard
2025-06-13 14:50   ` Mark Brown
2025-05-20 22:39 ` (subset) [PATCH v6 00/10] drm/display: generic HDMI CEC helpers Dmitry Baryshkov
2025-05-23  6:17   ` Biju Das
2025-05-23  6:37     ` Dmitry Baryshkov
2025-05-23  8:50       ` Biju Das
2025-05-23 13:47       ` Tommaso Merciai
2025-05-23 14:16         ` Tommaso Merciai [this message]
2025-05-23 20:54           ` Dmitry Baryshkov
2025-05-26 16:20       ` Biju Das

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=aDCDMdhJIFa-4qVX@tom-desktop \
    --to=tommaso.merciai.xr@bp.renesas.com \
    --cc=airlied@gmail.com \
    --cc=andrzej.hajda@intel.com \
    --cc=biju.das.jz@bp.renesas.com \
    --cc=dave.stevenson@raspberrypi.com \
    --cc=dmitry.baryshkov@oss.qualcomm.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=jernej.skrabec@gmail.com \
    --cc=jonas@kwiboo.se \
    --cc=kernel-list@raspberrypi.com \
    --cc=laurent.pinchart@ideasonboard.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lumag@kernel.org \
    --cc=maarten.lankhorst@linux.intel.com \
    --cc=mcanal@igalia.com \
    --cc=mripard@kernel.org \
    --cc=neil.armstrong@linaro.org \
    --cc=rfoss@kernel.org \
    --cc=simona@ffwll.ch \
    --cc=tzimmermann@suse.de \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.