MFC r348785:Replace uses of vm_page_unwire(m, PQ_NONE) with vm_page_unwire_noq(m).
Eliminate kmem_alloc_contig()'s unused arena parameter.Reviewed by: hselasky, kib, markjDiscussed with: jeffDifferential Revision: https://reviews.freebsd.org/D16799
Align OF_getencprop_alloc API with OF_getencprop and OF_getprop_allocChange OF_getencprop_alloc semantics to be combination of malloc andOF_getencprop and return size of the property, not number o
Align OF_getencprop_alloc API with OF_getencprop and OF_getprop_allocChange OF_getencprop_alloc semantics to be combination of malloc andOF_getencprop and return size of the property, not number of elementsallocated.For the use cases where number of elements is preferred introduceOF_getencprop_alloc_multi helper function that copies semanticsof OF_getencprop_alloc prior to this change.This is to make OF_getencprop_alloc and OF_getencprop_alloc_multifunction signatures consistent with OF_getencprop_alloc andOF_getencprop_alloc_multi.Functionality-wise this patch is mostly rename of OF_getencprop_allocto OF_getencprop_alloc_multi except two calls in ofw_bus_setup_iinfowhere 1 was used as a block size.
show more ...
vm_wait() rework.Make vm_wait() take the vm_object argument which specifies the domainset to wait for the min condition pass. If there is no objectassociated with the wait, use curthread' policy
vm_wait() rework.Make vm_wait() take the vm_object argument which specifies the domainset to wait for the min condition pass. If there is no objectassociated with the wait, use curthread' policy domainset. Themechanics of the wait in vm_wait() and vm_wait_domain() is supplied bythe new helper vm_wait_doms(), which directly takes the bitmask of thedomains to wait for passing min condition.Eliminate pagedaemon_wait(). vm_domain_clear() handles the sameoperations.Eliminate VM_WAIT and VM_WAITPFAULT macros, the direct functions callsare enough.Eliminate several control state variables from vm_domain, unneededafter the vm_wait() conversion.Scetched and reviewed by: jeffTested by: phoSponsored by: The FreeBSD Foundation, Mellanox TechnologiesDifferential revision: https://reviews.freebsd.org/D14384
Implement drivers for NVIDIA tegra124 display controller, HDMI sourceand host1x module. Unfortunately, tegra124 SoC doesn't have 2D accelerationengine and 3D requires not yet started nouveau driver
Implement drivers for NVIDIA tegra124 display controller, HDMI sourceand host1x module. Unfortunately, tegra124 SoC doesn't have 2D accelerationengine and 3D requires not yet started nouveau driver.These drivers forms a first non-x86 DRM2 enabled graphic stack.Note, there are 2 outstanding issues: - The code uses gross hack in order to be comply with OBJT_MGTDEVICE pager. (See tegra_bo_init_pager() in tegra_bo.c) - Due to improper(probably) refcounting in drm_gem_mmap_single() (in drm_gem.c), the gem objects are never released.I hope that I will be able to address both issues in finite time,but I don't want to touch x86 world now.MFC after: 1 month