summaryrefslogtreecommitdiff
path: root/arch/arm/mach-exynos/dev-drm.c
diff options
context:
space:
mode:
authorKukjin Kim <kgene.kim@samsung.com>2012-05-19 18:01:26 (GMT)
committerKukjin Kim <kgene.kim@samsung.com>2012-05-19 18:01:26 (GMT)
commitab5a4e6381d27a6554e6833383e536773e3a6ec1 (patch)
tree88cfa18c33229cea756c2308607c26c1f19e9203 /arch/arm/mach-exynos/dev-drm.c
parent36be50515fe2aef61533b516fa2576a2c7fe7664 (diff)
parent5ddfa8428b9f21453b1160846143e0b50d51b27c (diff)
downloadlinux-fsl-qoriq-ab5a4e6381d27a6554e6833383e536773e3a6ec1.tar.xz
Merge branch 'next/devel-samsung' into next/devel-samsung-2
Diffstat (limited to 'arch/arm/mach-exynos/dev-drm.c')
-rw-r--r--arch/arm/mach-exynos/dev-drm.c29
1 files changed, 29 insertions, 0 deletions
diff --git a/arch/arm/mach-exynos/dev-drm.c b/arch/arm/mach-exynos/dev-drm.c
new file mode 100644
index 0000000..17c9c6e
--- /dev/null
+++ b/arch/arm/mach-exynos/dev-drm.c
@@ -0,0 +1,29 @@
+/*
+ * linux/arch/arm/mach-exynos/dev-drm.c
+ *
+ * Copyright (c) 2012 Samsung Electronics Co., Ltd.
+ * http://www.samsung.com
+ *
+ * EXYNOS - core DRM device
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ */
+
+#include <linux/kernel.h>
+#include <linux/dma-mapping.h>
+#include <linux/platform_device.h>
+
+#include <plat/devs.h>
+
+static u64 exynos_drm_dma_mask = DMA_BIT_MASK(32);
+
+struct platform_device exynos_device_drm = {
+ .name = "exynos-drm",
+ .dev = {
+ .dma_mask = &exynos_drm_dma_mask,
+ .coherent_dma_mask = DMA_BIT_MASK(32),
+ }
+};