From: "Ville Syrjälä" <ville.syrjala@linux.intel.com>
To: Arun R Murthy <arun.r.murthy@intel.com>
Cc: intel-gfx@lists.freedesktop.org
Subject: Re: [Intel-gfx] [PATCH] drm/i915/fbc: Disable FBC when VT-d is enabled for Gen9
Date: Tue, 22 Nov 2022 13:13:34 +0200 [thread overview]
Message-ID: <Y3yu3lbs6mnzgXv7@intel.com> (raw)
In-Reply-To: <20221121091855.3562288-1-arun.r.murthy@intel.com>
On Mon, Nov 21, 2022 at 02:48:55PM +0530, Arun R Murthy wrote:
> The WaFbcTurnOffFbcWhenHyperVisorIsUsed is applicable for all GEN9
> platforms as per BspecID: 0852
No. It says it was broken on kbl/cnl A-step.
>
> Signed-off-by: Arun R Murthy <arun.r.murthy@intel.com>
> ---
> drivers/gpu/drm/i915/display/intel_fbc.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/i915/display/intel_fbc.c b/drivers/gpu/drm/i915/display/intel_fbc.c
> index b5ee5ea0d010..efd5659b3b60 100644
> --- a/drivers/gpu/drm/i915/display/intel_fbc.c
> +++ b/drivers/gpu/drm/i915/display/intel_fbc.c
> @@ -1652,9 +1652,9 @@ static int intel_sanitize_fbc_option(struct drm_i915_private *i915)
>
> static bool need_fbc_vtd_wa(struct drm_i915_private *i915)
> {
> - /* WaFbcTurnOffFbcWhenHyperVisorIsUsed:skl,bxt */
> + /* WaFbcTurnOffFbcWhenHyperVisorIsUsed:skl,bxt,cnl,kbl */
> if (i915_vtd_active(i915) &&
> - (IS_SKYLAKE(i915) || IS_BROXTON(i915))) {
> + (DISPLAY_VER(i915) == 9) || DISPLAY_VER(i915) == 10) {
> drm_info(&i915->drm,
> "Disabling framebuffer compression (FBC) to prevent screen flicker with VT-d enabled\n");
> return true;
> --
> 2.25.1
--
Ville Syrjälä
Intel
next prev parent reply other threads:[~2022-11-22 11:13 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-21 9:18 [Intel-gfx] [PATCH] drm/i915/fbc: Disable FBC when VT-d is enabled for Gen9 Arun R Murthy
2022-11-21 11:18 ` Jani Nikula
2022-11-21 11:46 ` [Intel-gfx] [PATCH] drm/i915/fbc: Disable FBC when VT-d is enabled Arun R Murthy
2022-11-21 22:10 ` [Intel-gfx] [PATCH] drm/i915/fbc: Disable FBC when VT-d is enabled for Gen9 kernel test robot
2022-11-22 0:21 ` kernel test robot
2022-11-22 4:54 ` kernel test robot
2022-11-22 11:13 ` Ville Syrjälä [this message]
-- strict thread matches above, loose matches on Subject: below --
2022-11-21 5:49 [Intel-gfx] [PATCH 0/1] Async on Linear buffer Arun R Murthy
2022-11-21 5:49 ` [Intel-gfx] [PATCH] drm/i915/fbc: Disable FBC when VT-d is enabled for Gen9 Arun R Murthy
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=Y3yu3lbs6mnzgXv7@intel.com \
--to=ville.syrjala@linux.intel.com \
--cc=arun.r.murthy@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