diff options
| author | Noralf Trønnes <[email protected]> | 2018-11-10 14:56:47 +0000 |
|---|---|---|
| committer | Noralf Trønnes <[email protected]> | 2018-11-20 13:58:19 +0000 |
| commit | 3db8d37dd84e93f352b8a8d34a713415cd1a6d0f (patch) | |
| tree | 30d24df108e711b85628e252399df6b2bda5a95e /drivers/gpu/drm/tinydrm/core/tinydrm-helpers.c | |
| parent | drm/cma-helper: Add DRM_GEM_CMA_VMAP_DRIVER_OPS (diff) | |
| download | kernel-3db8d37dd84e93f352b8a8d34a713415cd1a6d0f.tar.gz kernel-3db8d37dd84e93f352b8a8d34a713415cd1a6d0f.zip | |
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 <[email protected]>
Cc: Eric Anholt <[email protected]>
Signed-off-by: Noralf Trønnes <[email protected]>
Acked-by: Christian König <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/tinydrm/core/tinydrm-helpers.c')
| -rw-r--r-- | drivers/gpu/drm/tinydrm/core/tinydrm-helpers.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/gpu/drm/tinydrm/core/tinydrm-helpers.c b/drivers/gpu/drm/tinydrm/core/tinydrm-helpers.c index dcd390163a4a..bf6bfbc5d412 100644 --- a/drivers/gpu/drm/tinydrm/core/tinydrm-helpers.c +++ b/drivers/gpu/drm/tinydrm/core/tinydrm-helpers.c @@ -9,12 +9,18 @@ #include <linux/backlight.h> #include <linux/dma-buf.h> +#include <linux/module.h> #include <linux/pm.h> #include <linux/spi/spi.h> #include <linux/swab.h> +#include <drm/drm_device.h> +#include <drm/drm_drv.h> +#include <drm/drm_fourcc.h> +#include <drm/drm_print.h> #include <drm/tinydrm/tinydrm.h> #include <drm/tinydrm/tinydrm-helpers.h> +#include <uapi/drm/drm.h> static unsigned int spi_max; module_param(spi_max, uint, 0400); |
