drm/bochs: Allocate DRM device in struct bochs_device
authorThomas Zimmermann <tzimmermann@suse.de>
Mon, 2 Sep 2024 10:53:44 +0000 (12:53 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Fri, 6 Sep 2024 12:41:36 +0000 (14:41 +0200)
commit04826f588682ed565cede451f8000be6c2245f20
tree50daee30dd2d9d81f8364c9287b8765f2cd3543c
parent1d614a46743ce291d87ffae7a3658cb2195d6e8b
drm/bochs: Allocate DRM device in struct bochs_device

Allocate an instance of struct drm_device in struct bochs_device. Also
remove all uses of dev_private from bochs and upcast from the embedded
instance if necessary.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240902105546.792625-7-tzimmermann@suse.de
drivers/gpu/drm/tiny/bochs.c