From: Jani Nikula <jani.nikula@intel.com>
To: Lucas De Marchi <lucas.demarchi@intel.com>
Cc: intel-gfx@lists.freedesktop.org
Subject: Re: [Intel-gfx] [PATCH] drm/i915/gt: fix i915_reg_t initialization
Date: Wed, 30 Mar 2022 12:31:09 +0300 [thread overview]
Message-ID: <87a6d7dbxe.fsf@intel.com> (raw)
In-Reply-To: <20220321141532.xz2qvxwucvj3d4hx@ldmartin-desk2>
On Mon, 21 Mar 2022, Lucas De Marchi <lucas.demarchi@intel.com> wrote:
> On Mon, Mar 21, 2022 at 03:59:55PM +0200, Jani Nikula wrote:
>>The initialization is there only to silence the compiler, but use the
>>correct initializer for i915_reg_t.
>>
>>Cc: Lucas De Marchi <lucas.demarchi@intel.com>
>>Signed-off-by: Jani Nikula <jani.nikula@intel.com>
>
>
> Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
Thanks, pushed a while back.
BR,
Jani.
>
> Lucas De Marchi
>
>>---
>> drivers/gpu/drm/i915/gt/intel_ring_submission.c | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>
>>diff --git a/drivers/gpu/drm/i915/gt/intel_ring_submission.c b/drivers/gpu/drm/i915/gt/intel_ring_submission.c
>>index 6d7ec3bf1f32..5423bfd301ad 100644
>>--- a/drivers/gpu/drm/i915/gt/intel_ring_submission.c
>>+++ b/drivers/gpu/drm/i915/gt/intel_ring_submission.c
>>@@ -767,7 +767,7 @@ static int mi_set_context(struct i915_request *rq,
>> if (GRAPHICS_VER(i915) == 7) {
>> if (num_engines) {
>> struct intel_engine_cs *signaller;
>>- i915_reg_t last_reg = {}; /* keep gcc quiet */
>>+ i915_reg_t last_reg = INVALID_MMIO_REG; /* keep gcc quiet */
>>
>> *cs++ = MI_LOAD_REGISTER_IMM(num_engines);
>> for_each_engine(signaller, engine->gt, id) {
>>--
>>2.30.2
>>
--
Jani Nikula, Intel Open Source Graphics Center
next prev parent reply other threads:[~2022-03-30 9:31 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-21 13:59 [Intel-gfx] [PATCH] drm/i915/gt: fix i915_reg_t initialization Jani Nikula
2022-03-21 14:15 ` Lucas De Marchi
2022-03-30 9:31 ` Jani Nikula [this message]
2022-03-21 21:14 ` [Intel-gfx] ✓ Fi.CI.BAT: success for " Patchwork
2022-03-22 6:52 ` [Intel-gfx] ✗ Fi.CI.IGT: 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=87a6d7dbxe.fsf@intel.com \
--to=jani.nikula@intel.com \
--cc=intel-gfx@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.