drm: Inline AGP wrappers into their only callers
authorThomas Zimmermann <tzimmermann@suse.de>
Tue, 12 Jan 2021 08:10:30 +0000 (09:10 +0100)
committerThomas Zimmermann <tzimmermann@suse.de>
Wed, 13 Jan 2021 13:21:53 +0000 (14:21 +0100)
commitff28a9f8d3b4e2e6d07e37e0f5e15119ee4aff55
tree9fb8173e42574068a3085aa2a1d4392ab413578c
parentfa49fdbe78a5af9e438608e53ad4d7123f25bd45
drm: Inline AGP wrappers into their only callers

The AGP wrapper functions serve no purpose. They used to handle
builds that have CONFIG_AGP unset. But their callers are all in
drm_agpsupport.c, which only gets build with CONFIG_AGP.

v2:
* clarify CONFIG_AGP in commit description (Daniel)

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20210112081035.6882-2-tzimmermann@suse.de
drivers/gpu/drm/drm_agpsupport.c
drivers/gpu/drm/drm_memory.c
include/drm/drm_agpsupport.h