drm/i915: Handle error return from dma_set_coherent_mask()
authorImre Deak <imre.deak@intel.com>
Thu, 12 May 2016 13:18:51 +0000 (16:18 +0300)
committerImre Deak <imre.deak@intel.com>
Fri, 13 May 2016 12:17:58 +0000 (15:17 +0300)
commit7d7792e5e2bb5fc176dfb3f56d3c79b9c716519e
treeda7c25690f9a42eaf9997d0d0cf2dd0cbff5e8bd
parentd9a7bc67cb356cf6b5597c0af682df9d13dcb1e5
drm/i915: Handle error return from dma_set_coherent_mask()

A failure from these functions can lead to obscure bugs later, so it's
better not to suppress them and just fail module loading.

Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1463059132-1720-4-git-send-email-imre.deak@intel.com
drivers/gpu/drm/i915/i915_dma.c