From: "Ville Syrjälä" <ville.syrjala@linux.intel.com>
To: Swathi Dhanavanthri <swathi.dhanavanthri@intel.com>
Cc: intel-gfx@lists.freedesktop.org
Subject: Re: [Intel-gfx] [PATCH] drm/i915/display/adlp: Remove code related to underrun recovery
Date: Thu, 3 Mar 2022 13:40:55 +0200 [thread overview]
Message-ID: <YiCpR1P8t0dENNU5@intel.com> (raw)
In-Reply-To: <20220302231119.16876-1-swathi.dhanavanthri@intel.com>
On Wed, Mar 02, 2022 at 03:11:19PM -0800, Swathi Dhanavanthri wrote:
> This is not supported for ADLP and is not needed.
>
> Signed-off-by: Swathi Dhanavanthri <swathi.dhanavanthri@intel.com>
Thanks. Pushed to drm-intel-next.
> ---
> drivers/gpu/drm/i915/display/intel_display.c | 21 --------------------
> 1 file changed, 21 deletions(-)
>
> diff --git a/drivers/gpu/drm/i915/display/intel_display.c b/drivers/gpu/drm/i915/display/intel_display.c
> index 6cae58f921a5..541797a2ff9e 100644
> --- a/drivers/gpu/drm/i915/display/intel_display.c
> +++ b/drivers/gpu/drm/i915/display/intel_display.c
> @@ -3595,12 +3595,8 @@ static void hsw_set_transconf(const struct intel_crtc_state *crtc_state)
> static void bdw_set_pipemisc(const struct intel_crtc_state *crtc_state)
> {
> struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc);
> - const struct intel_crtc_scaler_state *scaler_state =
> - &crtc_state->scaler_state;
> -
> struct drm_i915_private *dev_priv = to_i915(crtc->base.dev);
> u32 val = 0;
> - int i;
>
> switch (crtc_state->pipe_bpp) {
> case 18:
> @@ -3639,23 +3635,6 @@ static void bdw_set_pipemisc(const struct intel_crtc_state *crtc_state)
> if (DISPLAY_VER(dev_priv) >= 12)
> val |= PIPEMISC_PIXEL_ROUNDING_TRUNC;
>
> - if (IS_ALDERLAKE_P(dev_priv)) {
> - bool scaler_in_use = false;
> -
> - for (i = 0; i < crtc->num_scalers; i++) {
> - if (!scaler_state->scalers[i].in_use)
> - continue;
> -
> - scaler_in_use = true;
> - break;
> - }
> -
> - intel_de_rmw(dev_priv, PIPE_MISC2(crtc->pipe),
> - PIPE_MISC2_BUBBLE_COUNTER_MASK,
> - scaler_in_use ? PIPE_MISC2_BUBBLE_COUNTER_SCALER_EN :
> - PIPE_MISC2_BUBBLE_COUNTER_SCALER_DIS);
> - }
> -
> intel_de_write(dev_priv, PIPEMISC(crtc->pipe), val);
> }
>
> --
> 2.20.1
--
Ville Syrjälä
Intel
prev parent reply other threads:[~2022-03-03 11:40 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-02 23:11 [Intel-gfx] [PATCH] drm/i915/display/adlp: Remove code related to underrun recovery Swathi Dhanavanthri
2022-03-03 0:11 ` [Intel-gfx] ✓ Fi.CI.BAT: success for " Patchwork
2022-03-03 11:01 ` [Intel-gfx] ✓ Fi.CI.IGT: " Patchwork
2022-03-03 11:40 ` Ville Syrjälä [this message]
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=YiCpR1P8t0dENNU5@intel.com \
--to=ville.syrjala@linux.intel.com \
--cc=intel-gfx@lists.freedesktop.org \
--cc=swathi.dhanavanthri@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.