Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Rodrigo Vivi <rodrigo.vivi@kernel.org>
To: "José Roberto de Souza" <jose.souza@intel.com>
Cc: intel-xe@lists.freedesktop.org, rodrigo.vivi@intel.com
Subject: Re: [Intel-xe] [PATCH v2 13/15] TEMPORARY: drm/xe/display: Enable modular fia in TGL
Date: Tue, 2 May 2023 15:15:23 -0400	[thread overview]
Message-ID: <ZFFhS3A7HnYd9IVm@rdvivi-mobl4> (raw)
In-Reply-To: <20230425192624.168640-14-jose.souza@intel.com>

On Tue, Apr 25, 2023 at 12:26:22PM -0700, José Roberto de Souza wrote:
> drm-tip don't have has_modular_fia anymore but to backport it to Xe
> would require us to backport several patches, so this patch is
> intended to only live until next Xe rebase.
> 
> TGL is the first platform tha has it, this is needed to properly
> initialize TC ports in some skus.
> Enabling it for DG1 don't cause any issues as DG1 don't have any real
> TC ports, so intel_tc_port_init() will not be called for DG1.
> 
> Signed-off-by: José Roberto de Souza <jose.souza@intel.com>

I would prefer to go without this patch... to avoid temporary patches
and open precedence... but since I'm taking longer than I expected
to start the rebase, let's move with this so we get the proper TC
on some ports like you explained to me in the chat...

I will then remove this on the next rebase.

> ---
>  drivers/gpu/drm/xe/xe_display.c | 5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/xe/xe_display.c b/drivers/gpu/drm/xe/xe_display.c
> index 408bd7c8d1c75..fbae60c179be1 100644
> --- a/drivers/gpu/drm/xe/xe_display.c
> +++ b/drivers/gpu/drm/xe/xe_display.c
> @@ -489,7 +489,10 @@ void xe_display_info_init(struct xe_device *xe)
>  	switch (xe->info.platform) {
>  	case XE_TIGERLAKE:
>  	case XE_DG1:
> -		xe->info.display = (struct xe_device_display_info) { GEN12_DISPLAY };
> +		xe->info.display = (struct xe_device_display_info) {
> +			GEN12_DISPLAY,
> +			.has_modular_fia = 1,
> +		};
>  		break;
>  	case XE_ROCKETLAKE:
>  		xe->info.display = (struct xe_device_display_info) {
> -- 
> 2.40.0
> 

  reply	other threads:[~2023-05-02 19:15 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-25 19:26 [Intel-xe] [PATCH v2 00/15] Display fixes José Roberto de Souza
2023-04-25 19:26 ` [Intel-xe] [PATCH v2 01/15] drm/i915/display: remove intel_display_commit_duplicated_state() José Roberto de Souza
2023-04-25 19:26 ` [Intel-xe] [PATCH v2 02/15] drm/i915/display: start high level display driver file José Roberto de Souza
2023-04-25 19:26 ` [Intel-xe] [PATCH v2 03/15] drm/i915/display: move intel_modeset_probe_defer() to intel_display_driver.[ch] José Roberto de Souza
2023-04-25 19:26 ` [Intel-xe] [PATCH v2 04/15] drm/i915/display: rename intel_modeset_probe_defer() -> intel_display_driver_probe_defer() José Roberto de Souza
2023-04-25 19:26 ` [Intel-xe] [PATCH v2 05/15] drm/i915/display: move modeset probe/remove functions to intel_display_driver.c José Roberto de Souza
2023-04-25 19:26 ` [Intel-xe] [PATCH v2 06/15] drm/i915/display: rename intel_display_driver_* functions José Roberto de Souza
2023-04-25 19:26 ` [Intel-xe] [PATCH v2 07/15] drm/i915/display: add intel_display_reset.[ch] José Roberto de Souza
2023-04-25 19:26 ` [Intel-xe] [PATCH v2 08/15] drm/i915/display: move display suspend/resume to intel_display_driver.[ch] José Roberto de Souza
2023-04-25 19:26 ` [Intel-xe] [PATCH v2 09/15] drm/i915/display: rename intel_display_driver_suspend/resume functions José Roberto de Souza
2023-04-25 19:26 ` [Intel-xe] [PATCH v2 10/15] drm/i915/display: add intel_display_driver_early_probe() José Roberto de Souza
2023-04-25 19:26 ` [Intel-xe] [PATCH v2 11/15] drm/i915: Initialize dkl_phy spin lock from display code path José Roberto de Souza
2023-05-02 19:16   ` [Intel-xe] [Intel-gfx] " Rodrigo Vivi
2023-04-25 19:26 ` [Intel-xe] [PATCH v2 12/15] squash! drm/xe/display: Implement display support José Roberto de Souza
2023-05-03 19:43   ` Rodrigo Vivi
2023-04-25 19:26 ` [Intel-xe] [PATCH v2 13/15] TEMPORARY: drm/xe/display: Enable modular fia in TGL José Roberto de Souza
2023-05-02 19:15   ` Rodrigo Vivi [this message]
2023-04-25 19:26 ` [Intel-xe] [PATCH v2 14/15] drm/xe/display: Disable PSR HW tracking by default in all display versions José Roberto de Souza
2023-05-02 19:13   ` Rodrigo Vivi
2023-04-25 19:26 ` [Intel-xe] [PATCH v2 15/15] drm/xe: Enable Raptorlake-P José Roberto de Souza
2023-04-25 19:29 ` [Intel-xe] ✓ CI.Patch_applied: success for Display fixes (rev3) Patchwork
2023-04-25 19:30 ` [Intel-xe] ✓ CI.KUnit: " Patchwork
2023-04-25 19:34 ` [Intel-xe] ✓ CI.Build: " Patchwork
2023-04-25 19:57 ` [Intel-xe] ○ CI.BAT: info " Patchwork
2023-05-02 19:18 ` [Intel-xe] [PATCH v2 00/15] Display fixes Rodrigo Vivi

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=ZFFhS3A7HnYd9IVm@rdvivi-mobl4 \
    --to=rodrigo.vivi@kernel.org \
    --cc=intel-xe@lists.freedesktop.org \
    --cc=jose.souza@intel.com \
    --cc=rodrigo.vivi@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