From: Jani Nikula <jani.nikula@intel.com>
To: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com>,
intel-gfx@lists.freedesktop.org
Subject: Re: [Intel-gfx] [PATCH] drm/i915/overlay: remove redundant GEM_BUG_ON()
Date: Wed, 08 Jun 2022 11:47:15 +0300 [thread overview]
Message-ID: <87tu8vo830.fsf@intel.com> (raw)
In-Reply-To: <d2ae121b-e50e-6665-1500-2ef870ea98ac@linux.intel.com>
On Wed, 08 Jun 2022, Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com> wrote:
> On 16/05/2022 09:10, Jani Nikula wrote:
>> There's an early return for !engine->kernel_context.
>>
>> Signed-off-by: Jani Nikula <jani.nikula@intel.com>
>> ---
>> drivers/gpu/drm/i915/display/intel_overlay.c | 2 --
>> 1 file changed, 2 deletions(-)
>>
>> diff --git a/drivers/gpu/drm/i915/display/intel_overlay.c b/drivers/gpu/drm/i915/display/intel_overlay.c
>> index ee46561b5ae8..79ed8bd04a07 100644
>> --- a/drivers/gpu/drm/i915/display/intel_overlay.c
>> +++ b/drivers/gpu/drm/i915/display/intel_overlay.c
>> @@ -1399,8 +1399,6 @@ void intel_overlay_setup(struct drm_i915_private *dev_priv)
>>
>> overlay->i915 = dev_priv;
>> overlay->context = engine->kernel_context;
>> - GEM_BUG_ON(!overlay->context);
>> -
>> overlay->color_key = 0x0101fe;
>> overlay->color_key_enabled = true;
>> overlay->brightness = -19;
>
> Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Thanks, pushed to din.
BR,
Jani.
>
> Regards,
>
> Tvrtko
--
Jani Nikula, Intel Open Source Graphics Center
prev parent reply other threads:[~2022-06-08 8:47 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-16 8:10 [Intel-gfx] [PATCH] drm/i915/overlay: remove redundant GEM_BUG_ON() Jani Nikula
2022-05-16 8:56 ` [Intel-gfx] ✓ Fi.CI.BAT: success for " Patchwork
2022-05-16 10:16 ` [Intel-gfx] ✗ Fi.CI.IGT: failure " Patchwork
2022-06-08 8:04 ` [Intel-gfx] [PATCH] " Tvrtko Ursulin
2022-06-08 8:47 ` Jani Nikula [this message]
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=87tu8vo830.fsf@intel.com \
--to=jani.nikula@intel.com \
--cc=intel-gfx@lists.freedesktop.org \
--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.