Message ID | 1410522760-26204-11-git-send-email-deathsimple@vodafone.de (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/drivers/gpu/drm/radeon/radeon_vm.c b/drivers/gpu/drm/radeon/radeon_vm.c index 80262c6..55afb84 100644 --- a/drivers/gpu/drm/radeon/radeon_vm.c +++ b/drivers/gpu/drm/radeon/radeon_vm.c @@ -819,7 +819,8 @@ static void radeon_vm_update_ptes(struct radeon_device *rdev, unsigned nptes; uint64_t pte; - radeon_sync_resv(&ib->sync, pt->tbo.resv, false); + radeon_sync_resv(&ib->sync, pt->tbo.resv, + !!(flags & R600_PTE_VALID)); if ((addr & ~mask) == (end & ~mask)) nptes = end - addr;