]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/xe: Stop ignoring errors from xe_ttm_stolen_mgr_init()
authorLucas De Marchi <lucas.demarchi@intel.com>
Thu, 13 Feb 2025 19:29:01 +0000 (11:29 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 29 May 2025 09:13:22 +0000 (11:13 +0200)
commit16ff57a5129d6b3083fe8533f3cc1dbd81729e12
tree11565fa11efb1e8b5b1407c9d6fbb698b30572dc
parent3f1b50b8ff4fafed843e5d17afdc314322245013
drm/xe: Stop ignoring errors from xe_ttm_stolen_mgr_init()

[ Upstream commit ff57025c358603555f1e0ae0d50282a460433594 ]

Make sure to differentiate normal behavior, e.g. there's no stolen, from
allocation errors or failure to initialize lower layers.

Reviewed-by: Francois Dugast <francois.dugast@intel.com>
Reviewed-by: Himal Prasad Ghimiray <himal.prasad.ghimiray@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250213192909.996148-5-lucas.demarchi@intel.com
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/xe/xe_device.c
drivers/gpu/drm/xe/xe_ttm_stolen_mgr.c
drivers/gpu/drm/xe/xe_ttm_stolen_mgr.h