]> git.baikalelectronics.ru Git - kernel.git/commit
drm/bochs: Replace prepare_fb()/cleanup_fb() with GEM VRAM helpers
authorThomas Zimmermann <tzimmermann@suse.de>
Thu, 24 Oct 2019 08:14:02 +0000 (10:14 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Thu, 24 Oct 2019 14:12:30 +0000 (16:12 +0200)
commitebfe6212c159b2144df96080c84dcd6f1eb2d4f0
tree6dd0b640fce6b4b94181bafc5d6847c8036c6061
parent4cb33996a65446548531148e34ebe74d90844835
drm/bochs: Replace prepare_fb()/cleanup_fb() with GEM VRAM helpers

GEM VRAM provides an implementation for prepare_fb() and cleanup_fb()
of struct drm_simple_display_pipe_funcs. Switch over bochs.

v2:
* use helpers for struct drm_simple_display_pipe_funcs

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20191024081404.6978-3-tzimmermann@suse.de
drivers/gpu/drm/bochs/bochs_kms.c