diff options
| author | Matthew Auld <[email protected]> | 2023-02-08 14:53:19 +0000 |
|---|---|---|
| committer | Christian König <[email protected]> | 2023-02-23 10:29:20 +0100 |
| commit | 95d39a0c64aa529adbff1bdafd391e83ad587602 (patch) | |
| tree | 7d2740d97162ed727e6c600568b1308a2ab008a4 /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
| parent | b129ff30acea495b1455cf8d6e1d86fdb87d22d4 (diff) | |
drm/radeon: handle NULL bo->resource in move callback
The ttm bo now initially has NULL bo->resource, and leaves the driver
the handle that. However it looks like we forgot to handle that for
radeon. It looks like this will just null-ptr-deref in
radeon_bo_move(), if bo->resource is NULL.
Fix this by calling move_null().
Fixes: 180253782038 ("drm/ttm: stop allocating dummy resources during BO creation")
Signed-off-by: Matthew Auld <[email protected]>
Cc: Christian König <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Reviewed-by: Christian König <[email protected]>
Signed-off-by: Christian König <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions