From: Jani Nikula <jani.nikula@intel.com>
To: Imre Deak <imre.deak@intel.com>, intel-gfx@lists.freedesktop.org
Subject: Re: [Intel-gfx] [PATCH v2 4/4] drm/i915: Sanitize the display fused-off check on GEN7/8
Date: Tue, 14 Feb 2023 11:18:36 +0200 [thread overview]
Message-ID: <87lel0txjn.fsf@intel.com> (raw)
In-Reply-To: <20230208114300.3123934-5-imre.deak@intel.com>
On Wed, 08 Feb 2023, Imre Deak <imre.deak@intel.com> wrote:
> Detecting in intel_device_info_runtime_init() that the display is fused
> off or not present should only zero intel_runtime_info::pipe_mask, while
> the other related masks will be accordingly zeroed later in the
> function. Remove the redundant zeroing of the related fields on GEN7/8.
>
> Cc: Jani Nikula <jani.nikula@intel.com>
> Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
> ---
> drivers/gpu/drm/i915/intel_device_info.c | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/i915/intel_device_info.c b/drivers/gpu/drm/i915/intel_device_info.c
> index e07deb4630f97..b9ec184b5aab5 100644
> --- a/drivers/gpu/drm/i915/intel_device_info.c
> +++ b/drivers/gpu/drm/i915/intel_device_info.c
> @@ -465,8 +465,6 @@ void intel_device_info_runtime_init(struct drm_i915_private *dev_priv)
> drm_info(&dev_priv->drm,
> "Display fused off, disabling\n");
> runtime->pipe_mask = 0;
> - runtime->cpu_transcoder_mask = 0;
> - runtime->fbc_mask = 0;
> } else if (fuse_strap & IVB_PIPE_C_DISABLE) {
> drm_info(&dev_priv->drm, "PipeC fused off\n");
> runtime->pipe_mask &= ~BIT(PIPE_C);
--
Jani Nikula, Intel Open Source Graphics Center
next prev parent reply other threads:[~2023-02-14 9:18 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-08 11:42 [Intel-gfx] [PATCH v2 0/4] drm/i915/dg2: Fix platforms without display Imre Deak
2023-02-08 11:42 ` [Intel-gfx] [PATCH v2 1/4] drm/i915: Fix system suspend without fbdev being initialized Imre Deak
2023-02-14 9:17 ` Jani Nikula
2023-02-22 7:58 ` Andrzej Hajda
2023-02-08 11:42 ` [Intel-gfx] [PATCH v2 2/4] drm/i915: Move display power initialization during driver probing later Imre Deak
2023-02-14 9:25 ` Jani Nikula
2023-02-14 14:04 ` Imre Deak
2023-02-14 14:17 ` Jani Nikula
2023-02-15 9:59 ` Imre Deak
2023-02-08 11:42 ` [Intel-gfx] [PATCH v2 3/4] drm/i915/dgfx, mtl+: Disable display functionality if the display is not present Imre Deak
2023-02-14 9:18 ` Jani Nikula
2023-02-08 11:43 ` [Intel-gfx] [PATCH v2 4/4] drm/i915: Sanitize the display fused-off check on GEN7/8 Imre Deak
2023-02-14 9:18 ` Jani Nikula [this message]
2023-02-08 14:30 ` [Intel-gfx] ✗ Fi.CI.SPARSE: warning for drm/i915/dg2: Fix platforms without display Patchwork
2023-02-08 18:58 ` [Intel-gfx] ✓ Fi.CI.BAT: success " Patchwork
2023-02-09 7:26 ` [Intel-gfx] ✓ Fi.CI.IGT: " Patchwork
2023-02-14 16:32 ` [Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915/dg2: Fix platforms without display (rev2) Patchwork
2023-02-14 16:49 ` [Intel-gfx] ✓ Fi.CI.BAT: success " Patchwork
2023-02-15 3:40 ` [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=87lel0txjn.fsf@intel.com \
--to=jani.nikula@intel.com \
--cc=imre.deak@intel.com \
--cc=intel-gfx@lists.freedesktop.org \
/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;
as well as URLs for NNTP newsgroup(s).