From: Thomas Zimmermann Date: Mon, 2 Sep 2024 10:53:45 +0000 (+0200) Subject: drm/bochs: Use regular atomic helpers X-Git-Tag: v6.13-rc1~122^2~23^2~99 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2037174993c80c059c2cb58af2184157cb08039e;p=thirdparty%2Fkernel%2Flinux.git drm/bochs: Use regular atomic helpers Remove the simple display pipeline in favor of the regular atomic helpers in bochs. The simple-pipe helpers are considered deprecated in DRM. This effectivly inlines the simple-pipe code for plane and CRTC support. Instead of a single update helper, there's now a mode-set helper for the CRTC and an update helper for the plane. The encoder changes type from NONE ot VIRTUAL. Removing simple-pipe helpers from bochs will allow for related cleanups in GEM VRAM helpers. Signed-off-by: Thomas Zimmermann Acked-by: Gerd Hoffmann Link: https://patchwork.freedesktop.org/patch/msgid/20240902105546.792625-8-tzimmermann@suse.de --- diff --git a/drivers/gpu/drm/tiny/bochs.c b/drivers/gpu/drm/tiny/bochs.c index 5679f1b090af0..76e29950a8075 100644 --- a/drivers/gpu/drm/tiny/bochs.c +++ b/drivers/gpu/drm/tiny/bochs.c @@ -4,6 +4,7 @@ #include #include +#include #include #include #include @@ -14,8 +15,8 @@ #include #include #include +#include #include -#include #include