[PATCH] drm/radeon/vm: don't attempt to update ptes if ib allocation fails

2013-11-14 Thread Christian König
Am 13.11.2013 21:29, schrieb Alex Deucher: > If we fail to allocate an indirect buffer (ib) when updating > the ptes, return an error instead of trying to use the ib. > Avoids a null pointer dereference. > > Bug: > https://bugzilla.kernel.org/show_bug.cgi?id=58621 > > Signed-off-by: Alex Deucher >

[PATCH] drm/radeon/vm: don't attempt to update ptes if ib allocation fails

2013-11-13 Thread Alex Deucher
If we fail to allocate an indirect buffer (ib) when updating the ptes, return an error instead of trying to use the ib. Avoids a null pointer dereference. Bug: https://bugzilla.kernel.org/show_bug.cgi?id=58621 Signed-off-by: Alex Deucher Cc: stable at vger.kernel.org --- drivers/gpu/drm/radeon/