All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC] Remove AGP support from Radeon/Nouveau/TTM
@ 2020-05-11 17:17 ` Christian König
  0 siblings, 0 replies; 82+ messages in thread
From: Christian König @ 2020-05-11 17:17 UTC (permalink / raw)
  To: dri-devel-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW,
	amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW,
	nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW

Hi guys,

Well let's face it AGP is a total headache to maintain and dead for at least 10+ years.

We have a lot of x86 specific stuff in the architecture independent graphics memory management to get the caching right, abusing the DMA API on multiple occasions, need to distinct between AGP and driver specific page tables etc etc...

So the idea here is to just go ahead and remove the support from Radeon and Nouveau and then drop the necessary code from TTM.

For Radeon this means that we just switch over to the driver specific page tables and everything should more or less continue to work.

For Nouveau I'm not 100% sure, but from the code it of hand looks like we can do it similar to Radeon.

Please comment what you think about this.

Regards,
Christian.

^ permalink raw reply	[flat|nested] 82+ messages in thread
* [PATCH 1/3] drm/radeon: remove AGP support
@ 2020-10-22 23:25 Émeric MASCHINO
  0 siblings, 0 replies; 82+ messages in thread
From: Émeric MASCHINO @ 2020-10-22 23:25 UTC (permalink / raw)
  To: dri-devel

> On Tue, May 12, 2020 at 4:16 AM Michel Dänzer <michel at daenzer.net> wrote:
> >
> > On 2020-05-11 10:12 p.m., Alex Deucher wrote:
> > > On Mon, May 11, 2020 at 1:17 PM Christian König
> > > <ckoenig.leichtzumerken at gmail.com> wrote:
> > >>
> > >> AGP is deprecated for 10+ years now and not used any more on modern hardware.
> > >>
> > >> Old hardware should continue to work in PCI mode.
> > >
> > > Might want to clarify that there is no loss of functionality here.
> > > Something like:
> > >
> > > "There is no loss of functionality here.  GPUs will continue to
> > > function.  This just drops the use of the AGP MMU in the chipset in
> > > favor of the MMU on the device which has proven to be much more
> > > reliable.  Due to its unreliability, AGP support has been disabled on
> > > PowerPC for years already so there is no change on PowerPC."
> >
> > There's a difference between something being disabled by default or not
> > being available at all. We may decide it's worth it anyway, but let's do
> > it based on facts.
> >
>
> I didn't mean to imply that AGP GART support was already removed.  But
> for the vast majority of users the end result is the same.  If you
> knew enough re-enable AGP GART, you probably wouldn't have been as
> confused about what this patch set does either.  To reiterate, this
> patch set does not remove support for AGP cards, it only removes the
> support for AGP GART.  The cards will still be functional using the
> device GART.  There may be performance tradeoffs there in some cases.
>
> Alex

Back in the fglrx days, the fglrxconfig utility proposed:


==============================================================================
Advanced OS Settings
==============================================================================

External AGPGART module:

It is possible (but not recommended) to turn off the usage of
built-in agp support of the provided fglrx kernel module and
use the external AGP GART module (agpgart.o) of the Linux kernel.
If you want to use the external module then ensure that it loads
prior to the drivers full startup. In order to manually load the
external agpgart module execute this on the commandline (as root):
/sbin/insmod agpgart
or alternatively configure your system to auto load the module.

Do you want to use the external AGP GART module (y/n)? [n]


By "built-in agp support of the provided fglrx kernel module", was
fglrxconfig referring to the "device GART"? So the device-side IOMMU
allowing to "work in PCI mode", somewhat dubbed as "PCI GART" (even
for AGP graphics adapters?!??) in some messages here?

If so, it is noteworthy that the default choice was not to use the
external AGP GART (resulting in Option "UseInternalAGPGART" "yes" in
/etc/X11/XF86Config), thus leveraging the device GART, i.e. what
Christian proposal is all about. Unless I still mix everything.

     Émeric
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 82+ messages in thread

end of thread, other threads:[~2020-10-22 23:25 UTC | newest]

Thread overview: 82+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-11 17:17 [RFC] Remove AGP support from Radeon/Nouveau/TTM Christian König
2020-05-11 17:17 ` Christian König
2020-05-11 17:17 ` Christian König
     [not found] ` <20200511171722.96576-1-christian.koenig-5C7GfCeVMHo@public.gmane.org>
2020-05-11 17:17   ` [PATCH 1/3] drm/radeon: remove AGP support Christian König
2020-05-11 17:17     ` Christian König
2020-05-11 17:17     ` Christian König
     [not found]     ` <20200511171722.96576-2-christian.koenig-5C7GfCeVMHo@public.gmane.org>
2020-05-11 20:12       ` Alex Deucher
2020-05-11 20:12         ` Alex Deucher
2020-05-11 20:12         ` Alex Deucher
     [not found]         ` <CADnq5_MyO_L+1w69qDLzhg34W6Qer-uSRR2tb7-2uXLC_6PXSg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2020-05-12  8:16           ` Michel Dänzer
2020-05-12  8:16             ` Michel Dänzer
2020-05-12  8:16             ` Michel Dänzer
     [not found]             ` <ba0b1ab7-3078-a6f2-41cd-326ca21ee99f-otUistvHUpPR7s880joybQ@public.gmane.org>
2020-05-12 13:36               ` Alex Deucher
2020-05-12 13:36                 ` Alex Deucher
2020-05-12 13:36                 ` Alex Deucher
     [not found]                 ` <CADnq5_MdbJUXs7wbG=HCOKj4Vp_NmLkcJng=EXynSXPe9gsyOQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2020-05-12 20:52                   ` Roy Spliet
2020-05-12 20:52                     ` [Nouveau] " Roy Spliet
2020-05-12 20:52                     ` Roy Spliet
     [not found]                     ` <777c08d1-3ac3-16ca-0222-e2d62c281e50-NQbd8FSOZ1kdnm+yROfE0A@public.gmane.org>
2020-05-12 21:12                       ` Alex Deucher
2020-05-12 21:12                         ` Alex Deucher
2020-05-12 21:12                         ` Alex Deucher
     [not found]                         ` <CADnq5_NK6ziShvkDug5xGHm7oZTf9qEu41gOxvNANQHFD2a-qQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2020-05-13  7:46                           ` Christian König
2020-05-13  7:46                             ` [Nouveau] " Christian König
2020-05-13  7:46                             ` Christian König
     [not found]                             ` <5c3da9d3-8b77-e97f-28a2-e1083a53a1d7-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2020-05-13  7:52                               ` Michel Dänzer
2020-05-13  7:52                                 ` [Nouveau] " Michel Dänzer
2020-05-13  7:52                                 ` Michel Dänzer
2020-05-12 18:20       ` Thomas Zimmermann
2020-05-12 18:20         ` Thomas Zimmermann
2020-05-12 18:20         ` Thomas Zimmermann
     [not found]         ` <d0314d28-7ef3-e158-ee05-4802e16c0ecc-l3A5Bk7waGM@public.gmane.org>
2020-05-12 18:29           ` Alex Deucher
2020-05-12 18:29             ` Alex Deucher
2020-05-12 18:29             ` Alex Deucher
2020-05-11 17:17   ` [PATCH 2/3] drm/nouveau: " Christian König
2020-05-11 17:17     ` Christian König
2020-05-11 17:17     ` Christian König
2020-05-11 17:17   ` [PATCH 3/3] drm/ttm: " Christian König
2020-05-11 17:17     ` Christian König
2020-05-11 17:17     ` Christian König
2020-05-11 20:14   ` [RFC] Remove AGP support from Radeon/Nouveau/TTM Al Dunsmuir
2020-05-11 20:14     ` Al Dunsmuir
2020-05-11 20:14     ` Al Dunsmuir
     [not found]     ` <1815605280.20200511161440-rieW9WUcm8FFJ04o6PK0Fg@public.gmane.org>
2020-05-11 20:27       ` Alex Deucher
2020-05-11 20:27         ` Alex Deucher
2020-05-11 20:27         ` Alex Deucher
     [not found]         ` <CADnq5_MYPcAoWzCcBkJAkd858gCVbJpCJobiwH_BBbwgEdx5rA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2020-05-11 20:43           ` Dave Airlie
2020-05-11 20:43             ` Dave Airlie
2020-05-11 20:43             ` Dave Airlie
     [not found]             ` <CAPM=9tysbcgQ-KR8+icQ=3e6+SECxkwHdVpP8=w0Pmh9ML_+Lw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2020-05-11 20:56               ` Al Dunsmuir
2020-05-11 20:56                 ` Al Dunsmuir
2020-05-11 20:56                 ` Al Dunsmuir
     [not found]                 ` <1266714942.20200511165648-rieW9WUcm8FFJ04o6PK0Fg@public.gmane.org>
2020-05-12  8:11                   ` Christian König
2020-05-12  8:11                     ` Christian König
2020-05-12  8:11                     ` Christian König
2020-05-11 20:59               ` Emil Velikov
2020-05-11 20:59                 ` Emil Velikov
2020-05-11 20:59                 ` Emil Velikov
2020-05-11 20:46           ` Al Dunsmuir
2020-05-11 20:46             ` Al Dunsmuir
2020-05-11 20:46             ` Al Dunsmuir
2020-05-12 18:29   ` [Nouveau] " Thomas Zimmermann
2020-05-12 18:29     ` Thomas Zimmermann
2020-05-12 18:29     ` Thomas Zimmermann
     [not found]     ` <1f7b3774-8724-7653-3481-9429ae991acc-l3A5Bk7waGM@public.gmane.org>
2020-05-12 18:32       ` Alex Deucher
2020-05-12 18:32         ` Alex Deucher
2020-05-12 18:32         ` Alex Deucher
     [not found]         ` <CADnq5_OnoH3YhhEjD7eOrBPPqxQZ+S1cKWRBaUMVnA0V=E0i+Q-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2020-05-12 19:10           ` Thomas Zimmermann
2020-05-12 19:10             ` Thomas Zimmermann
2020-05-12 19:10             ` Thomas Zimmermann
     [not found]             ` <1706b8de-bf4a-e9e1-2163-e782d1c2cc19-l3A5Bk7waGM@public.gmane.org>
2020-05-12 19:47               ` Alex Deucher
2020-05-12 19:47                 ` Alex Deucher
2020-05-12 19:47                 ` Alex Deucher
     [not found]                 ` <CADnq5_P6sWt=0zkRm6ySmOb1zr-7VTwLwx+ecEKg-ntJTRfY5A-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2020-05-13  9:27                   ` Emil Velikov
2020-05-13  9:27                     ` [Nouveau] " Emil Velikov
2020-05-13  9:27                     ` Emil Velikov
     [not found]                     ` <CACvgo53k72T+-WUHr2XEwcgMFh-JonQME-He5Pc6hfOk3pr+7A-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2020-05-13 11:03                       ` Thomas Zimmermann
2020-05-13 11:03                         ` Thomas Zimmermann
2020-05-13 11:03                         ` Thomas Zimmermann
2020-05-13 11:00   ` Thomas Zimmermann
2020-05-13 11:00     ` [Nouveau] " Thomas Zimmermann
2020-05-13 11:00     ` Thomas Zimmermann
2020-10-22 23:25 [PATCH 1/3] drm/radeon: remove AGP support Émeric MASCHINO

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.