drm/i915: return -EIO on lmem setup failure
authorNirmoy Das <nirmoy.das@intel.com>
Wed, 11 May 2022 15:37:44 +0000 (17:37 +0200)
committerMatthew Auld <matthew.auld@intel.com>
Tue, 17 May 2022 08:34:30 +0000 (09:34 +0100)
commitd158367c31f0f87567d2e8a0955287dc005d40e5
tree581da5722c68c3400d521e86e232292f5c4c5745
parentca10b9d60f8c9556720bad8b1ec7d522e353a01d
drm/i915: return -EIO on lmem setup failure

Caller of setup_lmem() ignores -ENODEV but failing
to setup lmem on dGPU isn't ignorable error.

Signed-off-by: Nirmoy Das <nirmoy.das@intel.com>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220511153746.14142-1-nirmoy.das@intel.com
drivers/gpu/drm/i915/gt/intel_region_lmem.c