]> git.baikalelectronics.ru Git - kernel.git/commit
drm/r128: make ATI PCI GART part of its only user, r128
authorJani Nikula <jani.nikula@intel.com>
Tue, 19 Nov 2019 10:05:36 +0000 (12:05 +0200)
committerJani Nikula <jani.nikula@intel.com>
Wed, 20 Nov 2019 09:09:05 +0000 (11:09 +0200)
commit2dc41ea8f60baa61803fea3378a99e8d4d5b8604
treeb18f4db76fac0d979dcf223f85059caddf26cc66
parent30277b4e51a5b2a3ebb99fc9c12c5c056cb8f22e
drm/r128: make ATI PCI GART part of its only user, r128

The ATI Rage 128 driver has been the only user of ATI PCI GART code
since Radeon dropped UMS support in commit 02552afa7b44 ("drm/radeon:
remove UMS support"). Clean up the drm top level directory, Kconfig and
Makefile by making ati_pcigart.[ch] part of r128. Drop the
CONFIG_DRM_ATI_PCIGART config option made redundant by the change.

This reduces drm.ko module size slightly when legacy drivers are
enabled, and moves the baggage to r128.ko instead.

Cc: Alex Deucher <alexander.deucher@amd.com>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: Dave Airlie <airlied@redhat.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191119100536.12024-1-jani.nikula@intel.com
drivers/gpu/drm/Kconfig
drivers/gpu/drm/Makefile
drivers/gpu/drm/ati_pcigart.c [deleted file]
drivers/gpu/drm/r128/Makefile
drivers/gpu/drm/r128/ati_pcigart.c [new file with mode: 0644]
drivers/gpu/drm/r128/ati_pcigart.h [new file with mode: 0644]
drivers/gpu/drm/r128/r128_drv.h
include/drm/ati_pcigart.h [deleted file]