diff options
author | 2021-04-09 14:58:43 +0200 | |
---|---|---|
committer | 2021-04-12 13:42:29 +0200 | |
commit | a28e10ed99bcf57cbd55a6146367f7ea752af6be (patch) | |
tree | e41f6b1ddbd77b2a1d5f87452bc11bb515b11776 /drivers/gpu/drm/drm_atomic.c | |
parent | drm/qxl: Use drm_gem_ttm_dumb_map_offset() (diff) | |
download | wireguard-linux-a28e10ed99bcf57cbd55a6146367f7ea752af6be.tar.xz wireguard-linux-a28e10ed99bcf57cbd55a6146367f7ea752af6be.zip |
drm/ttm: fix return value check
The function returns the number of swapped pages here. Only abort when we get
a negative error code.
Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210409130113.1459-1-christian.koenig@amd.com
Diffstat (limited to 'drivers/gpu/drm/drm_atomic.c')
0 files changed, 0 insertions, 0 deletions