All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Ville Syrjälä" <ville.syrjala@linux.intel.com>
To: Chris Wilson <chris@chris-wilson.co.uk>
Cc: intel-gfx@lists.freedesktop.org
Subject: Re: [PATCH 08/10] drm/i915: Move SSEU runtime info to intel_device_runtime_info
Date: Mon, 12 Feb 2018 18:48:48 +0200	[thread overview]
Message-ID: <20180212164848.GP5453@intel.com> (raw)
In-Reply-To: <20180209211654.32043-8-chris@chris-wilson.co.uk>

On Fri, Feb 09, 2018 at 09:16:52PM +0000, Chris Wilson wrote:
> diff --git a/drivers/gpu/drm/i915/intel_device_info.h b/drivers/gpu/drm/i915/intel_device_info.h
> index 8a570f75d67e..d5f34f124e34 100644
> --- a/drivers/gpu/drm/i915/intel_device_info.h
> +++ b/drivers/gpu/drm/i915/intel_device_info.h
> @@ -98,7 +98,6 @@ enum intel_platform {
>  	func(has_logical_ring_contexts); \
>  	func(has_logical_ring_preemption); \
>  	func(has_overlay); \
> -	func(has_pooled_eu); \
>  	func(has_psr); \
>  	func(has_rc6); \
>  	func(has_rc6p); \
> @@ -123,6 +122,7 @@ struct sseu_dev_info {
>  	u8 has_slice_pg:1;
>  	u8 has_subslice_pg:1;
>  	u8 has_eu_pg:1;
> +	u8 has_pooled_eu:1;
>  };
>  
>  struct intel_device_static_info {
> @@ -139,8 +139,6 @@ struct intel_device_static_info {
>  	u32 display_mmio_offset;
>  
>  	u8 num_pipes;
> -	u8 num_sprites[I915_MAX_PIPES];
> -	u8 num_scalers[I915_MAX_PIPES];

num_sprites and num_scalers are actually static information, so we could
consider removing the runtime initialization for them instead.

Not sure what to do with num_sprites actually. We might think about just
removing it entirely, although we'd still want something to figure out
how many planes to initialize. That something could be just a local
variable in the display init code though. Oh, and I suppose the same
could be done for num_scalers since we copy it over into
crtc->num_scalers anyway.

PS. the patch subject is misleading since you do a lot more than the
sseu stuff here.

-- 
Ville Syrjälä
Intel OTC
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

  reply	other threads:[~2018-02-12 16:48 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-09 21:16 [PATCH 01/10] drm/i915: Rename intel_device_info and accessors Chris Wilson
2018-02-09 21:16 ` [PATCH 02/10] drm/i915: Store gen_mask inside the static device info Chris Wilson
2018-02-09 21:16 ` [PATCH 03/10] drm/i915: Store platform_mask " Chris Wilson
2018-02-09 21:16 ` [PATCH 04/10] drm/i915: Move EDRAM capability bits to intel_device_runtime_info Chris Wilson
2018-02-09 21:16 ` [PATCH 05/10] drm/i915: Move PCI-ID from static device info to runtime Chris Wilson
2018-02-09 21:16 ` [PATCH 06/10] drm/i915: Remove a local writable device_info Chris Wilson
2018-02-09 21:16 ` [PATCH 07/10] drm/i915: Disable dynamic setup of device_info->num_rings Chris Wilson
2018-02-09 21:16 ` [PATCH 08/10] drm/i915: Move SSEU runtime info to intel_device_runtime_info Chris Wilson
2018-02-12 16:48   ` Ville Syrjälä [this message]
2018-02-09 21:16 ` [PATCH 09/10] drm/i915: Make a mutable copy of pages_size in intel_driver_caps Chris Wilson
2018-02-09 21:16 ` [PATCH 10/10] drm/i915: Make a mutable copy of intel_device_static_info.has_fbc Chris Wilson
2018-02-12 16:50   ` Ville Syrjälä
2018-02-09 21:37 ` ✗ Fi.CI.BAT: failure for series starting with [01/10] drm/i915: Rename intel_device_info and accessors 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=20180212164848.GP5453@intel.com \
    --to=ville.syrjala@linux.intel.com \
    --cc=chris@chris-wilson.co.uk \
    --cc=intel-gfx@lists.freedesktop.org \
    /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.