drm/bochs: Use regular atomic helpers
authorThomas Zimmermann <tzimmermann@suse.de>
Mon, 2 Sep 2024 10:53:45 +0000 (12:53 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Fri, 6 Sep 2024 12:41:36 +0000 (14:41 +0200)
commit2037174993c80c059c2cb58af2184157cb08039e
tree2c196498de7c28dc4fe7a75364f5eac460f2b2e0
parent04826f588682ed565cede451f8000be6c2245f20
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 <tzimmermann@suse.de>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240902105546.792625-8-tzimmermann@suse.de
drivers/gpu/drm/tiny/bochs.c