From: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com>
To: Jani Nikula <jani.nikula@intel.com>, intel-gfx@lists.freedesktop.org
Subject: Re: [Intel-gfx] [PATCH] drm/i915/overlay: remove redundant GEM_BUG_ON()
Date: Wed, 8 Jun 2022 09:04:20 +0100 [thread overview]
Message-ID: <d2ae121b-e50e-6665-1500-2ef870ea98ac@linux.intel.com> (raw)
In-Reply-To: <20220516081015.1058987-1-jani.nikula@intel.com>
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>
Regards,
Tvrtko
next prev parent reply other threads:[~2022-06-08 8:04 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 ` Tvrtko Ursulin [this message]
2022-06-08 8:47 ` [Intel-gfx] [PATCH] " Jani Nikula
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=d2ae121b-e50e-6665-1500-2ef870ea98ac@linux.intel.com \
--to=tvrtko.ursulin@linux.intel.com \
--cc=intel-gfx@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