mirror of
https://github.com/torvalds/linux.git
synced 2024-11-23 20:51:44 +00:00
31a02eb70b
DMA_MASK bit values are different for different generations. This will become more difficult to manage over time with the open coded usage of different versions of the device. Fix by: disallow setting of dma mask in AGP path (< GEN(5) for i915, add dma_mask_size to the device info configuration, updating open code call sequence to the latest interface, refactoring into a common function for setting the dma segment and mask info Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Michael J. Ruhl <michael.j.ruhl@intel.com> cc: Brian Welty <brian.welty@intel.com> cc: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Link: https://patchwork.freedesktop.org/patch/msgid/20200417195107.68732-1-michael.j.ruhl@intel.com |
||
---|---|---|
.. | ||
agp.h | ||
ali-agp.c | ||
alpha-agp.c | ||
amd64-agp.c | ||
amd-k7-agp.c | ||
ati-agp.c | ||
backend.c | ||
compat_ioctl.c | ||
compat_ioctl.h | ||
efficeon-agp.c | ||
frontend.c | ||
generic.c | ||
hp-agp.c | ||
i460-agp.c | ||
intel-agp.c | ||
intel-agp.h | ||
intel-gtt.c | ||
isoch.c | ||
Kconfig | ||
Makefile | ||
nvidia-agp.c | ||
parisc-agp.c | ||
sis-agp.c | ||
sworks-agp.c | ||
uninorth-agp.c | ||
via-agp.c |