diff options
author | Dave Airlie <airlied@redhat.com> | 2024-03-08 06:16:27 +0300 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2024-03-08 06:16:43 +0300 |
commit | 3a397b131d16305792dc940057e5df84a5b4247c (patch) | |
tree | 45ef491b26e257b6e0951fcc3be243bd6f8d4623 | |
parent | 698236f5993fb138f7b0c9c26cc59a5e36952f82 (diff) | |
parent | a4e7596e209783a7be2727d6b947cbd863c2bbcb (diff) | |
download | linux-3a397b131d16305792dc940057e5df84a5b4247c.tar.xz |
Merge tag 'drm-xe-fixes-2024-03-07' of https://gitlab.freedesktop.org/drm/xe/kernel into drm-fixes
Driver Changes:
- An error path fix.
Signed-off-by: Dave Airlie <airlied@redhat.com>
From: Thomas Hellstrom <thomas.hellstrom@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/Zema9lLEdtMISljc@fedora
-rw-r--r-- | drivers/gpu/drm/xe/xe_tile.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/gpu/drm/xe/xe_tile.c b/drivers/gpu/drm/xe/xe_tile.c index 044c20881de7..0650b2fa75ef 100644 --- a/drivers/gpu/drm/xe/xe_tile.c +++ b/drivers/gpu/drm/xe/xe_tile.c @@ -167,9 +167,10 @@ int xe_tile_init_noalloc(struct xe_tile *tile) goto err_mem_access; tile->mem.kernel_bb_pool = xe_sa_bo_manager_init(tile, SZ_1M, 16); - if (IS_ERR(tile->mem.kernel_bb_pool)) + if (IS_ERR(tile->mem.kernel_bb_pool)) { err = PTR_ERR(tile->mem.kernel_bb_pool); - + goto err_mem_access; + } xe_wa_apply_tile_workarounds(tile); xe_tile_sysfs_init(tile); |