[PATCH 3/7] drm/xe: Fix xe_tile_init_noalloc() error propagation
Francois Dugast
francois.dugast at intel.com
Mon Feb 3 14:21:29 UTC 2025
On Fri, Jan 31, 2025 at 02:31:36PM -0800, Lucas De Marchi wrote:
> Propagate the error to the caller so initialization properly stops if
> sysfs creation fails.
>
> Signed-off-by: Lucas De Marchi <lucas.demarchi at intel.com>
Maybe with Fixes: e3d0839aa5017?
In any case:
Reviewed-by: Francois Dugast <francois.dugast at intel.com>
> ---
> drivers/gpu/drm/xe/xe_tile.c | 4 +---
> 1 file changed, 1 insertion(+), 3 deletions(-)
>
> diff --git a/drivers/gpu/drm/xe/xe_tile.c b/drivers/gpu/drm/xe/xe_tile.c
> index 2825553b568f7..377438ea6b838 100644
> --- a/drivers/gpu/drm/xe/xe_tile.c
> +++ b/drivers/gpu/drm/xe/xe_tile.c
> @@ -172,9 +172,7 @@ int xe_tile_init_noalloc(struct xe_tile *tile)
>
> xe_wa_apply_tile_workarounds(tile);
>
> - err = xe_tile_sysfs_init(tile);
> -
> - return 0;
> + return xe_tile_sysfs_init(tile);
> }
>
> int xe_tile_init(struct xe_tile *tile)
> --
> 2.48.0
>
More information about the Intel-xe
mailing list