drm/tinydrm: Use DRM_GEM_CMA_VMAP_DRIVER_OPS
authorNoralf Trønnes <noralf@tronnes.org>
Sat, 10 Nov 2018 14:56:47 +0000 (15:56 +0100)
committerNoralf Trønnes <noralf@tronnes.org>
Tue, 20 Nov 2018 13:58:19 +0000 (14:58 +0100)
commit3db8d37dd84e93f352b8a8d34a713415cd1a6d0f
tree30d24df108e711b85628e252399df6b2bda5a95e
parentb9068cde51eea189c2c3560a9a8ae83f7b213c9c
drm/tinydrm: Use DRM_GEM_CMA_VMAP_DRIVER_OPS

The CMA helper now has the functionality to ensure a virtual address on
imported buffer so use that.

While touching all tinydrm drivers, remove the unnecessary inclusion of
drm_fb_helper.h in some drivers.

Cc: David Lechner <david@lechnology.com>
Cc: Eric Anholt <eric@anholt.net>
Signed-off-by: Noralf Trønnes <noralf@tronnes.org>
Acked-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Link: https://patchwork.freedesktop.org/patch/msgid/20181110145647.17580-6-noralf@tronnes.org
drivers/gpu/drm/tinydrm/core/tinydrm-core.c
drivers/gpu/drm/tinydrm/core/tinydrm-helpers.c
drivers/gpu/drm/tinydrm/hx8357d.c
drivers/gpu/drm/tinydrm/ili9225.c
drivers/gpu/drm/tinydrm/ili9341.c
drivers/gpu/drm/tinydrm/mi0283qt.c
drivers/gpu/drm/tinydrm/mipi-dbi.c
drivers/gpu/drm/tinydrm/repaper.c
drivers/gpu/drm/tinydrm/st7586.c
drivers/gpu/drm/tinydrm/st7735r.c
include/drm/tinydrm/tinydrm.h