Patch "drm/vmwgfx: Fix a bad merge in otable batch takedown" has been added to the 5.13-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    drm/vmwgfx: Fix a bad merge in otable batch takedown

to the 5.13-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     drm-vmwgfx-fix-a-bad-merge-in-otable-batch-takedown.patch
and it can be found in the queue-5.13 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit 8a5a7788fbe31aa1f76f413029b33c1775b29ea6
Author: Zack Rusin <zackr@xxxxxxxxxx>
Date:   Tue Jun 15 14:23:35 2021 -0400

    drm/vmwgfx: Fix a bad merge in otable batch takedown
    
    [ Upstream commit 34bd46bcf3de72cbffcdc42d3fa67e543d1c869b ]
    
    Change
    2ef4fb92363c ("drm/vmwgfx: Make sure bo's are unpinned before putting them back")
    caused a conflict in one of the drm trees and the merge commit
    68a32ba14177 ("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: 68a32ba14177 ("Merge tag 'drm-next-2021-04-28' of git://anongit.freedesktop.org/drm/drm")
    Signed-off-by: Zack Rusin <zackr@xxxxxxxxxx>
    Reviewed-by: Martin Krastev <krastevm@xxxxxxxxxx>
    Link: https://patchwork.freedesktop.org/patch/msgid/20210615182336.995192-4-zackr@xxxxxxxxxx
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_mob.c b/drivers/gpu/drm/vmwgfx/vmwgfx_mob.c
index 5648664f71bc..f2d625415458 100644
--- a/drivers/gpu/drm/vmwgfx/vmwgfx_mob.c
+++ b/drivers/gpu/drm/vmwgfx/vmwgfx_mob.c
@@ -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;
 }



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux