summaryrefslogtreecommitdiff
path: root/drivers/char/agp/Makefile
AgeCommit message (Collapse)Author
2023-12-06char/agp: Remove frontend codeThomas Zimmermann
The AGP subsystem supports a user-space interface via /dev/agpgart. It is only enabled with DRM support for mode setting in user space. (i.e., CONFIG_DRM_LEGACY). All of that DRM code has been removed and the option will go away. Hence remove the AGP frontend. Modern DRM drivers with kernel mode setting handle AGP support internally. Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de> Reviewed-by: David Airlie <airlied@gmail.com> Reviewed-by: Daniel Vetter <daniel@ffwll.ch> Acked-by: Alex Deucher <alexander.deucher@amd.com> Link: https://patchwork.freedesktop.org/patch/msgid/20231122122449.11588-14-tzimmermann@suse.de
2023-09-11arch: Remove Itanium (IA-64) architectureArd Biesheuvel
The Itanium architecture is obsolete, and an informal survey [0] reveals that any residual use of Itanium hardware in production is mostly HP-UX or OpenVMS based. The use of Linux on Itanium appears to be limited to enthusiasts that occasionally boot a fresh Linux kernel to see whether things are still working as intended, and perhaps to churn out some distro packages that are rarely used in practice. None of the original companies behind Itanium still produce or support any hardware or software for the architecture, and it is listed as 'Orphaned' in the MAINTAINERS file, as apparently, none of the engineers that contributed on behalf of those companies (nor anyone else, for that matter) have been willing to support or maintain the architecture upstream or even be responsible for applying the odd fix. The Intel firmware team removed all IA-64 support from the Tianocore/EDK2 reference implementation of EFI in 2018. (Itanium is the original architecture for which EFI was developed, and the way Linux supports it deviates significantly from other architectures.) Some distros, such as Debian and Gentoo, still maintain [unofficial] ia64 ports, but many have dropped support years ago. While the argument is being made [1] that there is a 'for the common good' angle to being able to build and run existing projects such as the Grid Community Toolkit [2] on Itanium for interoperability testing, the fact remains that none of those projects are known to be deployed on Linux/ia64, and very few people actually have access to such a system in the first place. Even if there were ways imaginable in which Linux/ia64 could be put to good use today, what matters is whether anyone is actually doing that, and this does not appear to be the case. There are no emulators widely available, and so boot testing Itanium is generally infeasible for ordinary contributors. GCC still supports IA-64 but its compile farm [3] no longer has any IA-64 machines. GLIBC would like to get rid of IA-64 [4] too because it would permit some overdue code cleanups. In summary, the benefits to the ecosystem of having IA-64 be part of it are mostly theoretical, whereas the maintenance overhead of keeping it supported is real. So let's rip off the band aid, and remove the IA-64 arch code entirely. This follows the timeline proposed by the Debian/ia64 maintainer [5], which removes support in a controlled manner, leaving IA-64 in a known good state in the most recent LTS release. Other projects will follow once the kernel support is removed. [0] https://lore.kernel.org/all/CAMj1kXFCMh_578jniKpUtx_j8ByHnt=s7S+yQ+vGbKt9ud7+kQ@mail.gmail.com/ [1] https://lore.kernel.org/all/0075883c-7c51-00f5-2c2d-5119c1820410@web.de/ [2] https://gridcf.org/gct-docs/latest/index.html [3] https://cfarm.tetaneutral.net/machines/list/ [4] https://lore.kernel.org/all/87bkiilpc4.fsf@mid.deneb.enyo.de/ [5] https://lore.kernel.org/all/ff58a3e76e5102c94bb5946d99187b358def688a.camel@physik.fu-berlin.de/ Acked-by: Tony Luck <tony.luck@intel.com> Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
2020-11-18char/agp: Disable frontend without CONFIG_DRM_LEGACYDaniel Vetter
It's probably full of bugs ready for exploiting by userspace. And there's not going to be any userspace for this without any of the drm legacy drivers enabled too. So just couple it together. Note that the frontend is only the /dev/agp ioctl interface, which per Adam is only used by the i810 userspace drivers. All other drivers go through the drm bufmap agp handling abstraction apparently. v2: Augment commit message a bit from m-l feedback. Acked-by: Adam Jackson <ajax@redhat.com> Acked-by: Christian König <christian.koenig@amd.com> Acked-by: Thomas Zimmermann <tzimmermann@suse.de> Signed-off-by: Daniel Vetter <daniel.vetter@intel.com> Cc: David Airlie <airlied@linux.ie> Cc: Adam Jackson <ajax@redhat.com> Link: https://patchwork.freedesktop.org/patch/msgid/20201117214029.591896-1-daniel.vetter@ffwll.ch
2019-08-16char/agp: remove the sgi-agp driverChristoph Hellwig
The SGI SN2 support is about to be removed. Remove this driver that depends on the SN2 support. Signed-off-by: Christoph Hellwig <hch@lst.de> Link: https://lkml.kernel.org/r/20190813072514.23299-4-hch@lst.de Signed-off-by: Tony Luck <tony.luck@intel.com>
2017-11-02License cleanup: add SPDX GPL-2.0 license identifier to files with no licenseGreg Kroah-Hartman
Many source files in the tree are missing licensing information, which makes it harder for compliance tools to determine the correct license. By default all files without license information are under the default license of the kernel, which is GPL version 2. Update the files which contain no license information with the 'GPL-2.0' SPDX license identifier. The SPDX identifier is a legally binding shorthand, which can be used instead of the full boiler plate text. This patch is based on work done by Thomas Gleixner and Kate Stewart and Philippe Ombredanne. How this work was done: Patches were generated and checked against linux-4.14-rc6 for a subset of the use cases: - file had no licensing information it it. - file was a */uapi/* one with no licensing information in it, - file was a */uapi/* one with existing licensing information, Further patches will be generated in subsequent months to fix up cases where non-standard license headers were used, and references to license had to be inferred by heuristics based on keywords. The analysis to determine which SPDX License Identifier to be applied to a file was done in a spreadsheet of side by side results from of the output of two independent scanners (ScanCode & Windriver) producing SPDX tag:value files created by Philippe Ombredanne. Philippe prepared the base worksheet, and did an initial spot review of a few 1000 files. The 4.13 kernel was the starting point of the analysis with 60,537 files assessed. Kate Stewart did a file by file comparison of the scanner results in the spreadsheet to determine which SPDX license identifier(s) to be applied to the file. She confirmed any determination that was not immediately clear with lawyers working with the Linux Foundation. Criteria used to select files for SPDX license identifier tagging was: - Files considered eligible had to be source code files. - Make and config files were included as candidates if they contained >5 lines of source - File already had some variant of a license header in it (even if <5 lines). All documentation files were explicitly excluded. The following heuristics were used to determine which SPDX license identifiers to apply. - when both scanners couldn't find any license traces, file was considered to have no license information in it, and the top level COPYING file license applied. For non */uapi/* files that summary was: SPDX license identifier # files ---------------------------------------------------|------- GPL-2.0 11139 and resulted in the first patch in this series. If that file was a */uapi/* path one, it was "GPL-2.0 WITH Linux-syscall-note" otherwise it was "GPL-2.0". Results of that was: SPDX license identifier # files ---------------------------------------------------|------- GPL-2.0 WITH Linux-syscall-note 930 and resulted in the second patch in this series. - if a file had some form of licensing information in it, and was one of the */uapi/* ones, it was denoted with the Linux-syscall-note if any GPL family license was found in the file or had no licensing in it (per prior point). Results summary: SPDX license identifier # files ---------------------------------------------------|------ GPL-2.0 WITH Linux-syscall-note 270 GPL-2.0+ WITH Linux-syscall-note 169 ((GPL-2.0 WITH Linux-syscall-note) OR BSD-2-Clause) 21 ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) 17 LGPL-2.1+ WITH Linux-syscall-note 15 GPL-1.0+ WITH Linux-syscall-note 14 ((GPL-2.0+ WITH Linux-syscall-note) OR BSD-3-Clause) 5 LGPL-2.0+ WITH Linux-syscall-note 4 LGPL-2.1 WITH Linux-syscall-note 3 ((GPL-2.0 WITH Linux-syscall-note) OR MIT) 3 ((GPL-2.0 WITH Linux-syscall-note) AND MIT) 1 and that resulted in the third patch in this series. - when the two scanners agreed on the detected license(s), that became the concluded license(s). - when there was disagreement between the two scanners (one detected a license but the other didn't, or they both detected different licenses) a manual inspection of the file occurred. - In most cases a manual inspection of the information in the file resulted in a clear resolution of the license that should apply (and which scanner probably needed to revisit its heuristics). - When it was not immediately clear, the license identifier was confirmed with lawyers working with the Linux Foundation. - If there was any question as to the appropriate license identifier, the file was flagged for further research and to be revisited later in time. In total, over 70 hours of logged manual review was done on the spreadsheet to determine the SPDX license identifiers to apply to the source files by Kate, Philippe, Thomas and, in some cases, confirmation by lawyers working with the Linux Foundation. Kate also obtained a third independent scan of the 4.13 code base from FOSSology, and compared selected files where the other two scanners disagreed against that SPDX file, to see if there was new insights. The Windriver scanner is based on an older version of FOSSology in part, so they are related. Thomas did random spot checks in about 500 files from the spreadsheets for the uapi headers and agreed with SPDX license identifier in the files he inspected. For the non-uapi files Thomas did random spot checks in about 15000 files. In initial set of patches against 4.14-rc6, 3 files were found to have copy/paste license identifier errors, and have been fixed to reflect the correct identifier. Additionally Philippe spent 10 hours this week doing a detailed manual inspection and review of the 12,461 patched files from the initial patch version early this week with: - a full scancode scan run, collecting the matched texts, detected license ids and scores - reviewing anything where there was a license detected (about 500+ files) to ensure that the applied SPDX license was correct - reviewing anything where there was no detection but the patch license was not GPL-2.0 WITH Linux-syscall-note to ensure that the applied SPDX license was correct This produced a worksheet with 20 files needing minor correction. This worksheet was then exported into 3 different .csv files for the different types of files to be modified. These .csv files were then reviewed by Greg. Thomas wrote a script to parse the csv files and add the proper SPDX tag to the file, in the format that the file expected. This script was further refined by Greg based on the output to detect more types of files automatically and to distinguish between header and source .c files (which need different comment types.) Finally Greg ran the script using the .csv files to generate the patches. Reviewed-by: Kate Stewart <kstewart@linuxfoundation.org> Reviewed-by: Philippe Ombredanne <pombredanne@nexb.com> Reviewed-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-11-08drm/i915: Make AGP support optionalVille Syrjälä
We only depend on the intel-gtt module for GTT frobbign on older gens. The intel_agp module is optional, except for UMS and some old XvMC userland on gen3. So make AGP support optional. As before, we will fail the i915 init for UMS and gen3 KMS the same as before if intel_agp isn't around. intel-gtt.c is left with a somewhat ugly ifdef mess, but I'm going to save that for a later cleaning. At least my gen2 still works with the patch and CONFIG_AGP=n. v2: Make i915 depend on X86 and PCI, and intel-gtt depend on PCI Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2010-09-08agp/intel: make intel-gtt.c into a real source fileDaniel Vetter
Now that the disentangling is complete, stop including intel-gtt.c from intel-agp.c. The linux build system _really_ doesn't allow .c source files with the same name as the module. It fails with the following message when trying to build such a bugger: make[3]: Circular drivers/char/agp/intel-agp.o <- drivers/char/agp/intel-agp.o dependency dropped. Instead of renameing intel-agp.c I've simply created a new module out of intel-gtt.c. Renaming intel-agp.ko to something else is not an option for it will surely kill someones boot process. This also paves the way to use the gtt code without loading the agp driver. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2007-02-20[AGPGART] Fix modular agpgart ia64 allmodconfigZwane Mwaikambo
My previous compat AGP patch broke modular AGPGART. Test built on; i386 CONFIG_AGP=y,m x86_64 CONFIG_AGP=y ia64 CONFIG_AGP=m Signed-off-by: Zwane Mwaikambo <zwane@infradead.org> Cc: Kyle McMartin <kyle@mcmartin.ca> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Dave Jones <davej@redhat.com>
2007-02-03[AGPGART] compat ioctlZwane Mwaikambo
The following video card requires the agpgart driver ioctl interface in order to detect video memory. 00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS/940GML Express Integrated Graphics Controller (rev 03) Tested on a Thinkpad Z61t, Xorg.0.log from a 32bit debian Xorg is at; http://montezuma.homeunix.net/Xorg.0.log Signed-off-by: Zwane Mwaikambo <zwane@infradead.org> Signed-off-by: Dave Jones <davej@redhat.com>
2006-10-04[PARISC] Add support for Quicksilver AGPGARTKyle McMartin
Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
2005-03-11[AGPGART] SGI TIO support.Dave Jones
From: Mike Werner Signed-off-by: Dave Jones <davej@redhat.com>
2005-02-22[AGPGART] Drop the Intel-mch AGP driver.Dave Jones
Andi Kleen points out that the intel-agp driver actually works on i865's, where the -mch driver doesn't. The -mch driver was something of a failed experiment. Hoping that the code would be much cleaner, I forked the intel-agp driver into this variant, and removed some legacy bits. The result was a third the size, but it still was no work of art, worse yet -- it didn't even do what it said on the can. intel-agp still supports everything that the -mch driver did, so we can just remove this from the tree and fall back to the old driver. Signed-off-by: Dave Jones <davej@redhat.com>
2004-03-24[AGPGART] Mass ia32e renaming.Dave Jones
Andi pointed out that Intel changed their nomenclature for this monster to EM64T instead. Updated the text to mention the actual AGP chipset this driver supports rather than the CPU architecture, which is irrelevant. Change various function names accordingly.
2004-03-19[AGPGART] Give IA32E its own GART driver.Dave Jones
This way we can lose all the legacy junk that comes along with intel-agp Start by just getting a bare bones driver supporting the more recent AGP chipsets.
2004-02-19[PATCH] initial support for transmeta's efficeon processorsCarlos Puchol
This implements the initial support for the AGP gart in Transmeta's Efficeon processors. This code is based on linus' code from a while ago. Peter and I adapted it for the current kernel. The note at the top indicates how it was tested, known issues, and so forth. It is working quite well, and we'll work to fix the minor issues and test it some more with s3, more cards, other southbridges, etc., next.
2003-09-01[AGPGART] Various renames for AMD64 GART driver.Dave Jones
- Remove references to 8151, as its not specific to this driver - K8 & x86-64 is deprecated in favour of amd64
2003-08-15[AGPGART] Merge ATI IGP GART driver.Dave Jones
2003-05-14[AGPGART] PPC Uninorth support.Dave Jones
By Paul Mackerras and BenH
2003-05-10[AGPGART] death of generic-3.0.c = folded into generic.cDave Jones
2003-05-06[AGPGART] Only enable isochronous transfers on AGP3.5 chipsets.Dave Jones
The standard says that 3.0 chipsets don't support these extensions. Move the isoch stuff out into isoch.c leaving behind a shell for basic AGP3.0 enabling (to be written).
2003-04-25[AGPGART] Fix typo that stopped nvidia GART driver being builtDave Jones
2003-04-25[AGPGART] Makefile cleanups.Dave Jones
- the makefile is not the right place to describe the driver - remove some junk
2003-04-25[AGPGART] Merge NVIDIA nForce / nForce2 AGP driver.Dave Jones
Based upon code written by NVIDIA for agpgart 2.4, forward ported and cleaned up slightly by me. This still needs work, and is untested.
2003-04-10[AGPGART] Remove CONFIG_AGP3.Dave Jones
This optioned saved just a handful of bytes, and uglied up the code quite a lot. Saving less than a page of memory is not as important as maintainable code.
2003-04-10[AGPGART] Fold Intel i7x05 GART into intel-agp driver.Dave Jones
Also includes various other fixes from Matt Tolentino
2003-02-10[AGPGART] Merge VIA KT400 AGP3 support into main via-agp module.Dave Jones
This removes lots of annoying problems trying to prevent both modules from being loaded, and also shares quite a bit of code. CONFIG_AGP3 will disable AGP3 mode operation of KT400s.
2003-02-10[AGPGART] alpha agp infrastructureDave Jones
2003-02-03kbuild: Remove export-objs := ... statementsKai Germaschewski
One of the goals of the whole new modversions implementation: export-objs is gone for good!
2003-01-02[AGP] Move the VIA KT400 to its own driver.Dave Jones
Right now its the only VIA AGP 3.0 chipset. At some point in time it may become via-agp3.c, but until then its cleaner to seperate this from the VIA AGP 2.0 driver. The 2.0 driver will still work on a KT400 with a 2.0 compliant graphic card present. If the 2.0 driver finds the bridge in 3.0 mode, it aborts. Likewise, the 3.0 driver will abort if the bridge is in 2.0 mode. Confused yet?
2002-12-19[AGP] Export agp3 routines and link to module if needed.Dave Jones
2002-12-13[AGP] Add AGP 3.0 support and I7505 chipset driver.Dave Jones
2002-12-03rework as per Linus' suggestion. Chipset drivers are now seperate modulesDave Jones
that use the pci driver interfaces, and register with the agpgart backend.
2002-09-26[PATCH] Hammer aperture driver for 2.5.38Andi Kleen
Add an AGP driver for the AGP aperture in the northbridge of the AMD Hammer. The AGP driver works for both 32bit and 64bit kernels. It also adds some hooks to the AGP driver to allow the x86-64 GART based IOMMU code to share the aperture with AGP. The hooks are intentionally kept minimalistic. In addition it needs some Config.in hackery, because AGP cannot be modular in this case, because the IOMMU needs to control its startup and it runs early when PCI is initialized. The original AGP driver was done by Dave Jones, I added the IOMMU support.
2002-07-17agpgart: added "-agp" to the .c files that are for specific hardware types, ↵Greg Kroah-Hartman
based on mailing list comments.
2002-07-14agpgart: renamed the agp files to make more senseGreg Kroah-Hartman
2002-07-14agpgart: Split agpgart code into separate files.Greg Kroah-Hartman
The majority of this work was done by Dave Jones, I merely converted the driver to the "new" pci api.
2002-05-24kbuild: Simplify linking subdirs in drivers/*/MakefileKai Germaschewski
Use the new obj-$(CONFIG_FOO) += foo/ syntax to descend into a subdir and link in the result, if CONFIG_FOO=y.
2002-03-22Remove list-multi plus associated link rules in various Makefiles.Kai Germaschewski
2002-02-04v2.4.2.8 -> v2.4.3Linus Torvalds
- Kai Germaschewski: Makefile dependency fixes. ISDN update - Chris Mason: another reiserfs tail writing fix - unify pte/pmd allocation - undo some VIA PCI fixups - conflicting behaviour
2002-02-04Import changesetLinus Torvalds