drm/dumb-buffers: Add defaults for .dumb_map_offset and .dumb_destroy
authorNoralf Trønnes <noralf@tronnes.org>
Sun, 23 Jul 2017 19:16:18 +0000 (21:16 +0200)
committerNoralf Trønnes <noralf@tronnes.org>
Sat, 29 Jul 2017 11:51:44 +0000 (13:51 +0200)
commit0be8d63a840ab7cacb08f1af1f2395be0fe3b698
treee84eea16a9c52cf50fe91f55c534d97648e4b682
parentdb61152703c64133e42b8c720a83ff36e1824bb1
drm/dumb-buffers: Add defaults for .dumb_map_offset and .dumb_destroy

Almost everyone did end up using GEM as bo, so this adds defaults
for the drm_driver.dumb_destroy and drm_driver.dumb_map_offset
callbacks.

Signed-off-by: Noralf Trønnes <noralf@tronnes.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Sean Paul <seanpaul@chromium.org>
Link: https://patchwork.freedesktop.org/patch/msgid/1500837417-40580-3-git-send-email-noralf@tronnes.org
drivers/gpu/drm/drm_dumb_buffers.c