Those are just leftovers from the time we wrote the VM
updates directly to the ring.
Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
        /* assume the worst case */
        ndw += vm->max_pde_used * 6;
 
-       /* update too big for an IB */
-       if (ndw > 0xfffff)
-               return -ENOMEM;
-
        ib = kzalloc(sizeof(struct amdgpu_ib), GFP_KERNEL);
        if (!ib)
                return -ENOMEM;
                ndw += 2 * 10;
        }
 
-       /* update too big for an IB */
-       if (ndw > 0xfffff)
-               return -ENOMEM;
-
        ib = kzalloc(sizeof(struct amdgpu_ib), GFP_KERNEL);
        if (!ib)
                return -ENOMEM;