drm/xe: Return immediately on tile_init failure
authorRodrigo Vivi <rodrigo.vivi@intel.com>
Wed, 6 Mar 2024 20:31:10 +0000 (15:31 -0500)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Wed, 6 Mar 2024 21:35:44 +0000 (16:35 -0500)
commitaf7b93d1d7eeeef674681ddea875be6a29857a5d
tree8c07f27933bde770f3dd45e281e05e8656a5f288
parent79f944eeddc9fcb4479844c57c495b621970c932
drm/xe: Return immediately on tile_init failure

There's no reason to proceed with applying workaround and initing
sysfs if we are going to abort the probe upon failure.

Fixes: e5a845fd8fa4 ("drm/xe: Add sysfs entry for tile")
Cc: Lucas De Marchi <lucas.demarchi@intel.com>
Cc: Matt Roper <matthew.d.roper@intel.com>
Cc: Matthew Auld <matthew.auld@intel.com>
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240306203110.146387-1-rodrigo.vivi@intel.com
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/xe/xe_tile.c