From: "Shankar, Uma" <uma.shankar@intel.com>
To: Ville Syrjala <ville.syrjala@linux.intel.com>,
"intel-gfx@lists.freedesktop.org"
<intel-gfx@lists.freedesktop.org>
Subject: Re: [Intel-gfx] [PATCH] drm/i915/fbc: Allow FBC with Yf tiling
Date: Mon, 27 Sep 2021 15:16:13 +0000 [thread overview]
Message-ID: <1e066583caf64c439fea897d81f22412@intel.com> (raw)
In-Reply-To: <20210924141330.1515-1-ville.syrjala@linux.intel.com>
> -----Original Message-----
> From: Ville Syrjala <ville.syrjala@linux.intel.com>
> Sent: Friday, September 24, 2021 7:44 PM
> To: intel-gfx@lists.freedesktop.org
> Cc: Shankar, Uma <uma.shankar@intel.com>
> Subject: [PATCH] drm/i915/fbc: Allow FBC with Yf tiling
>
> From: Ville Syrjälä <ville.syrjala@linux.intel.com>
>
> FBC+Yf tiling seems to work just fine, and unlike with linear
> the hardware does appear to correctly calculate the CFB stride with using the
> override stride on both cfl and glk. So no need for any additional tweaks.
Looks Good to me.
Reviewed-by: Uma Shankar <uma.shankar@intel.com>
> Cc: Uma Shankar <uma.shankar@intel.com> #v2
> Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
> ---
> drivers/gpu/drm/i915/display/intel_fbc.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/gpu/drm/i915/display/intel_fbc.c
> b/drivers/gpu/drm/i915/display/intel_fbc.c
> index 46f62fdf9eee..687431faf02f 100644
> --- a/drivers/gpu/drm/i915/display/intel_fbc.c
> +++ b/drivers/gpu/drm/i915/display/intel_fbc.c
> @@ -746,6 +746,7 @@ static bool tiling_is_valid(struct drm_i915_private *dev_priv,
> switch (modifier) {
> case DRM_FORMAT_MOD_LINEAR:
> case I915_FORMAT_MOD_Y_TILED:
> + case I915_FORMAT_MOD_Yf_TILED:
> return DISPLAY_VER(dev_priv) >= 9;
> case I915_FORMAT_MOD_X_TILED:
> return true;
> --
> 2.32.0
prev parent reply other threads:[~2021-09-27 15:16 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-24 14:13 [Intel-gfx] [PATCH] drm/i915/fbc: Allow FBC with Yf tiling Ville Syrjala
2021-09-24 16:51 ` [Intel-gfx] ✓ Fi.CI.BAT: success for " Patchwork
2021-09-24 19:38 ` [Intel-gfx] ✗ Fi.CI.IGT: failure " Patchwork
2021-09-27 15:16 ` Shankar, Uma [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=1e066583caf64c439fea897d81f22412@intel.com \
--to=uma.shankar@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox