commit | 4cc948b94a222c310ae089c36718aac7a03aec90 | [log] [tgz] |
---|---|---|
author | Alex Deucher <alexander.deucher@amd.com> | Wed Nov 13 15:25:35 2013 -0500 |
committer | Alex Deucher <alexander.deucher@amd.com> | Fri Nov 15 15:56:22 2013 -0500 |
tree | 92c9765b93ee4e93b50eb4c4bd1b9f2497737b69 | |
parent | 99b4f25122f43210278cde17a9d100906235a074 [diff] |
drm/radeon/vm: don't attempt to update ptes if ib allocation fails 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 Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Cc: stable@vger.kernel.org