Skip to content
Commit 290e5505 authored by Maarten Maathuis's avatar Maarten Maathuis Committed by Dave Airlie
Browse files

drm/ttm: handle OOM in ttm_tt_swapout



- Without this change I get a general protection fault.
- Also use PTR_ERR where applicable.

Signed-off-by: default avatarMaarten Maathuis <madman2003@gmail.com>
Reviewed-by: default avatarDave Airlie <airlied@redhat.com>
Acked-by: default avatarThomas Hellstrom <thellstrom@vmware.com>
Cc: stable@kernel.org
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent 6a8a2d70
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment