linux/drivers/char/agp
Michael J. Ruhl 31a02eb70b drm/i915: Refactor setting dma info to a common helper
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
2020-04-18 07:49:11 +01:00
..
agp.h
ali-agp.c agp: ali: constify pci_device_id. 2017-08-04 16:59:47 +10:00
alpha-agp.c char: agp: Change return type to vm_fault_t 2018-07-10 13:48:11 +10:00
amd64-agp.c x86/amd_nb, char/amd64-agp: Use amd_nb_num() accessor 2020-03-17 10:25:58 +01:00
amd-k7-agp.c treewide: kzalloc() -> kcalloc() 2018-06-12 16:19:22 -07:00
ati-agp.c treewide: kzalloc() -> kcalloc() 2018-06-12 16:19:22 -07:00
backend.c mm: convert totalram_pages and totalhigh_pages variables to atomic 2018-12-28 12:11:47 -08:00
compat_ioctl.c treewide: kmalloc() -> kmalloc_array() 2018-06-12 16:19:22 -07:00
compat_ioctl.h
efficeon-agp.c agp: efficeon: no need to set PG_reserved on GATT tables 2019-03-05 21:07:18 -08:00
frontend.c agp: remove unused variable num_segments 2019-12-04 13:35:33 +10:00
generic.c remove ioremap_nocache and devm_ioremap_nocache 2020-01-06 09:45:59 +01:00
hp-agp.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
i460-agp.c
intel-agp.c agp: intel: constify pci_device_id. 2017-08-04 16:59:46 +10:00
intel-agp.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
intel-gtt.c drm/i915: Refactor setting dma info to a common helper 2020-04-18 07:49:11 +01:00
isoch.c agp: remove unused variable arqsz in agp_3_5_enable() 2020-01-03 16:08:05 +10:00
Kconfig char: Fix Kconfig indentation 2019-11-20 15:09:48 +01:00
Makefile char/agp: remove the sgi-agp driver 2019-08-16 11:33:56 -07:00
nvidia-agp.c agp: nvidia: Deprecate pci_get_bus_and_slot() 2018-01-11 17:23:50 -06:00
parisc-agp.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
sis-agp.c agp: sis: constify pci_device_id. 2017-08-04 16:59:48 +10:00
sworks-agp.c treewide: kzalloc() -> kcalloc() 2018-06-12 16:19:22 -07:00
uninorth-agp.c treewide: Add SPDX license identifier for more missed files 2019-05-21 10:50:45 +02:00
via-agp.c treewide: Add SPDX license identifier for more missed files 2019-05-21 10:50:45 +02:00