Skip to content

Commit

Permalink
Merge tag 'drm-xe-fixes-2024-03-07' of https://gitlab.freedesktop.org…
Browse files Browse the repository at this point in the history
…/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
  • Loading branch information
airlied committed Mar 8, 2024
2 parents 698236f + a4e7596 commit 3a397b1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions drivers/gpu/drm/xe/xe_tile.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 3a397b1

Please sign in to comment.