From: Rodrigo Vivi <rodrigo.vivi@intel.com>
To: "Piotr Piórkowski" <piotr.piorkowski@intel.com>
Cc: "Satyanarayana K V P" <satyanarayana.k.v.p@intel.com>,
intel-xe@lists.freedesktop.org,
"Michal Wajdeczko" <michal.wajdeczko@intel.com>,
"Michał Winiarski" <michal.winiarski@intel.com>
Subject: Re: [PATCH] drm/xe/pf: Disable display in admin only PF mode
Date: Mon, 13 Jul 2026 11:41:50 -0400 [thread overview]
Message-ID: <alUHPv-03v0Jg-5g@intel.com> (raw)
In-Reply-To: <20260615082147.hikfrzt3c7tpgqtt@intel.com>
On Mon, Jun 15, 2026 at 10:21:47AM +0200, Piotr Piórkowski wrote:
> Piotr Piórkowski <piotr.piorkowski@intel.com> wrote on czw [2026-cze-11 16:21:27 +0200]:
> > Satyanarayana K V P <satyanarayana.k.v.p@intel.com> wrote on czw [2026-cze-11 12:42:06 +0000]:
> > > Admin-only PF mode does not expose media or 3D execution capabilities
> > > to userspace, so display pipelines cannot receive rendered content.
> > >
> > > Fixes: d88c4bac8c2a ("drm/xe/pf: Restrict device query responses in admin-only PF mode")
> > >
> > > Signed-off-by: Satyanarayana K V P <satyanarayana.k.v.p@intel.com>
> > > Cc: Michal Wajdeczko <michal.wajdeczko@intel.com>
> > > Cc: Piotr Piórkowski <piotr.piorkowski@intel.com>
> > > Cc: Michał Winiarski <michal.winiarski@intel.com>
> > > Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
> > > ---
> > > drivers/gpu/drm/xe/xe_device.c | 2 --
> > > drivers/gpu/drm/xe/xe_pci.c | 4 +++-
> > > 2 files changed, 3 insertions(+), 3 deletions(-)
> > >
> > > diff --git a/drivers/gpu/drm/xe/xe_device.c b/drivers/gpu/drm/xe/xe_device.c
> > > index 51e3a2dd7b22..9c02e0e314c7 100644
> > > --- a/drivers/gpu/drm/xe/xe_device.c
> > > +++ b/drivers/gpu/drm/xe/xe_device.c
> > > @@ -426,7 +426,6 @@ static const struct drm_ioctl_desc xe_ioctls_admin_only[] = {
> > >
> > > static const struct drm_driver admin_only_driver = {
> > > .driver_features =
> > > - XE_DISPLAY_DRIVER_FEATURES |
> > > DRIVER_GEM | DRIVER_RENDER,
> > > .open = xe_file_open,
> > > .postclose = xe_file_close,
> > > @@ -438,7 +437,6 @@ static const struct drm_driver admin_only_driver = {
> > > .major = DRIVER_MAJOR,
> > > .minor = DRIVER_MINOR,
> > > .patchlevel = DRIVER_PATCHLEVEL,
> > > - XE_DISPLAY_DRIVER_OPS,
> > > };
> > >
> > > /**
> > > diff --git a/drivers/gpu/drm/xe/xe_pci.c b/drivers/gpu/drm/xe/xe_pci.c
> > > index 78fc2e4dcfc6..6fd882443fa5 100644
> > > --- a/drivers/gpu/drm/xe/xe_pci.c
> > > +++ b/drivers/gpu/drm/xe/xe_pci.c
> > > @@ -789,7 +789,9 @@ static int xe_info_init_early(struct xe_device *xe,
> > >
> > > xe->info.probe_display = IS_ENABLED(CONFIG_DRM_XE_DISPLAY) &&
> > > xe_modparam.probe_display &&
> > > - desc->has_display;
> > > + desc->has_display &&
> > > + !xe_device_is_admin_only(xe);
> > > +
> > > xe->info.force_execlist = xe_modparam.force_execlist;
> > >
> > > xe_assert(xe, desc->max_gt_per_tile > 0);
> > > --
> > > 2.43.0
> > >
> >
> > LGTM: Reviewed-by: Piotr Piórkowski <piotr.piorkowski@intel.com>
>
> To make patchwork happy:
> Reviewed-by: Piotr Piórkowski <piotr.piorkowski@intel.com>
Sorry for the delay here.
I was going to merge it right now, but I got a conflict.
Could you please rebase and resend it?
Thanks,
Rodrigo.
>
> >
> >
> > --
>
> --
next prev parent reply other threads:[~2026-07-13 15:41 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-11 12:42 [PATCH] drm/xe/pf: Disable display in admin only PF mode Satyanarayana K V P
2026-06-11 13:26 ` ✓ CI.KUnit: success for " Patchwork
2026-06-11 14:11 ` ✓ Xe.CI.BAT: " Patchwork
2026-06-11 14:21 ` [PATCH] " Piotr Piórkowski
2026-06-15 8:21 ` Piotr Piórkowski
2026-07-13 15:41 ` Rodrigo Vivi [this message]
2026-06-12 2:24 ` ✓ Xe.CI.FULL: success for " Patchwork
2026-06-18 12:38 ` [PATCH] " Jani Nikula
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=alUHPv-03v0Jg-5g@intel.com \
--to=rodrigo.vivi@intel.com \
--cc=intel-xe@lists.freedesktop.org \
--cc=michal.wajdeczko@intel.com \
--cc=michal.winiarski@intel.com \
--cc=piotr.piorkowski@intel.com \
--cc=satyanarayana.k.v.p@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