Home | History | Annotate | Download | only in linux
History log of /src/sys/external/bsd/drm2/include/linux/scatterlist.h
RevisionDateAuthorComments
 1.8  19-Dec-2021  riastradh linux: Side-load asm/io.h in linux/scatterlist.h.
 1.7  19-Dec-2021  riastradh drm: Destroy dma map in sg_table_free.

Helps to reduce a little diff.
 1.6  19-Dec-2021  riastradh i915: another whack at it
 1.5  19-Dec-2021  riastradh drm: Another pass over i915. Most of i915 gem builds now.
 1.4  19-Dec-2021  riastradh drm: Another pass over i915 and some supporting logic.

This makes a shim around sg_table, which essentially represents two
things:

1. an array of pages (roughly corresponding to bus_dma_segment_t[])
2. an array of DMA addresses stored in a bus_dmamap_t

Both parts are optional; different parts of i915 use sg_tables to
pass around one or both of the two parts. This helps to reduce the
ifdefs by quite a bit, although it's not always clear which part of
an sg_table any particular interface is actually using which is why I
was reluctant to do this before.
 1.3  19-Dec-2021  riastradh Side-load <linux/mm.h> in a few places.
 1.2  19-Dec-2021  riastradh Side load <linux/types.h> here, because why not?
 1.1  19-Dec-2021  riastradh Stub linux compiler.h, scatterlist.h, seqlock.h, sort.h.

RSS XML Feed