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)
committerLucas De Marchi <lucas.demarchi@intel.com>
Fri, 14 Feb 2025 19:42:54 +0000 (11:42 -0800)
commitff57025c358603555f1e0ae0d50282a460433594
tree6d361c8296b04f3201b189f44a0ba7ad3e4f610d
parent0bcf41171c64234e79eb3552d00f0aad8a47e8d3
drm/xe: Stop ignoring errors from xe_ttm_stolen_mgr_init()

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>
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