]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0c851322e705a791164c35b172434331de82ce94
tree581da5722c68c3400d521e86e232292f5c4c5745
parentc58cbc3f6656be83a8cfd60ca4fbc38693dc1017
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