drm/ttm/nouveau: don't call tt destroy callback on alloc failure.
This is confusing, and from my reading of all the drivers only
nouveau got this right.
Just make the API act under driver control of it's own allocation
failing, and don't call destroy, if the page table fails to
create there is nothing to cleanup here.
(I'm willing to believe I've missed something here, so please
Reviewed-by: Christian König <firstname.lastname@example.org>
Signed-off-by: Dave Airlie <email@example.com>
2 files changed