From: Thomas Zimmermann Subject: Re: [Nouveau] [RFC] Remove AGP support from Radeon/Nouveau/TTM Date: Wed, 13 May 2020 13:03:03 +0200 Message-ID: <1da8dd54-c75a-2e7d-2afd-cfcdd2b66df6@suse.de> References: <20200511171722.96576-1-christian.koenig@amd.com> <1f7b3774-8724-7653-3481-9429ae991acc@suse.de> <1706b8de-bf4a-e9e1-2163-e782d1c2cc19@suse.de> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1424849179==" Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: amd-gfx-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Sender: "amd-gfx" To: Emil Velikov , Alex Deucher Cc: =?UTF-8?Q?Christian_K=c3=b6nig?= , Maling list - DRI developers , amd-gfx list , nouveau List-Id: nouveau.vger.kernel.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --===============1424849179== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="KDNDDltnV1PerouaFlPSJWSj7qhr6vNlI" This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --KDNDDltnV1PerouaFlPSJWSj7qhr6vNlI Content-Type: multipart/mixed; boundary="vkugGSq8rL6Hz2SQ48hqrANz0XJtmXEYR"; protected-headers="v1" From: Thomas Zimmermann To: Emil Velikov , Alex Deucher Cc: =?UTF-8?Q?Christian_K=c3=b6nig?= , amd-gfx list , Maling list - DRI developers , nouveau Message-ID: <1da8dd54-c75a-2e7d-2afd-cfcdd2b66df6-l3A5Bk7waGM@public.gmane.org> Subject: Re: [Nouveau] [RFC] Remove AGP support from Radeon/Nouveau/TTM References: <20200511171722.96576-1-christian.koenig-5C7GfCeVMHo@public.gmane.org> <1f7b3774-8724-7653-3481-9429ae991acc-l3A5Bk7waGM@public.gmane.org> <1706b8de-bf4a-e9e1-2163-e782d1c2cc19-l3A5Bk7waGM@public.gmane.org> In-Reply-To: --vkugGSq8rL6Hz2SQ48hqrANz0XJtmXEYR Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable Hi Am 13.05.20 um 11:27 schrieb Emil Velikov: > On Tue, 12 May 2020 at 20:48, Alex Deucher wrot= e: >=20 >>>>> >>>>> There's some AGP support code in the DRM core. Can some of that dec= lared >>>>> as legacy? >>>>> >>>>> Specifically, what about these AGP-related ioctl calls? Can they be= >>>>> declared as legacy? It would appear to me that KMS-based drivers do= n't >>>>> have to manage AGP by themselves. (?) >>>> >>>> The old drm core AGP code is mainly (only?) for the non-KMS drivers.= >>>> E.g., mach64, r128, sis, savage, etc. >>> >>> Exactly my point. There's one drm_agp_init() call left in radeon. The= >>> rest of the AGP code is apparently for legacy non-KMS drivers. Should= >>> the related ioctl calls be declared as legacy (i.e., listed with >>> DRM_LEGACY_IOCTL_DEF instead of DRM_IOCTL_DEF)? If so, much of the AG= P >>> core code could probably be moved behind CONFIG_DRM_LEGACY as well. >> >> Ah, I forgot about drm_agp_init(). I was just thinking the other AGP >> stuff. Yeah, I think we could make it legacy. >> > Fwiw I've got local patches a) removing drm_agp_init() from radeon and > b) making the core drm code legacy only. > Will try to finish them over the weekend and send out. >=20 > Even if AGP GART gets dropped the b) patches will be good ;-) Fantastic! Please see one of my other comments in this thread. There's still drm_agp_init() somewhere in radeon_drv.c. So patch a) might still be useful. Best regards Thomas >=20 > -Emil >=20 --=20 Thomas Zimmermann Graphics Driver Developer SUSE Software Solutions Germany GmbH Maxfeldstr. 5, 90409 N=C3=BCrnberg, Germany (HRB 36809, AG N=C3=BCrnberg) Gesch=C3=A4ftsf=C3=BChrer: Felix Imend=C3=B6rffer --vkugGSq8rL6Hz2SQ48hqrANz0XJtmXEYR-- --KDNDDltnV1PerouaFlPSJWSj7qhr6vNlI Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEchf7rIzpz2NEoWjlaA3BHVMLeiMFAl670+cACgkQaA3BHVML eiMhewgAkDrFMG1fV6OKme6Y+Z9n6izMnDOJ2ZHcgErg/whAPCL/hVuDSCTEd+7B uqvFsUS7eE05tYRTese+pLDgtFoWJChMMx5pSHgBRxJ6SppTKyQQ07hLy07J8fAL 4KmrfV3Ftyh1JveNKAX1Zy6KrntnbCctRVnO7oFD1RWycBSISSiYqevvj6TGt6Xj WQ/pg/DWT8eZl8w7wRksO2yJbusEwnzoSJ1LR5UX27YZ4CR4YGz88GCfHJJwIuiF WuQravnSXx8z5oOckhAQNRkHrhN4eO7GokhWn6W5Sj8rch4PuVfLN8+5ntCgTfYz FuGxE1PmhqQqlgFsyhDNTVOPcrSh1Q== =tXWH -----END PGP SIGNATURE----- --KDNDDltnV1PerouaFlPSJWSj7qhr6vNlI-- --===============1424849179== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ amd-gfx mailing list amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org https://lists.freedesktop.org/mailman/listinfo/amd-gfx --===============1424849179==--