diff options
author | Zack Rusin <[email protected]> | 2020-09-25 11:54:10 -0400 |
---|---|---|
committer | Roland Scheidegger <[email protected]> | 2020-09-30 05:44:28 +0200 |
commit | f54c4442893b8dfbd3aff8e903c54dfff1aef990 (patch) | |
tree | 9d149c70167f5930593fbd687915c3cfd2d0568d /lib | |
parent | a1b8638ba1320e6684aa98233c15255eb803fac7 (diff) |
drm/vmwgfx: Fix error handling in get_node
ttm_mem_type_manager_func.get_node was changed to return -ENOSPC
instead of setting the node pointer to NULL. Unfortunately
vmwgfx still had two places where it was explicitly converting
-ENOSPC to 0 causing regressions. This fixes those spots by
allowing -ENOSPC to be returned. That seems to fix recent
regressions with vmwgfx.
Signed-off-by: Zack Rusin <[email protected]>
Reviewed-by: Roland Scheidegger <[email protected]>
Reviewed-by: Martin Krastev <[email protected]>
Sigend-off-by: Roland Scheidegger <[email protected]>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions