All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Souza, Jose" <jose.souza@intel.com>
To: "De Marchi, Lucas" <lucas.demarchi@intel.com>
Cc: "intel-xe@lists.freedesktop.org" <intel-xe@lists.freedesktop.org>
Subject: Re: [Intel-xe] [PATCH 3/4] drm/xe/display: Consider has_display to enable it
Date: Thu, 11 May 2023 17:22:34 +0000	[thread overview]
Message-ID: <9d04fce692222624580527c6d07ea88460a32ca7.camel@intel.com> (raw)
In-Reply-To: <njuthgb5uutcknbsxvvvxfx5636bofmwmfyjq6nbxkpbxai4xp@4vwutipfdpd7>

On Thu, 2023-05-11 at 10:12 -0700, Lucas De Marchi wrote:
> On Thu, May 11, 2023 at 12:47:26PM +0000, Jose Souza wrote:
> > On Wed, 2023-05-10 at 12:54 -0700, Lucas De Marchi wrote:
> > > Stop the dance of enabling the display-related driver_features to later
> > > disable them on display info init if the platform doesn't have display
> > > IP. Besides being needless work, it wasn't covering the ATS-M case that
> > > is the same platform as DG2, but without display.
> > 
> > Xe should set pipe_mask = 0 and call i915 functions that will handle no display cases.
> 
> in xe, enable_display is the runtime config to be the equivalent of
> DRM_XE_DISPLAY=n. It is *not* to meant disabling the display.
> 
> history why this ever came to be was:
> 
> 1) display integration back in the day was less than ideal (still is),
>     and developers couldn't test things ignoring display

Xe CI is now testing display, in my opinion this option to disable display should be removed and display support always built.

> 2) have a way to tell the driver "don't ever touch display IP" for
>     bring-up situations.

pipe_mask = 0/HAS_DISPLAY() should take care of it.
developers could force pipe_mask = 0 for giving platform bring-up.

> 
> For (1) we may turn that into "disable display" now, but not for (2).
> 
> I'll take a look on how much work it would be to migrate to a
> disable-display scenario rather than the simple "Fix ats-m" being done
> here.
> 
> Lucas De Marchi


  reply	other threads:[~2023-05-11 17:22 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-10 19:54 [Intel-xe] [PATCH 0/4] Fix display integration for ATS-M Lucas De Marchi
2023-05-10 19:54 ` [Intel-xe] [PATCH 1/4] fixup! drm/xe/display: Implement display support Lucas De Marchi
2023-05-10 21:01   ` Matt Atwood
2023-05-10 19:54 ` [Intel-xe] [PATCH 2/4] drm/xe: Annotate desc of platforms with display Lucas De Marchi
2023-05-10 21:05   ` Matt Atwood
2023-05-10 19:54 ` [Intel-xe] [PATCH 3/4] drm/xe/display: Consider has_display to enable it Lucas De Marchi
2023-05-10 21:07   ` Matt Atwood
2023-05-11 12:47   ` Souza, Jose
2023-05-11 15:34     ` Jani Nikula
2023-05-11 17:12       ` Lucas De Marchi
2023-05-11 17:12     ` Lucas De Marchi
2023-05-11 17:22       ` Souza, Jose [this message]
2023-05-11 18:02         ` Lucas De Marchi
2023-05-11 18:28           ` Lucas De Marchi
2023-05-11 20:03           ` Souza, Jose
2023-05-12  6:59             ` Jani Nikula
2023-05-10 19:54 ` [Intel-xe] [PATCH 4/4] drm/xe/display: Use xe_display_driver prefix Lucas De Marchi
2023-05-10 21:31   ` Matt Atwood
2023-05-10 20:13 ` [Intel-xe] ✓ CI.Patch_applied: success for Fix display integration for ATS-M Patchwork
2023-05-10 20:14 ` [Intel-xe] ✓ CI.KUnit: " Patchwork
2023-05-10 20:18 ` [Intel-xe] ✓ CI.Build: " Patchwork
2023-05-10 20:40 ` [Intel-xe] ○ CI.BAT: info " 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=9d04fce692222624580527c6d07ea88460a32ca7.camel@intel.com \
    --to=jose.souza@intel.com \
    --cc=intel-xe@lists.freedesktop.org \
    --cc=lucas.demarchi@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 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.