All of lore.kernel.org
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Tomi Valkeinen" <tomi.valkeinen@ideasonboard.com>
Cc: dri-devel@lists.freedesktop.org
Subject: Re: [PATCH v6 08/13] drm/bridge: tc358762: Support VTG
Date: Tue, 24 Nov 2026 10:16:43 +0000	[thread overview]
Message-ID: <sashiko-outbox-230957@kernel.org> (raw)
In-Reply-To: <20261124-tc358762-fixes-v6-8-bd38fed6460f@ideasonboard.com>

Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Medium] drm/bridge: tc358762: missing select VIDEOMODE_HELPERS for
  tc358762_init()
--

commit e89c5a10c43147502d01b30bb7357df0b928ed52
Author: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>

drm/bridge: tc358762: Support VTG

This commit adds support for the TC358762 Video Timings Generator (VTG)
and enables it by default to program DPI output timings directly into the
bridge registers.

> diff --git a/drivers/gpu/drm/bridge/tc358762.c b/drivers/gpu/drm/bridge/tc358762.c
> index 59323f26b2d28..3ccb5aa404461 100644
> --- a/drivers/gpu/drm/bridge/tc358762.c
> +++ b/drivers/gpu/drm/bridge/tc358762.c
[ ... ]
> @@ -155,9 +163,31 @@ static int tc358762_init(struct tc358762 *ctx)
>  	tc358762_write(ctx, PPI_D1S_ATMR, 0);
>  	tc358762_write(ctx, PPI_LPTXTIMECNT, LPX_PERIOD);
>  
> +	if (ctx->use_vtg) {
> +		struct videomode vm = { 0 };
> +
> +		drm_display_mode_to_videomode(&ctx->mode, &vm);

[Severity: Medium]
Does DRM_TOSHIBA_TC358762 in drivers/gpu/drm/bridge/Kconfig need to select
VIDEOMODE_HELPERS?  drm_display_mode_to_videomode() is only built when
CONFIG_VIDEOMODE_HELPERS is enabled, so linking fails if nothing else in
the configuration selects it.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261124-tc358762-fixes-v6-0-bd38fed6460f@ideasonboard.com?part=8

  reply	other threads:[~2026-11-24 10:16 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-24 10:07 [PATCH v6 00/13] drm/bridge: tc358762: Various small fixes Tomi Valkeinen
2026-11-24 10:07 ` [PATCH v6 01/13] drm/bridge: tc358762: Clean up register defines Tomi Valkeinen
2026-11-24 10:07 ` [PATCH v6 02/13] drm/bridge: tc358762: Improve SYSCTRL " Tomi Valkeinen
2026-11-24 10:07 ` [PATCH v6 03/13] drm/bridge: tc358762: Improve LCDCTRL defines Tomi Valkeinen
2026-11-24 10:07 ` [PATCH v6 04/13] drm/bridge: tc358762: Configure SYSCTRL first Tomi Valkeinen
2026-11-24 10:07 ` [PATCH v6 05/13] drm/bridge: tc358762: Drop SPICMR write Tomi Valkeinen
2026-11-24 10:07 ` [PATCH v6 06/13] drm/bridge: tc358762: Improve DPI enable handling Tomi Valkeinen
2026-11-24 10:40   ` Andreas Kemnade
2026-11-24 10:07 ` [PATCH v6 07/13] drm/bridge: tc358762: Update comment about the number of lanes Tomi Valkeinen
2026-11-24 10:07 ` [PATCH v6 08/13] drm/bridge: tc358762: Support VTG Tomi Valkeinen
2026-11-24 10:16   ` sashiko-bot [this message]
2026-11-24 10:08 ` [PATCH v6 09/13] drm/bridge: tc358762: Fix sync polarities Tomi Valkeinen
2026-11-24 10:14   ` sashiko-bot
2026-11-24 10:08 ` [PATCH v6 10/13] drm/bridge: tc358762: Move tc358762_init() into tc358762_enable() Tomi Valkeinen
2026-11-24 10:08 ` [PATCH v6 11/13] drm/bridge: tc358762: Drop drm_bridge_funcs.mode_set Tomi Valkeinen
2026-11-24 10:08 ` [PATCH v6 12/13] drm/bridge: tc358762: Set DE_POL and DCLK_POL properly Tomi Valkeinen
2026-11-24 10:08 ` [PATCH v6 13/13] drm/panel-simple: Fix powertip,ph800480t013-idf02 timings Tomi Valkeinen
2026-11-24 10:16   ` sashiko-bot

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=sashiko-outbox-230957@kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=sashiko-reviews@lists.linux.dev \
    --cc=tomi.valkeinen@ideasonboard.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 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.