]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Remove wrong warning from i915_gem_context_clean
authorTvrtko Ursulin <tvrtko.ursulin@intel.com>
Thu, 8 Oct 2015 14:37:00 +0000 (15:37 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 9 Oct 2015 08:19:48 +0000 (10:19 +0200)
commit9f172c420f0d5dcc3d241c898ccab665b8e991cb
tree139309ec82366950600e7aa98634f8fae2a67e66
parent72657a689926bb673236bcf74771a8ce2f33e23f
drm/i915: Remove wrong warning from i915_gem_context_clean

commit cb6909275677e8078af067b40f972df9ad991ac3
Author: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Date:   Mon Oct 5 13:26:36 2015 +0100

    drm/i915: Clean up associated VMAs on context destruction

Introduced a wrong assumption that all contexts have a ppgtt
instance. This is not true when full PPGTT is not active so
remove the WARN_ON_ONCE from the context cleanup code.

Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Cc: Michel Thierry <michel.thierry@intel.com>
Reviewed-by: Michel Thierry <michel.thierry@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_gem_context.c