All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jani Nikula <jani.nikula@linux.intel.com>
To: Fangzhi Zuo <jerry.zuo@amd.com>,
	Alex Deucher <alexander.deucher@amd.com>,
	Harry Wentland <harry.wentland@amd.com>,
	Leo Li <sunpeng.li@amd.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>
Cc: "Rodrigo Siqueira" <siqueira@igalia.com>,
	"Alex Hung" <alex.hung@amd.com>,
	"Christian König" <christian.koenig@amd.com>,
	dri-devel@lists.freedesktop.org, amd-gfx@lists.freedesktop.org,
	"Fangzhi Zuo" <jerry.zuo@amd.com>
Subject: Re: [PATCH 1/2] drm/edid: Parse HDMI 2.2 FRL rates from the SCDS
Date: Thu, 29 Oct 2026 10:28:29 +0200	[thread overview]
Message-ID: <36178559c2d18ea397f8d2afa8c3f4a9ffaec6fc@intel.com> (raw)
In-Reply-To: <20261029004457.40545-2-jerry.zuo@amd.com>

On Wed, 28 Oct 2026, Fangzhi Zuo <jerry.zuo@amd.com> wrote:
> [Why]
> drm_get_max_frl_rate() only decodes Max_FRL_Rate values 1-6, so a sink
> advertising an HDMI 2.2 rate (7, 8 or 9) falls into the default case and
> is reported as having no FRL support at all.
>
> [How]
> Decode the HDMI 2.2 Max_FRL_Rate values 7, 8 and 9 as 16, 20 and 24 Gbps
> per lane over 4 lanes.
>
> Signed-off-by: Fangzhi Zuo <jerry.zuo@amd.com>

Reviewed-by: Jani Nikula <jani.nikula@intel.com>

> ---
>  drivers/gpu/drm/drm_edid.c | 12 ++++++++++++
>  1 file changed, 12 insertions(+)
>
> diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c
> index 42f4e41c459f..48d5c4bd4812 100644
> --- a/drivers/gpu/drm/drm_edid.c
> +++ b/drivers/gpu/drm/drm_edid.c
> @@ -6193,6 +6193,18 @@ void drm_get_max_frl_rate(int max_frl_rate, u8 *max_lanes, u8 *max_rate_per_lane
>  		*max_lanes = 4;
>  		*max_rate_per_lane = 12;
>  		break;
> +	case 7:
> +		*max_lanes = 4;
> +		*max_rate_per_lane = 16;
> +		break;
> +	case 8:
> +		*max_lanes = 4;
> +		*max_rate_per_lane = 20;
> +		break;
> +	case 9:
> +		*max_lanes = 4;
> +		*max_rate_per_lane = 24;
> +		break;
>  	case 0:
>  	default:
>  		*max_lanes = 0;

-- 
Jani Nikula, Intel

  reply	other threads:[~2026-10-29  8:28 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-29  0:44 [PATCH 0/2] drm: Support HDMI 2.2 FRL rates from the sink Fangzhi Zuo
2026-10-29  0:44 ` [PATCH 1/2] drm/edid: Parse HDMI 2.2 FRL rates from the SCDS Fangzhi Zuo
2026-10-29  8:28   ` Jani Nikula [this message]
2026-10-29  0:44 ` [PATCH 2/2] drm/amd/display: Accept HDMI 2.2 FRL rates from the sink EDID Fangzhi Zuo
2026-10-29 15:27 ` [PATCH 0/2] drm: Support HDMI 2.2 FRL rates from the sink Harry Wentland

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=36178559c2d18ea397f8d2afa8c3f4a9ffaec6fc@intel.com \
    --to=jani.nikula@linux.intel.com \
    --cc=airlied@gmail.com \
    --cc=alex.hung@amd.com \
    --cc=alexander.deucher@amd.com \
    --cc=amd-gfx@lists.freedesktop.org \
    --cc=christian.koenig@amd.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=harry.wentland@amd.com \
    --cc=jerry.zuo@amd.com \
    --cc=maarten.lankhorst@linux.intel.com \
    --cc=mripard@kernel.org \
    --cc=simona@ffwll.ch \
    --cc=siqueira@igalia.com \
    --cc=sunpeng.li@amd.com \
    --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.