diff options
author | 2022-07-08 12:41:04 +0300 | |
---|---|---|
committer | 2022-07-12 18:21:41 -0400 | |
commit | 896dcabd1f8f613c533d948df17408c41f8929f5 (patch) | |
tree | f24ebdbfef442f8ea7f21b74aea9e016cc985260 /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | Merge tag 'gvt-fixes-2022-07-11' of https://github.com/intel/gvt-linux into drm-intel-fixes (diff) | |
download | linux-dev-896dcabd1f8f613c533d948df17408c41f8929f5.tar.xz linux-dev-896dcabd1f8f613c533d948df17408c41f8929f5.zip |
drm/i915/selftests: fix a couple IS_ERR() vs NULL tests
The shmem_pin_map() function doesn't return error pointers, it returns
NULL.
Fixes: be1cb55a07bf ("drm/i915/gt: Keep a no-frills swappable copy of the default context state")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220708094104.GL2316@kadam
(cherry picked from commit d50f5a109cf4ed50c5b575c1bb5fc3bd17b23308)
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions