drm/radeon: Move AGP data structures into radeon
authorThomas Zimmermann <tzimmermann@suse.de>
Fri, 7 May 2021 18:57:07 +0000 (20:57 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Mon, 10 May 2021 13:46:50 +0000 (15:46 +0200)
commit43359786a51e7fa7d89a45908de0ecee2d1dafa6
treebe73f0e8c2811827c00c407e6c35585e901402fe
parentcf241e872fc203b59e8ff4b4eae6a6c2511d3747
drm/radeon: Move AGP data structures into radeon

With the AGP code already duplicated, move over the AGP structures
from the legacy code base in to radeon. The AGP data structures that
are required by radeon are now declared within the driver. The AGP
instance is stored in struct radeon_device.agp.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210507185709.22797-3-tzimmermann@suse.de
drivers/gpu/drm/radeon/radeon.h
drivers/gpu/drm/radeon/radeon_agp.c
drivers/gpu/drm/radeon/radeon_drv.c
drivers/gpu/drm/radeon/radeon_kms.c
drivers/gpu/drm/radeon/radeon_ttm.c