dev-drm.c 747 B

1234567891011121314151617181920212223242526272829
  1. /*
  2. * linux/arch/arm/mach-exynos/dev-drm.c
  3. *
  4. * Copyright (c) 2012 Samsung Electronics Co., Ltd.
  5. * http://www.samsung.com
  6. *
  7. * EXYNOS - core DRM device
  8. *
  9. * This program is free software; you can redistribute it and/or modify
  10. * it under the terms of the GNU General Public License as published by
  11. * the Free Software Foundation; either version 2 of the License, or
  12. * (at your option) any later version.
  13. */
  14. #include <linux/kernel.h>
  15. #include <linux/dma-mapping.h>
  16. #include <linux/platform_device.h>
  17. #include <plat/devs.h>
  18. static u64 exynos_drm_dma_mask = DMA_BIT_MASK(32);
  19. struct platform_device exynos_device_drm = {
  20. .name = "exynos-drm",
  21. .dev = {
  22. .dma_mask = &exynos_drm_dma_mask,
  23. .coherent_dma_mask = DMA_BIT_MASK(32),
  24. }
  25. };