Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Souza, Jose" <jose.souza@intel.com>
To: "intel-xe@lists.freedesktop.org" <intel-xe@lists.freedesktop.org>,
	"Nikula, Jani" <jani.nikula@intel.com>
Subject: Re: [PATCH] drm/xe: remove unused struct xe_device members
Date: Thu, 21 Mar 2024 19:10:21 +0000	[thread overview]
Message-ID: <e8feb9d32ad698a111acd6ee475ee304b5893db4.camel@intel.com> (raw)
In-Reply-To: <20240321161548.3509672-1-jani.nikula@intel.com>

On Thu, 2024-03-21 at 18:15 +0200, Jani Nikula wrote:
> modeset_restore_state has been unused since commit 6af0ffc0db93
> ("drm/i915/display: move restore state and ctx under display
> sub-struct").
> 
> member global_obj_list has been unused since commit e2925e19c006
> ("drm/i915/display: move global_obj_list under display sub-struct").
> 
> hti_state has been unused since commit 62749912540b ("drm/i915/display:
> move hti under display sub-struct").
> 
> snps_phy_failed_calibration has been unused since commit 3a7e2d58f800
> ("drm/i915: move snps_phy_failed_calibration to display sub-struct under
> snps").
> 

Reviewed-by: José Roberto de Souza <jose.souza@intel.com>

> Signed-off-by: Jani Nikula <jani.nikula@intel.com>
> ---
>  drivers/gpu/drm/xe/xe_device_types.h | 5 +----
>  1 file changed, 1 insertion(+), 4 deletions(-)
> 
> diff --git a/drivers/gpu/drm/xe/xe_device_types.h b/drivers/gpu/drm/xe/xe_device_types.h
> index 9785eef2e5a4..1df3dcc17d75 100644
> --- a/drivers/gpu/drm/xe/xe_device_types.h
> +++ b/drivers/gpu/drm/xe/xe_device_types.h
> @@ -498,10 +498,7 @@ struct xe_device {
>  	struct mutex sb_lock;
>  
>  	/* Should be in struct intel_display */
> -	u32 skl_preferred_vco_freq, max_dotclk_freq, hti_state;
> -	u8 snps_phy_failed_calibration;
> -	struct drm_atomic_state *modeset_restore_state;
> -	struct list_head global_obj_list;
> +	u32 skl_preferred_vco_freq, max_dotclk_freq;
>  
>  	union {
>  		/* only to allow build, not used functionally */


  parent reply	other threads:[~2024-03-21 19:10 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-21 16:15 [PATCH] drm/xe: remove unused struct xe_device members Jani Nikula
2024-03-21 18:52 ` ✓ CI.Patch_applied: success for " Patchwork
2024-03-21 18:52 ` ✗ CI.checkpatch: warning " Patchwork
2024-03-21 18:53 ` ✓ CI.KUnit: success " Patchwork
2024-03-21 19:04 ` ✓ CI.Build: " Patchwork
2024-03-21 19:06 ` ✓ CI.Hooks: " Patchwork
2024-03-21 19:08 ` ✓ CI.checksparse: " Patchwork
2024-03-21 19:10 ` Souza, Jose [this message]
2024-03-22 10:05   ` [PATCH] " Jani Nikula
2024-03-21 19:30 ` ✓ CI.BAT: success for " 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=e8feb9d32ad698a111acd6ee475ee304b5893db4.camel@intel.com \
    --to=jose.souza@intel.com \
    --cc=intel-xe@lists.freedesktop.org \
    --cc=jani.nikula@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