From: "Souza, Jose" <jose.souza@intel.com>
To: "juhapekka.heikkila@gmail.com" <juhapekka.heikkila@gmail.com>,
"intel-gfx@lists.freedesktop.org"
<intel-gfx@lists.freedesktop.org>
Cc: "jani.nikula@linux.intel.com" <jani.nikula@linux.intel.com>
Subject: Re: [PATCH] drm/i915/display: Disable AuxCCS framebuffers if built for Xe
Date: Fri, 2 Feb 2024 20:51:29 +0000 [thread overview]
Message-ID: <17a867f9176dac4c29cbc4c78785884fed5199ac.camel@intel.com> (raw)
In-Reply-To: <6e06b068a1a9bef7baa7da6536c5c8846a9f127d.camel@intel.com>
On Thu, 2024-01-25 at 08:07 -0800, José Roberto de Souza wrote:
> On Thu, 2024-01-25 at 17:56 +0200, Juha-Pekka Heikkila wrote:
> > On 25.1.2024 17.28, Souza, Jose wrote:
> > > On Thu, 2024-01-25 at 17:25 +0200, Juha-Pekka Heikkila wrote:
> > > > AuxCCS framebuffers don't work on Xe driver hence disable them
> > > > from plane capabilities until they are fixed. FlatCCS framebuffers
> > > > work and they are left enabled. CCS is left untouched for i915
> > > > deriver.
> > > >
> > > > Closes: https://gitlab.freedesktop.org/drm/xe/kernel/-/issues/933
> > > > Signed-off-by: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
> > > > ---
> > > > drivers/gpu/drm/i915/display/skl_universal_plane.c | 8 ++++++++
> > > > 1 file changed, 8 insertions(+)
> > > >
> > > > diff --git a/drivers/gpu/drm/i915/display/skl_universal_plane.c b/drivers/gpu/drm/i915/display/skl_universal_plane.c
> > > > index 511dc1544854..1521d829525a 100644
> > > > --- a/drivers/gpu/drm/i915/display/skl_universal_plane.c
> > > > +++ b/drivers/gpu/drm/i915/display/skl_universal_plane.c
> > > > @@ -2290,6 +2290,14 @@ static u8 skl_get_plane_caps(struct drm_i915_private *i915,
> > > > if (HAS_4TILE(i915))
> > > > caps |= INTEL_PLANE_CAP_TILING_4;
> > > >
> > > > + /*
> > > > + * FIXME: Below if(IS_ENABLED(CONFIG_I915)..) is because Xe driver
> > > > + * can't use AuxCCS framebuffers. Once they are fixed this need to be
> > > > + * removed.
> > > > + */
> > > > + if (!IS_ENABLED(CONFIG_I915) && !HAS_FLAT_CCS(i915))
> > > > + return caps;
> > > > +
> > >
> > > functional but looks odd.
> > > would rather add a check inside of gen12_plane_has_mc_ccs() or 'if ((!IS_ENABLED(CONFIG_I915) && !HAS_FLAT_CCS(i915)) && gen12_plane_has_mc_ccs(i915,
> > > plane_id))'
> >
> > Hi Jose,
> >
> > not sure I understood your idea. Here need to be disabled all versions
> > of aux ccs for Xe, not just mc ccs.
>
> ah misplace this this...please ignore.
>
> this is fine for something that will be fixed soon.
>
> Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
ping!
something is holding from being merged?
>
>
>
> >
> > >
> > > > if (skl_plane_has_rc_ccs(i915, pipe, plane_id)) {
> > > > caps |= INTEL_PLANE_CAP_CCS_RC;
> > > > if (DISPLAY_VER(i915) >= 12)
> > >
> >
>
next prev parent reply other threads:[~2024-02-02 20:51 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-25 15:25 [PATCH] drm/i915/display: Disable AuxCCS framebuffers if built for Xe Juha-Pekka Heikkila
2024-01-25 15:28 ` Souza, Jose
2024-01-25 15:56 ` Juha-Pekka Heikkila
2024-01-25 16:07 ` Souza, Jose
2024-02-02 20:51 ` Souza, Jose [this message]
2024-02-05 10:00 ` Juha-Pekka Heikkila
2024-01-25 16:00 ` ✓ Fi.CI.BAT: success for " Patchwork
2024-01-25 17:23 ` ✗ Fi.CI.IGT: failure " Patchwork
-- strict thread matches above, loose matches on Subject: below --
2024-02-26 20:36 [PATCH] " Juha-Pekka Heikkila
2024-02-27 8:57 ` Jani Nikula
2024-02-28 14:02 Juha-Pekka Heikkila
2024-02-28 14:04 ` Souza, Jose
2024-02-29 16:44 ` Souza, Jose
2024-02-29 17:36 ` Souza, Jose
2024-03-05 16:44 ` Jani Nikula
2025-01-28 13:08 ` Tvrtko Ursulin
2025-01-28 15:55 ` Juha-Pekka Heikkilä
2025-01-29 8:44 ` Tvrtko Ursulin
2025-01-29 15:20 ` Juha-Pekka Heikkilä
2024-03-06 13:57 ` Souza, Jose
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=17a867f9176dac4c29cbc4c78785884fed5199ac.camel@intel.com \
--to=jose.souza@intel.com \
--cc=intel-gfx@lists.freedesktop.org \
--cc=jani.nikula@linux.intel.com \
--cc=juhapekka.heikkila@gmail.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