From: Thomas Zimmermann Date: Mon, 30 Sep 2024 13:03:20 +0000 (+0200) Subject: drm/cirrus: Use video aperture helpers X-Git-Tag: v6.13-rc1~122^2~18^2~17 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c77ec6b18b0397cf1f0c270ea77310f70fe48081;p=thirdparty%2Fkernel%2Flinux.git drm/cirrus: Use video aperture helpers DRM's aperture functions have long been implemented as helpers under drivers/video/ for use with fbdev. Avoid the DRM wrappers by calling the video functions directly. Signed-off-by: Thomas Zimmermann Cc: Dave Airlie Cc: Gerd Hoffmann Acked-by: Javier Martinez Canillas Acked-by: Alex Deucher Link: https://patchwork.freedesktop.org/patch/msgid/20240930130921.689876-23-tzimmermann@suse.de --- diff --git a/drivers/gpu/drm/tiny/cirrus.c b/drivers/gpu/drm/tiny/cirrus.c index 20c4479ed4c3f..f06a2be71f604 100644 --- a/drivers/gpu/drm/tiny/cirrus.c +++ b/drivers/gpu/drm/tiny/cirrus.c @@ -16,6 +16,7 @@ * Copyright 1999-2001 Jeff Garzik */ +#include #include #include #include @@ -23,7 +24,6 @@ #include