Dan Carpenter 896dcabd1f 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>
2022-07-12 18:21:41 -04:00
..
2021-10-07 11:04:05 -07:00
2022-04-08 10:36:11 +02:00
2022-03-28 09:06:29 +01:00
2022-06-04 14:04:27 -07:00
2022-03-02 08:48:13 -08:00
2022-03-24 16:19:43 -07:00
2022-05-25 16:18:27 -07:00
2021-03-26 09:24:31 +01:00
2022-03-02 08:48:23 -08:00