summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/intel_mocs.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2018-08-15 21:42:51 +0300
committerChris Wilson <chris@chris-wilson.co.uk>2018-08-16 01:25:43 +0300
commit805615dae0572087d2def1625496a72b8d6dbd25 (patch)
tree26574365fe7c0c7cf54f0ee67e301f90dd1c23fc /drivers/gpu/drm/i915/intel_mocs.h
parentfc0c5a9d1dabba39058e91987766ec24988ae1fa (diff)
downloadlinux-805615dae0572087d2def1625496a72b8d6dbd25.tar.xz
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
Diffstat (limited to 'drivers/gpu/drm/i915/intel_mocs.h')
-rw-r--r--drivers/gpu/drm/i915/intel_mocs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/intel_mocs.h b/drivers/gpu/drm/i915/intel_mocs.h
index d1751f91c1a4..d89080d75b80 100644
--- a/drivers/gpu/drm/i915/intel_mocs.h
+++ b/drivers/gpu/drm/i915/intel_mocs.h
@@ -54,6 +54,6 @@
int intel_rcs_context_init_mocs(struct i915_request *rq);
void intel_mocs_init_l3cc_table(struct drm_i915_private *dev_priv);
-int intel_mocs_init_engine(struct intel_engine_cs *engine);
+void intel_mocs_init_engine(struct intel_engine_cs *engine);
#endif