mirror of
https://github.com/torvalds/linux.git
synced 2024-11-05 03:21:32 +00:00
drm/radeon: Don't unreserve twice on failure to validate.
This is done later in radeon_object_list_unvalidate(). Doing it twice triggers a BUG in TTM, rendering X on KMS unusable until reboot. Signed-off-by: Michel Dänzer <daenzer@vmware.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
parent
c93bb85b5c
commit
e46074effd
@ -433,7 +433,6 @@ int radeon_object_list_validate(struct list_head *head, void *fence)
|
||||
robj->tobj.proposed_placement,
|
||||
true, false);
|
||||
if (unlikely(r)) {
|
||||
radeon_object_list_unreserve(head);
|
||||
DRM_ERROR("radeon: failed to validate.\n");
|
||||
return r;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user