NetBSD/sys/external
riastradh aef93b36e3 i915_gem_stolen: Fill sg_pgs, with size/PAGE_SIZE entries.
Use sg_alloc_table_from_bus_dmamem to do this.

i915_gem_mman.c vm_fault_cpu and i915_gem_object_release_mmap_offset
both rely on sg_pgs to be a page array, so providing a table with
only one entry doesn't work (except by accident, if the object is
page-sized anyway).  And they rely on the sg_pgs entries to be
initialized, which we weren't doing before, and which
sg_alloc_table_from_bus_dmamem does for us.

Related to PR kern/57833.

XXX pullup-10
2024-01-19 22:24:38 +00:00
..
bsd i915_gem_stolen: Fill sg_pgs, with size/PAGE_SIZE entries. 2024-01-19 22:24:38 +00:00
gpl2/dts The dr_node should be a property of usb_cdns3 and not usb3 for jh7100. 2024-01-14 07:55:48 +00:00
isc fix simple mis-matched function prototype and definitions. 2023-08-01 07:04:14 +00:00
mit/xen-include-public/dist/xen/include/public Add XENPF_get_dom0_console, which gets a dom0_vga_console_info stucture 2023-10-17 16:02:55 +00:00