summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-exynos/dev-drm.c
blob: 17c9c6ecc2e011cedf0b8f636df25e874db0c33c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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),
	}
};
OpenPOWER on IntegriCloud