]> 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)
commite4146b9b66eb3032eb36fdc9058bd018d12dd95b
tree26574365fe7c0c7cf54f0ee67e301f90dd1c23fc
parentcd0eabb2ebe4216d60ea820169517a3585b02c29
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