From: Ville Syrjala <ville.syrjala@linux.intel.com> To: intel-gfx@lists.freedesktop.org Cc: stable@vger.kernel.org, Daniel Drake <drake@endlessm.com>, Paulo Zanoni <paulo.r.zanoni@intel.com>, Jian-Hong Pan <jian-hong@endlessm.com>, Maarten Lankhorst <maarten.lankhorst@linux.intel.com> Subject: [PATCH v2 01/14] drm/i915/fbc: Disable fbc by default on all glk+ Date: Wed, 27 Nov 2019 22:12:09 +0200 [thread overview] Message-ID: <20191127201222.16669-2-ville.syrjala@linux.intel.com> (raw) In-Reply-To: <20191127201222.16669-1-ville.syrjala@linux.intel.com> From: Ville Syrjälä <ville.syrjala@linux.intel.com> We're missing a workaround in the fbc code for all glk+ platforms which can cause corruption around the top of the screen. So enabling fbc by default is a bad idea. I'm not keen to backport the w/a so let's start by disabling fbc by default on all glk+. We'll lift the restriction once the w/a is in place. Cc: stable@vger.kernel.org Cc: Daniel Drake <drake@endlessm.com> Cc: Paulo Zanoni <paulo.r.zanoni@intel.com> Cc: Jian-Hong Pan <jian-hong@endlessm.com> Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> --- drivers/gpu/drm/i915/display/intel_fbc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/display/intel_fbc.c b/drivers/gpu/drm/i915/display/intel_fbc.c index 92c7eb243559..3cc1f4b4b5a3 100644 --- a/drivers/gpu/drm/i915/display/intel_fbc.c +++ b/drivers/gpu/drm/i915/display/intel_fbc.c @@ -1284,7 +1284,7 @@ static int intel_sanitize_fbc_option(struct drm_i915_private *dev_priv) return 0; /* https://bugs.freedesktop.org/show_bug.cgi?id=108085 */ - if (IS_GEMINILAKE(dev_priv)) + if (INTEL_GEN(dev_priv) >= 10 || IS_GEMINILAKE(dev_priv)) return 0; if (IS_BROADWELL(dev_priv) || INTEL_GEN(dev_priv) >= 9) -- 2.23.0
WARNING: multiple messages have this Message-ID (diff)
From: Ville Syrjala <ville.syrjala@linux.intel.com> To: intel-gfx@lists.freedesktop.org Cc: Jian-Hong Pan <jian-hong@endlessm.com>, Paulo Zanoni <paulo.r.zanoni@intel.com>, stable@vger.kernel.org, Daniel Drake <drake@endlessm.com> Subject: [Intel-gfx] [PATCH v2 01/14] drm/i915/fbc: Disable fbc by default on all glk+ Date: Wed, 27 Nov 2019 22:12:09 +0200 [thread overview] Message-ID: <20191127201222.16669-2-ville.syrjala@linux.intel.com> (raw) Message-ID: <20191127201209.GJzitMXeLvt_KpGRPlYc0ck-xPR1pNmsjPC8HbIZ3DI@z> (raw) In-Reply-To: <20191127201222.16669-1-ville.syrjala@linux.intel.com> From: Ville Syrjälä <ville.syrjala@linux.intel.com> We're missing a workaround in the fbc code for all glk+ platforms which can cause corruption around the top of the screen. So enabling fbc by default is a bad idea. I'm not keen to backport the w/a so let's start by disabling fbc by default on all glk+. We'll lift the restriction once the w/a is in place. Cc: stable@vger.kernel.org Cc: Daniel Drake <drake@endlessm.com> Cc: Paulo Zanoni <paulo.r.zanoni@intel.com> Cc: Jian-Hong Pan <jian-hong@endlessm.com> Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> --- drivers/gpu/drm/i915/display/intel_fbc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/display/intel_fbc.c b/drivers/gpu/drm/i915/display/intel_fbc.c index 92c7eb243559..3cc1f4b4b5a3 100644 --- a/drivers/gpu/drm/i915/display/intel_fbc.c +++ b/drivers/gpu/drm/i915/display/intel_fbc.c @@ -1284,7 +1284,7 @@ static int intel_sanitize_fbc_option(struct drm_i915_private *dev_priv) return 0; /* https://bugs.freedesktop.org/show_bug.cgi?id=108085 */ - if (IS_GEMINILAKE(dev_priv)) + if (INTEL_GEN(dev_priv) >= 10 || IS_GEMINILAKE(dev_priv)) return 0; if (IS_BROADWELL(dev_priv) || INTEL_GEN(dev_priv) >= 9) -- 2.23.0 _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/intel-gfx
next prev parent reply other threads:[~2019-11-27 20:12 UTC|newest] Thread overview: 54+ messages / expand[flat|nested] mbox.gz Atom feed top 2019-11-27 20:12 [PATCH v2 00/14] drm/i915/fbc: Fix FBC for glk+ Ville Syrjala 2019-11-27 20:12 ` [Intel-gfx] " Ville Syrjala 2019-11-27 20:12 ` Ville Syrjala [this message] 2019-11-27 20:12 ` [Intel-gfx] [PATCH v2 01/14] drm/i915/fbc: Disable fbc by default on all glk+ Ville Syrjala 2019-11-29 18:34 ` Sasha Levin 2019-11-29 18:34 ` [Intel-gfx] " Sasha Levin 2019-11-27 20:12 ` [PATCH v2 02/14] drm/i915/fbc: Nuke bogus single pipe fbc1 restriction Ville Syrjala 2019-11-27 20:12 ` [Intel-gfx] " Ville Syrjala 2019-11-27 20:12 ` [PATCH v2 03/14] drm/i915: Relocate intel_crtc_active() Ville Syrjala 2019-11-27 20:12 ` [Intel-gfx] " Ville Syrjala 2019-11-27 20:12 ` [PATCH v2 04/14] drm/i915/fbc: Remove the FBC_RT_BASE setup for ILK/SNB Ville Syrjala 2019-11-27 20:12 ` [Intel-gfx] " Ville Syrjala 2019-11-27 20:12 ` [PATCH v2 05/14] drm/i915/fbc: Precompute gen9 cfb stride w/a Ville Syrjala 2019-11-27 20:12 ` [Intel-gfx] " Ville Syrjala 2019-11-27 20:12 ` [PATCH v2 06/14] drm/i915/fbc: Track plane visibility Ville Syrjala 2019-11-27 20:12 ` [Intel-gfx] " Ville Syrjala 2019-11-27 20:12 ` [PATCH v2 07/14] drm/i915/fbc: Store fence_id direction in fbc cache/params Ville Syrjala 2019-11-27 20:12 ` [Intel-gfx] " Ville Syrjala 2019-11-27 20:12 ` [PATCH v2 08/14] drm/i915/fbc: Make fence_id optional for i965gm Ville Syrjala 2019-11-27 20:12 ` [Intel-gfx] " Ville Syrjala 2019-11-27 20:12 ` [PATCH v2 09/14] drm/i915/fbc: s/gen9 && !glk/gen9_bc || bxt/ Ville Syrjala 2019-11-27 20:12 ` [Intel-gfx] " Ville Syrjala 2019-11-27 20:12 ` [PATCH v2 10/14] drm/i915/fbc: Nuke fbc.enabled Ville Syrjala 2019-11-27 20:12 ` [Intel-gfx] " Ville Syrjala 2019-11-27 20:12 ` [PATCH v2 11/14] drm/i915/fbc: Start using flip nuke Ville Syrjala 2019-11-27 20:12 ` [Intel-gfx] " Ville Syrjala 2019-11-27 20:12 ` [PATCH v2 12/14] drm/i915/fbc: Wait for vblank after FBC disable on glk+ Ville Syrjala 2019-11-27 20:12 ` [Intel-gfx] " Ville Syrjala 2019-11-28 15:03 ` [PATCH v3 " Ville Syrjala 2019-11-28 15:03 ` [Intel-gfx] " Ville Syrjala 2019-11-27 20:12 ` [PATCH v2 13/14] drm/i915/fbc: Enable fbc by default on glk+ once again Ville Syrjala 2019-11-27 20:12 ` [Intel-gfx] " Ville Syrjala 2019-11-27 20:12 ` [PATCH v2 14/14] drm/i915/fbc: Reallocate cfb if we need more of it Ville Syrjala 2019-11-27 20:12 ` [Intel-gfx] " Ville Syrjala 2019-11-28 15:48 ` Maarten Lankhorst 2019-11-28 15:48 ` [Intel-gfx] " Maarten Lankhorst 2019-11-28 15:59 ` Ville Syrjälä 2019-11-28 15:59 ` [Intel-gfx] " Ville Syrjälä 2019-11-29 8:48 ` Maarten Lankhorst 2019-11-29 8:48 ` [Intel-gfx] " Maarten Lankhorst 2019-11-29 11:37 ` Ville Syrjälä 2019-11-29 11:37 ` [Intel-gfx] " Ville Syrjälä 2019-12-03 8:45 ` Maarten Lankhorst 2019-12-03 8:45 ` [Intel-gfx] " Maarten Lankhorst 2019-12-03 13:04 ` Ville Syrjälä 2019-12-09 14:17 ` Ville Syrjälä 2019-11-27 23:15 ` ✗ Fi.CI.BAT: failure for drm/i915/fbc: Fix FBC for glk+ (rev4) Patchwork 2019-11-27 23:15 ` [Intel-gfx] " Patchwork 2019-11-28 1:33 ` [PATCH v2 00/14] drm/i915/fbc: Fix FBC for glk+ Daniel Drake 2019-11-28 1:33 ` [Intel-gfx] " Daniel Drake 2019-11-28 18:02 ` ✓ Fi.CI.BAT: success for drm/i915/fbc: Fix FBC for glk+ (rev5) Patchwork 2019-11-28 18:02 ` [Intel-gfx] " Patchwork 2019-11-29 23:51 ` ✓ Fi.CI.IGT: " Patchwork 2019-11-29 23:51 ` [Intel-gfx] " 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=20191127201222.16669-2-ville.syrjala@linux.intel.com \ --to=ville.syrjala@linux.intel.com \ --cc=drake@endlessm.com \ --cc=intel-gfx@lists.freedesktop.org \ --cc=jian-hong@endlessm.com \ --cc=maarten.lankhorst@linux.intel.com \ --cc=paulo.r.zanoni@intel.com \ --cc=stable@vger.kernel.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: linkBe 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.