[Intel-gfx] [PATCH 3/3] drm/i915: Allow DMA pagetables to use highmem
Joonas Lahtinen
joonas.lahtinen at linux.intel.com
Mon Aug 22 11:04:34 UTC 2016
On ma, 2016-08-22 at 08:44 +0100, Chris Wilson wrote:
> As we never need to directly access the pages we allocate for scratch and
> the pagetables, and always remap them into the GTT through the dma
> remapper, we do not need to limit the allocations to lowmem i.e. we can
> pass in the __GFP_HIGHMEM flag to the page allocation.
>
> For backwards compatibility, e.g. certain old GPUs not liking highmem
> for certain functions that may be accidentally mapped to the scratch
> page by userspace, keep the GMCH probe as only allocating form DMA32.
s/form/from/
With that,
Reviewed-by: Joonas Lahtinen <joonas.lahtinen at linux.intel.com>
Regards, Joonas
--
Joonas Lahtinen
Open Source Technology Center
Intel Corporation
More information about the Intel-gfx
mailing list