drm/xe/tile: Abort driver load for sysfs creation failure
authorHimal Prasad Ghimiray <himal.prasad.ghimiray@intel.com>
Fri, 12 Apr 2024 18:12:10 +0000 (23:42 +0530)
committerLucas De Marchi <lucas.demarchi@intel.com>
Thu, 18 Apr 2024 20:30:17 +0000 (13:30 -0700)
commite3d0839aa50175d9af99f84f8c03523a4e42d8a7
tree3c4ba422b8a16a5e7de2c62dde8d06724849bb49
parent9c3f72a342c9558929ad63839e758d35ac28ae93
drm/xe/tile: Abort driver load for sysfs creation failure

Ensure that the status of all tile associated sysfs entries creation is
relayed to xe_tile_init_noalloc, leading to a driver load abort if any
sysfs creation failures occur.

-v2
Avoid unnecessary warn/error messages. (Lucas)

Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Cc: Lucas De Marchi <lucas.demarchi@intel.com>
Signed-off-by: Himal Prasad Ghimiray <himal.prasad.ghimiray@intel.com>
Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240412181211.1155732-7-himal.prasad.ghimiray@intel.com
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
drivers/gpu/drm/xe/xe_tile.c
drivers/gpu/drm/xe/xe_tile_sysfs.c
drivers/gpu/drm/xe/xe_tile_sysfs.h
drivers/gpu/drm/xe/xe_vram_freq.c
drivers/gpu/drm/xe/xe_vram_freq.h