public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
From: "Ville Syrjälä" <ville.syrjala@linux.intel.com>
To: Lee Shawn C <shawn.c.lee@intel.com>
Cc: intel-gfx@lists.freedesktop.org
Subject: Re: [Intel-gfx] [v2] drm/i915: update new TMDS clock setting defined by VBT
Date: Thu, 3 Mar 2022 13:40:44 +0200	[thread overview]
Message-ID: <YiCpPBVJyEki3EHn@intel.com> (raw)
In-Reply-To: <20220303083802.5071-1-shawn.c.lee@intel.com>

On Thu, Mar 03, 2022 at 04:38:02PM +0800, Lee Shawn C wrote:
> VBT 249 update to support more TMDS clock rate 3.00G, 3.40G
> and 5.94G. Refer to this new definition to configure max
> TMDS clock rate for HDMI driver.
> 
> BSpec: 20124
> 
> v2: new subject
> 
> Cc: Jani Nikula <jani.nikula@linux.intel.com>
> Cc: Ville Syrjala <ville.syrjala@linux.intel.com>
> Cc: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
> Signed-off-by: Lee Shawn C <shawn.c.lee@intel.com>

Thanks. Pushed to drm-intel-next.

> ---
>  drivers/gpu/drm/i915/display/intel_bios.c     | 6 ++++++
>  drivers/gpu/drm/i915/display/intel_vbt_defs.h | 3 +++
>  2 files changed, 9 insertions(+)
> 
> diff --git a/drivers/gpu/drm/i915/display/intel_bios.c b/drivers/gpu/drm/i915/display/intel_bios.c
> index 40b5e7ed12c2..a559a1914588 100644
> --- a/drivers/gpu/drm/i915/display/intel_bios.c
> +++ b/drivers/gpu/drm/i915/display/intel_bios.c
> @@ -1955,6 +1955,12 @@ static int _intel_bios_max_tmds_clock(const struct intel_bios_encoder_data *devd
>  		fallthrough;
>  	case HDMI_MAX_DATA_RATE_PLATFORM:
>  		return 0;
> +	case HDMI_MAX_DATA_RATE_594:
> +		return 594000;
> +	case HDMI_MAX_DATA_RATE_340:
> +		return 340000;
> +	case HDMI_MAX_DATA_RATE_300:
> +		return 300000;
>  	case HDMI_MAX_DATA_RATE_297:
>  		return 297000;
>  	case HDMI_MAX_DATA_RATE_165:
> diff --git a/drivers/gpu/drm/i915/display/intel_vbt_defs.h b/drivers/gpu/drm/i915/display/intel_vbt_defs.h
> index b9397d9363c5..e0508990df48 100644
> --- a/drivers/gpu/drm/i915/display/intel_vbt_defs.h
> +++ b/drivers/gpu/drm/i915/display/intel_vbt_defs.h
> @@ -289,6 +289,9 @@ struct bdb_general_features {
>  #define HDMI_MAX_DATA_RATE_PLATFORM	0			/* 204 */
>  #define HDMI_MAX_DATA_RATE_297		1			/* 204 */
>  #define HDMI_MAX_DATA_RATE_165		2			/* 204 */
> +#define HDMI_MAX_DATA_RATE_594		3			/* 249 */
> +#define HDMI_MAX_DATA_RATE_340		4			/* 249 */
> +#define HDMI_MAX_DATA_RATE_300		5			/* 249 */
>  
>  #define LEGACY_CHILD_DEVICE_CONFIG_SIZE		33
>  
> -- 
> 2.17.1

-- 
Ville Syrjälä
Intel

  reply	other threads:[~2022-03-03 11:40 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-01  5:01 [Intel-gfx] [PATCH] drm/i915: add more TMDS clock rate supported by HDMI driver Lee Shawn C
2022-03-01  5:42 ` [Intel-gfx] ✓ Fi.CI.BAT: success for " Patchwork
2022-03-01 13:02 ` [Intel-gfx] ✓ Fi.CI.IGT: " Patchwork
2022-03-02 14:50 ` [Intel-gfx] [PATCH] " Ville Syrjälä
2022-03-03  8:38 ` [Intel-gfx] [v2] drm/i915: update new TMDS clock setting defined by VBT Lee Shawn C
2022-03-03 11:40   ` Ville Syrjälä [this message]
2022-03-03  9:49 ` [Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915: add more TMDS clock rate supported by HDMI driver (rev2) Patchwork
2022-03-03 13:27 ` [Intel-gfx] ✓ Fi.CI.IGT: " Patchwork

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=YiCpPBVJyEki3EHn@intel.com \
    --to=ville.syrjala@linux.intel.com \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=shawn.c.lee@intel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox