/* * DRM/KMS device registration for TI OMAP platforms * * Copyright (C) 2012 Texas Instruments * Author: Rob Clark <rob.clark@linaro.org> * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 as published by * the Free Software Foundation. * * This program is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for * more details. * * You should have received a copy of the GNU General Public License along with * this program. If not, see <http://www.gnu.org/licenses/>. */ #include <linux/module.h> #include <linux/kernel.h> #include <linux/mm.h> #include <linux/init.h> #include <linux/platform_device.h> #include <linux/dma-mapping.h> #include <linux/platform_data/omap_drm.h> #include "soc.h" #include "display.h" #if IS_ENABLED(CONFIG_DRM_OMAP) static struct omap_drm_platform_data platform_data; static struct platform_device omap_drm_device = { .dev = { .coherent_dma_mask = DMA_BIT_MASK(32), .platform_data = &platform_data, }, .name = "omapdrm", .id = 0, };
int __init omap_init_drm(void) { platform_data.omaprev = GET_OMAP_TYPE; return platform_device_register(&omap_drm_device); }Contributors
Person | Tokens | Prop | Commits | CommitProp |
Andy Gross | 15 | 71.43% | 1 | 33.33% |
Rob Clark | 6 | 28.57% | 2 | 66.67% |
Total | 21 | 100.00% | 3 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Archit Taneja | 10 | 90.91% | 1 | 50.00% |
Andy Gross | 1 | 9.09% | 1 | 50.00% |
Total | 11 | 100.00% | 2 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Andy Gross | 74 | 66.67% | 1 | 20.00% |
Rob Clark | 21 | 18.92% | 2 | 40.00% |
Archit Taneja | 15 | 13.51% | 1 | 20.00% |
Javier Martinez Canillas | 1 | 0.90% | 1 | 20.00% |
Total | 111 | 100.00% | 5 | 100.00% |