]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Downgrade incorrect engine constructor usage warnings to development
authorTvrtko Ursulin <tvrtko.ursulin@intel.com>
Fri, 19 Jan 2018 10:00:03 +0000 (10:00 +0000)
committerTvrtko Ursulin <tvrtko.ursulin@intel.com>
Mon, 22 Jan 2018 17:15:20 +0000 (17:15 +0000)
commit26fa5c9cae93bb28fde0654cf08df140dccf6a69
tree6b48b155a8255e8d49077dbffedf355c4fb832a6
parentfb2105bebcc13a831a6f31d959fc3d865f1c1104
drm/i915: Downgrade incorrect engine constructor usage warnings to development

Render engine constructor helpers must only be called from the render
engine constructors, but there is no need to burden the production
binaries with warnings which can only be triggered during development.

Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Cc: Michel Thierry <michel.thierry@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Michel Thierry <michel.thierry@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180119100005.9072-1-tvrtko.ursulin@linux.intel.com
drivers/gpu/drm/i915/intel_engine_cs.c
drivers/gpu/drm/i915/intel_lrc.c