From: "Ville Syrjälä" <ville.syrjala@linux.intel.com>
To: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com>
Cc: Jani Nikula <jani.nikula@intel.com>, Intel-gfx@lists.freedesktop.org
Subject: Re: [RFC 1/7] drm/i915: Remove has_pooled_eu static initializer
Date: Mon, 12 Nov 2018 19:29:13 +0200 [thread overview]
Message-ID: <20181112172913.GT9144@intel.com> (raw)
In-Reply-To: <20181112171242.7640-2-tvrtko.ursulin@linux.intel.com>
On Mon, Nov 12, 2018 at 05:12:36PM +0000, Tvrtko Ursulin wrote:
> From: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
>
> It is only initialized to zero once so does not need an explicit
> initializer.
>
> Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
> Cc: Chris Wilson <chris@chris-wilson.co.uk>
> Cc: Jani Nikula <jani.nikula@intel.com>
> ---
> drivers/gpu/drm/i915/i915_pci.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/i915/i915_pci.c b/drivers/gpu/drm/i915/i915_pci.c
> index 4ccab8372dd4..e6e7fcdf0ab7 100644
> --- a/drivers/gpu/drm/i915/i915_pci.c
> +++ b/drivers/gpu/drm/i915/i915_pci.c
> @@ -507,7 +507,6 @@ static const struct intel_device_info intel_skylake_gt4_info = {
> .has_fbc = 1, \
> .has_psr = 1, \
> .has_runtime_pm = 1, \
> - .has_pooled_eu = 0, \
> .has_csr = 1, \
> .has_rc6 = 1, \
> .has_dp_mst = 1, \
I'm always a bit wary with the way we inherit these macros. But this
one looks safe since it's only ever unitialized at runtime, and also
this macro (GEN9_LP_FEATURES despite what diff says) doesn't currently
inherit anything.
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
PS. I wonder if there any magic trick we could do to make these
diffs actually legible?
--
Ville Syrjälä
Intel
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
next prev parent reply other threads:[~2018-11-12 17:29 UTC|newest]
Thread overview: 39+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-11-12 17:12 [RFC 0/7] mkwrite_device_info removal Tvrtko Ursulin
2018-11-12 17:12 ` [RFC 1/7] drm/i915: Remove has_pooled_eu static initializer Tvrtko Ursulin
2018-11-12 17:29 ` Ville Syrjälä [this message]
2018-11-12 17:12 ` [RFC 2/7] drm/i915: Introduce runtime device info Tvrtko Ursulin
2018-11-12 17:36 ` Ville Syrjälä
2018-11-13 9:11 ` Tvrtko Ursulin
2018-11-12 17:12 ` [RFC 3/7] drm/i915: Move all runtime modified device info fields into runtime info Tvrtko Ursulin
2018-11-12 17:24 ` Chris Wilson
2018-11-13 9:13 ` Tvrtko Ursulin
2018-11-13 9:42 ` Chris Wilson
2018-11-12 21:22 ` Lucas De Marchi
2018-11-13 9:19 ` Tvrtko Ursulin
2018-11-12 17:12 ` [RFC 4/7] drm/i915: Remove mkwrite_device_info Tvrtko Ursulin
2018-11-12 17:25 ` Chris Wilson
2018-11-13 9:16 ` Tvrtko Ursulin
2018-11-13 11:28 ` Jani Nikula
2018-11-13 11:34 ` Chris Wilson
2018-11-13 11:45 ` Jani Nikula
2018-11-13 11:50 ` Jani Nikula
2018-11-13 11:51 ` Chris Wilson
2018-11-13 17:33 ` Tvrtko Ursulin
2018-11-13 17:40 ` Chris Wilson
2018-11-13 17:15 ` Tvrtko Ursulin
2018-11-12 17:12 ` [RFC 5/7] drm/i915: Move gen and platform mask to runtime device info Tvrtko Ursulin
2018-11-13 11:30 ` Jani Nikula
2018-11-13 11:48 ` Tvrtko Ursulin
2018-11-13 11:58 ` Tvrtko Ursulin
2018-11-12 17:12 ` [RFC 6/7] drm/i915: Introduce subplatform concept Tvrtko Ursulin
2018-11-12 17:29 ` Chris Wilson
2018-11-13 9:17 ` Tvrtko Ursulin
2018-11-13 11:40 ` Jani Nikula
2018-11-13 17:11 ` Tvrtko Ursulin
2018-11-13 22:28 ` Jani Nikula
2018-11-15 11:03 ` Tvrtko Ursulin
2019-03-25 18:00 ` Tvrtko Ursulin
2018-11-12 17:12 ` [RFC 7/7] drm/i915: Remove double underscore from static device info member names Tvrtko Ursulin
2018-11-12 17:34 ` ✗ Fi.CI.CHECKPATCH: warning for mkwrite_device_info removal Patchwork
2018-11-12 17:37 ` ✗ Fi.CI.SPARSE: " Patchwork
2018-11-12 17:50 ` ✗ Fi.CI.BAT: failure " 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=20181112172913.GT9144@intel.com \
--to=ville.syrjala@linux.intel.com \
--cc=Intel-gfx@lists.freedesktop.org \
--cc=jani.nikula@intel.com \
--cc=tvrtko.ursulin@linux.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.