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)
commiteddc0acfed094293a0ee5130cc8cd2b97be8ee84
tree6dd0b640fce6b4b94181bafc5d6847c8036c6061
parent6542ad8918032a4af12b54d94f2822824777933e
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