]> 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)
commit01f9b989c3d4af489dd13f3566cecbf1126b38f0
tree6b48b155a8255e8d49077dbffedf355c4fb832a6
parentc54f5f90e28dae2ab2debe76d0fed23193f4fedd
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