drm/i915/overlay: remove redundant GEM_BUG_ON()
There's an early return for !engine->kernel_context. Signed-off-by: Jani Nikula <jani.nikula@intel.com> Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20220516081015.1058987-1-jani.nikula@intel.com
This commit is contained in:
parent
ab9db127ee
commit
eb20cf30c5
1 changed files with 0 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue