History log of /netbsd-current/sys/external/bsd/drm2/dist/drm/i915/gem/i915_gem_pages.c
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.7 19-Jan-2024 riastradh

i915_gem: Assert page array size.

Let's detect the bug of sg_npgs failing to match
obj->base.size/PAGE_SIZE earlier.

Related to PR kern/57833.

XXX pullup-10


Revision tags: netbsd-10-0-RC3 netbsd-10-0-RC2 thorpej-ifq-base thorpej-altq-separation-base netbsd-10-0-RC1 netbsd-10-base bouyer-sunxi-drm-base
# 1.6 19-Dec-2021 riastradh

i915: Zero the kernel's ptes before freeing the va.


# 1.5 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.4 19-Dec-2021 riastradh

Sync i915_gem_fault. Hack up the rest of i915_gem.c enough to build.


# 1.3 19-Dec-2021 riastradh

First pass at i915, far from complete.

HEAVILY MODIFIED IN MERGE - maya


# 1.2 18-Dec-2021 riastradh

Merge linux-drm-v5-6-rc3


# 1.1 18-Dec-2021 riastradh

branches: 1.1.1;
Initial revision