mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-14 15:54:15 +08:00
drm/vmwgfx: Fix a bad merge in otable batch takedown
Change2ef4fb9236
("drm/vmwgfx: Make sure bo's are unpinned before putting them back") caused a conflict in one of the drm trees and the merge commit68a32ba141
("Merge tag 'drm-next-2021-04-28' of git://anongit.freedesktop.org/drm/drm") accidently re-added code that the original change was removing. Fixed by removing the incorrect buffer unpin - it has already been unpinned two lines above. Fixes:68a32ba141
("Merge tag 'drm-next-2021-04-28' of git://anongit.freedesktop.org/drm/drm") Signed-off-by: Zack Rusin <zackr@vmware.com> Reviewed-by: Martin Krastev <krastevm@vmware.com> Link: https://patchwork.freedesktop.org/patch/msgid/20210615182336.995192-4-zackr@vmware.com
This commit is contained in:
parent
c26d6586e9
commit
34bd46bcf3
@ -354,7 +354,6 @@ static void vmw_otable_batch_takedown(struct vmw_private *dev_priv,
|
||||
ttm_bo_unpin(bo);
|
||||
ttm_bo_unreserve(bo);
|
||||
|
||||
ttm_bo_unpin(batch->otable_bo);
|
||||
ttm_bo_put(batch->otable_bo);
|
||||
batch->otable_bo = NULL;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user