Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4906f689 authored by Christian König's avatar Christian König
Browse files

drm/radeon: fix page directory update size estimation

parent d8ade352
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -595,7 +595,7 @@ int radeon_vm_update_page_directory(struct radeon_device *rdev,
	ndw = 64;

	/* assume the worst case */
	ndw += vm->max_pde_used * 12;
	ndw += vm->max_pde_used * 16;

	/* update too big for an IB */
	if (ndw > 0xfffff)