]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Remove useless error return from intel_init_mocs_engine()
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 15 Aug 2018 18:42:51 +0000 (19:42 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 15 Aug 2018 22:25:43 +0000 (23:25 +0100)
commit805615dae0572087d2def1625496a72b8d6dbd25
tree26574365fe7c0c7cf54f0ee67e301f90dd1c23fc
parentfc0c5a9d1dabba39058e91987766ec24988ae1fa
drm/i915: Remove useless error return from intel_init_mocs_engine()

As the only error is for a programming error in constructing the static
tables describing the register values, replace the error code
propagation with an assert.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180815184251.5850-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/intel_lrc.c
drivers/gpu/drm/i915/intel_mocs.c
drivers/gpu/drm/i915/intel_mocs.h