drm/gem: Add drm_gem_dumb_map_offset()
authorNoralf Trønnes <noralf@tronnes.org>
Sun, 23 Jul 2017 19:16:17 +0000 (21:16 +0200)
committerNoralf Trønnes <noralf@tronnes.org>
Sat, 29 Jul 2017 11:49:55 +0000 (13:49 +0200)
commitdb61152703c64133e42b8c720a83ff36e1824bb1
tree6f02f669dd2a9c59cf76a7e4e793a0ed0282aab0
parent4e6b1e91253ebf701b4ec3586cba5596527a4d0a
drm/gem: Add drm_gem_dumb_map_offset()

Add a common drm_driver.dumb_map_offset function for GEM backed drivers.

Signed-off-by: Noralf Trønnes <noralf@tronnes.org>
Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Sean Paul <seanpaul@chromium.org>
Link: https://patchwork.freedesktop.org/patch/msgid/1500837417-40580-2-git-send-email-noralf@tronnes.org
drivers/gpu/drm/drm_gem.c
include/drm/drm_gem.h