All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jani Nikula <jani.nikula@linux.intel.com>
To: Ville Syrjala <ville.syrjala@linux.intel.com>,
	intel-gfx@lists.freedesktop.org
Subject: Re: [Intel-gfx] [PATCH 2/3] drm/i915: Allow alternate fixed modes always for eDP
Date: Wed, 28 Sep 2022 11:11:13 +0300	[thread overview]
Message-ID: <87h70rzzoe.fsf@intel.com> (raw)
In-Reply-To: <20220927180615.25476-3-ville.syrjala@linux.intel.com>

On Tue, 27 Sep 2022, Ville Syrjala <ville.syrjala@linux.intel.com> wrote:
> From: Ville Syrjälä <ville.syrjala@linux.intel.com>
>
> Stop considering VBT's static DRRS support when deciding whether
> to use alternate fixed modes or not. It looks like Windows more
> or less just uses that to decide whether to automagically switch
> refresh rates on AC<->batter changes, or perhaps whether to

*battery

The series is

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


> even expose a control for that in some UI thing. Either way it
> seems happy to always use all EDID modes, and I guess the
> DRRS/VRR stuff more or less adjust how said modes get
> actually used.
>
> Let's do the same and just accept all the suitable looking
> modes from EDID, whether we have DRRS or VRR.
>
> Closes: https://gitlab.freedesktop.org/drm/intel/-/issues/6323
> Closes: https://gitlab.freedesktop.org/drm/intel/-/issues/6484
> Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
> ---
>  drivers/gpu/drm/i915/display/intel_dp.c | 4 +---
>  1 file changed, 1 insertion(+), 3 deletions(-)
>
> diff --git a/drivers/gpu/drm/i915/display/intel_dp.c b/drivers/gpu/drm/i915/display/intel_dp.c
> index c368caa23291..70b06806ec0d 100644
> --- a/drivers/gpu/drm/i915/display/intel_dp.c
> +++ b/drivers/gpu/drm/i915/display/intel_dp.c
> @@ -5292,9 +5292,7 @@ static bool intel_edp_init_connector(struct intel_dp *intel_dp,
>  	intel_bios_init_panel(dev_priv, &intel_connector->panel,
>  			      encoder->devdata, IS_ERR(edid) ? NULL : edid);
>  
> -	intel_panel_add_edid_fixed_modes(intel_connector,
> -					 intel_connector->panel.vbt.drrs_type != DRRS_TYPE_NONE ||
> -					 intel_vrr_is_capable(intel_connector));
> +	intel_panel_add_edid_fixed_modes(intel_connector, true);
>  
>  	/* MSO requires information from the EDID */
>  	intel_edp_mso_init(intel_dp);

-- 
Jani Nikula, Intel Open Source Graphics Center

  reply	other threads:[~2022-09-28  8:11 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-27 18:06 [Intel-gfx] [PATCH 0/3] drm/i915: Relax fixed mode selection further Ville Syrjala
2022-09-27 18:06 ` [Intel-gfx] [PATCH 1/3] drm/i915: Simplify intel_panel_add_edid_alt_fixed_modes() Ville Syrjala
2022-09-27 18:06 ` [Intel-gfx] [PATCH 2/3] drm/i915: Allow alternate fixed modes always for eDP Ville Syrjala
2022-09-28  8:11   ` Jani Nikula [this message]
2022-09-27 18:06 ` [Intel-gfx] [PATCH 3/3] drm/i915: Allow alternate fixed modes always for LVDS Ville Syrjala
2022-09-28  3:01 ` [Intel-gfx] ✗ Fi.CI.SPARSE: warning for drm/i915: Relax fixed mode selection further Patchwork
2022-09-28  3:20 ` [Intel-gfx] ✓ Fi.CI.BAT: success " Patchwork
2022-09-28 20:22 ` [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=87h70rzzoe.fsf@intel.com \
    --to=jani.nikula@linux.intel.com \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=ville.syrjala@linux.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 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.