drm/exynos: Split crtc from encoder
[cascardo/linux.git] / drivers / gpu / drm / exynos / exynos_drm_drv.c
1 /*
2  * Copyright (c) 2011 Samsung Electronics Co., Ltd.
3  * Authors:
4  *      Inki Dae <inki.dae@samsung.com>
5  *      Joonyoung Shim <jy0922.shim@samsung.com>
6  *      Seung-Woo Kim <sw0312.kim@samsung.com>
7  *
8  * Permission is hereby granted, free of charge, to any person obtaining a
9  * copy of this software and associated documentation files (the "Software"),
10  * to deal in the Software without restriction, including without limitation
11  * the rights to use, copy, modify, merge, publish, distribute, sublicense,
12  * and/or sell copies of the Software, and to permit persons to whom the
13  * Software is furnished to do so, subject to the following conditions:
14  *
15  * The above copyright notice and this permission notice (including the next
16  * paragraph) shall be included in all copies or substantial portions of the
17  * Software.
18  *
19  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
20  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
21  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
22  * VA LINUX SYSTEMS AND/OR ITS SUPPLIERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
23  * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
24  * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
25  * OTHER DEALINGS IN THE SOFTWARE.
26  */
27
28 #include "drmP.h"
29 #include "drm.h"
30 #include "drm_crtc_helper.h"
31
32 #include <drm/exynos_drm.h>
33
34 #include "exynos_drm_drv.h"
35 #include "exynos_drm_crtc.h"
36 #include "exynos_drm_encoder.h"
37 #include "exynos_drm_fbdev.h"
38 #include "exynos_drm_fb.h"
39 #include "exynos_drm_gem.h"
40 #include "exynos_drm_plane.h"
41 #include "exynos_drm_vidi.h"
42 #include "exynos_drm_dmabuf.h"
43 #include "exynos_drm_display.h"
44
45 #define DRIVER_NAME     "exynos"
46 #define DRIVER_DESC     "Samsung SoC DRM"
47 #define DRIVER_DATE     "20110530"
48 #define DRIVER_MAJOR    1
49 #define DRIVER_MINOR    0
50
51 #define VBLANK_OFF_DELAY        50000
52
53 /* TODO (seanpaul): Once we remove platform drivers, we'll be calling the
54  * various panel/controller init functions directly. These init functions will
55  * return to us the ops and context, so we can get rid of these attach
56  * functions. Once the attach functions are gone, we can move this array of
57  * display pointers into the drm device's platform data.
58  *
59  * For now, we'll use a global to keep track of things.
60  */
61 static struct exynos_drm_display *displays[EXYNOS_DRM_DISPLAY_NUM_DISPLAYS];
62
63 static int exynos_drm_load(struct drm_device *dev, unsigned long flags)
64 {
65         struct exynos_drm_private *private;
66         int ret;
67         int nr;
68
69         DRM_DEBUG_DRIVER("%s\n", __FILE__);
70
71         private = kzalloc(sizeof(struct exynos_drm_private), GFP_KERNEL);
72         if (!private) {
73                 DRM_ERROR("failed to allocate private\n");
74                 return -ENOMEM;
75         }
76
77 #ifdef CONFIG_DMA_SHARED_BUFFER_USES_KDS
78         if (kds_callback_init(&private->kds_cb, 1,
79                               exynos_drm_kds_callback) < 0) {
80                 DRM_ERROR("kds alloc queue failed.\n");
81                 ret = -ENOMEM;
82                 goto err_kds;
83         }
84 #endif
85
86         DRM_INIT_WAITQUEUE(&private->wait_vsync_queue);
87
88         dev->dev_private = (void *)private;
89
90         drm_mode_config_init(dev);
91
92         /* init kms poll for handling hpd */
93         drm_kms_helper_poll_init(dev);
94
95         exynos_drm_mode_config_init(dev);
96
97         /*
98          * EXYNOS4 is enough to have two CRTCs and each crtc would be used
99          * without dependency of hardware.
100          */
101         for (nr = 0; nr < EXYNOS_DRM_DISPLAY_NUM_DISPLAYS; nr++) {
102                 ret = exynos_drm_crtc_create(dev, nr, displays[nr]);
103                 if (ret)
104                         goto err_crtc;
105         }
106
107         for (nr = 0; nr < MAX_PLANE; nr++) {
108                 ret = exynos_plane_init(dev, nr);
109                 if (ret)
110                         goto err_crtc;
111         }
112
113         ret = drm_vblank_init(dev, EXYNOS_DRM_DISPLAY_NUM_DISPLAYS);
114         if (ret)
115                 goto err_crtc;
116
117         /*
118          * probe sub drivers such as display controller and hdmi driver,
119          * that were registered at probe() of platform driver
120          * to the sub driver and create encoder and connector for them.
121          */
122         ret = exynos_drm_device_register(dev);
123         if (ret)
124                 goto err_vblank;
125
126         /* setup possible_clones. */
127         exynos_drm_encoder_setup(dev);
128
129         /*
130          * create and configure fb helper and also exynos specific
131          * fbdev object.
132          */
133         ret = exynos_drm_fbdev_init(dev);
134         if (ret) {
135                 DRM_ERROR("failed to initialize drm fbdev\n");
136                 goto err_drm_device;
137         }
138
139         drm_vblank_offdelay = VBLANK_OFF_DELAY;
140
141         return 0;
142
143 err_drm_device:
144         exynos_drm_device_unregister(dev);
145 err_vblank:
146         drm_vblank_cleanup(dev);
147 err_crtc:
148         drm_mode_config_cleanup(dev);
149 #ifdef CONFIG_DMA_SHARED_BUFFER_USES_KDS
150         kds_callback_term(&private->kds_cb);
151 err_kds:
152 #endif
153         kfree(private);
154
155         return ret;
156 }
157
158 static int exynos_drm_unload(struct drm_device *dev)
159 {
160         struct exynos_drm_private *private = dev->dev_private;
161
162         DRM_DEBUG_DRIVER("%s\n", __FILE__);
163
164         exynos_drm_fbdev_fini(dev);
165         exynos_drm_device_unregister(dev);
166         drm_vblank_cleanup(dev);
167         drm_kms_helper_poll_fini(dev);
168         drm_mode_config_cleanup(dev);
169 #ifdef CONFIG_DMA_SHARED_BUFFER_USES_KDS
170         kds_callback_term(&private->kds_cb);
171 #endif
172         kfree(private);
173
174         dev->dev_private = NULL;
175
176         return 0;
177 }
178
179 static int exynos_drm_open(struct drm_device *dev, struct drm_file *file)
180 {
181         struct exynos_drm_file_private *file_private;
182
183         DRM_DEBUG_DRIVER("%s\n", __FILE__);
184
185         file_private = kzalloc(sizeof(*file_private), GFP_KERNEL);
186         if (!file_private) {
187                 DRM_ERROR("failed to allocate exynos_drm_file_private\n");
188                 return -ENOMEM;
189         }
190         INIT_LIST_HEAD(&file_private->gem_cpu_acquire_list);
191
192         file->driver_priv = file_private;
193
194         return exynos_drm_subdrv_open(dev, file);
195 }
196
197 static void exynos_drm_preclose(struct drm_device *dev,
198                                         struct drm_file *file)
199 {
200         struct exynos_drm_file_private *file_private = file->driver_priv;
201         struct exynos_drm_gem_obj_node *cur, *d;
202
203         DRM_DEBUG_DRIVER("%s\n", __FILE__);
204
205         mutex_lock(&dev->struct_mutex);
206         /* release kds resource sets for outstanding GEM object acquires */
207         list_for_each_entry_safe(cur, d,
208                         &file_private->gem_cpu_acquire_list, list) {
209 #ifdef CONFIG_DMA_SHARED_BUFFER_USES_KDS
210                 BUG_ON(cur->exynos_gem_obj->resource_set == NULL);
211                 kds_resource_set_release(&cur->exynos_gem_obj->resource_set);
212 #endif
213                 drm_gem_object_unreference(&cur->exynos_gem_obj->base);
214                 kfree(cur);
215         }
216         mutex_unlock(&dev->struct_mutex);
217         INIT_LIST_HEAD(&file_private->gem_cpu_acquire_list);
218
219         exynos_drm_subdrv_close(dev, file);
220 }
221
222 static void exynos_drm_postclose(struct drm_device *dev, struct drm_file *file)
223 {
224         DRM_DEBUG_DRIVER("%s\n", __FILE__);
225
226         if (!file->driver_priv)
227                 return;
228
229         kfree(file->driver_priv);
230         file->driver_priv = NULL;
231 }
232
233 static void exynos_drm_lastclose(struct drm_device *dev)
234 {
235         DRM_DEBUG_DRIVER("%s\n", __FILE__);
236
237         exynos_drm_fbdev_restore_mode(dev);
238 }
239
240 static struct vm_operations_struct exynos_drm_gem_vm_ops = {
241         .fault = exynos_drm_gem_fault,
242         .open = drm_gem_vm_open,
243         .close = drm_gem_vm_close,
244 };
245
246 static struct drm_ioctl_desc exynos_ioctls[] = {
247         DRM_IOCTL_DEF_DRV(EXYNOS_GEM_CREATE, exynos_drm_gem_create_ioctl,
248                         DRM_UNLOCKED | DRM_AUTH),
249         DRM_IOCTL_DEF_DRV(EXYNOS_GEM_MAP_OFFSET,
250                         exynos_drm_gem_map_offset_ioctl, DRM_UNLOCKED |
251                         DRM_AUTH),
252         DRM_IOCTL_DEF_DRV(EXYNOS_GEM_MMAP,
253                         exynos_drm_gem_mmap_ioctl, DRM_UNLOCKED | DRM_AUTH),
254         DRM_IOCTL_DEF_DRV(EXYNOS_PLANE_SET_ZPOS, exynos_plane_set_zpos_ioctl,
255                         DRM_UNLOCKED | DRM_AUTH),
256         DRM_IOCTL_DEF_DRV(EXYNOS_VIDI_CONNECTION,
257                         vidi_connection_ioctl, DRM_UNLOCKED | DRM_AUTH),
258         DRM_IOCTL_DEF_DRV(EXYNOS_GEM_CPU_ACQUIRE,
259                         exynos_drm_gem_cpu_acquire_ioctl,
260                         DRM_UNLOCKED | DRM_AUTH),
261         DRM_IOCTL_DEF_DRV(EXYNOS_GEM_CPU_RELEASE,
262                         exynos_drm_gem_cpu_release_ioctl,
263                         DRM_UNLOCKED | DRM_AUTH),
264 };
265
266 static const struct file_operations exynos_drm_driver_fops = {
267         .owner          = THIS_MODULE,
268         .open           = drm_open,
269         .mmap           = exynos_drm_gem_mmap,
270         .poll           = drm_poll,
271         .read           = drm_read,
272         .unlocked_ioctl = drm_ioctl,
273         .release        = drm_release,
274 };
275
276 static struct drm_driver exynos_drm_driver = {
277         .driver_features        = DRIVER_HAVE_IRQ | DRIVER_BUS_PLATFORM |
278                                   DRIVER_MODESET | DRIVER_GEM | DRIVER_PRIME,
279         .load                   = exynos_drm_load,
280         .unload                 = exynos_drm_unload,
281         .open                   = exynos_drm_open,
282         .preclose               = exynos_drm_preclose,
283         .lastclose              = exynos_drm_lastclose,
284         .postclose              = exynos_drm_postclose,
285         .get_vblank_counter     = drm_vblank_count,
286         .enable_vblank          = exynos_drm_crtc_enable_vblank,
287         .disable_vblank         = exynos_drm_crtc_disable_vblank,
288 #if defined(CONFIG_DEBUG_FS)
289         .debugfs_init           = exynos_drm_debugfs_init,
290         .debugfs_cleanup        = exynos_drm_debugfs_cleanup,
291 #endif
292         .gem_free_object        = exynos_drm_gem_free_object,
293         .gem_vm_ops             = &exynos_drm_gem_vm_ops,
294         .dumb_create            = exynos_drm_gem_dumb_create,
295         .dumb_map_offset        = exynos_drm_gem_dumb_map_offset,
296         .dumb_destroy           = exynos_drm_gem_dumb_destroy,
297         .prime_handle_to_fd     = drm_gem_prime_handle_to_fd,
298         .prime_fd_to_handle     = drm_gem_prime_fd_to_handle,
299         .gem_prime_export       = exynos_dmabuf_prime_export,
300         .gem_prime_import       = exynos_dmabuf_prime_import,
301         .ioctls                 = exynos_ioctls,
302         .fops                   = &exynos_drm_driver_fops,
303         .name   = DRIVER_NAME,
304         .desc   = DRIVER_DESC,
305         .date   = DRIVER_DATE,
306         .major  = DRIVER_MAJOR,
307         .minor  = DRIVER_MINOR,
308 };
309
310 #ifdef CONFIG_EXYNOS_IOMMU
311 static int iommu_init(struct platform_device *pdev)
312 {
313         /* DRM device expects a IOMMU mapping to be already
314          * created in FIMD. Else this function should
315          * throw an error.
316          */
317         if (exynos_drm_common_mapping==NULL) {
318                 printk(KERN_ERR "exynos drm common mapping is invalid\n");
319                 return -1;
320         }
321
322         /*
323          * The ordering in Makefile warrants that this is initialized after
324          * FIMD, so only just ensure that it works as expected and we are
325          * reusing the mapping originally created in exynos_drm_fimd.c.
326          */
327         WARN_ON(!exynos_drm_common_mapping);
328         if (!s5p_create_iommu_mapping(&pdev->dev, 0,
329                                 0, 0, exynos_drm_common_mapping)) {
330                 printk(KERN_ERR "failed to create IOMMU mapping\n");
331                 return -1;
332         }
333
334         return 0;
335 }
336
337 static void iommu_deinit(struct platform_device *pdev)
338 {
339         /* detach the device and mapping */
340         s5p_destroy_iommu_mapping(&pdev->dev);
341         DRM_DEBUG("released the IOMMU mapping\n");
342
343         return;
344 }
345 #endif
346
347 static int exynos_drm_platform_probe(struct platform_device *pdev)
348 {
349         struct device *dev = &pdev->dev;
350         int ret;
351
352         DRM_DEBUG_DRIVER("%s\n", __FILE__);
353
354 #ifdef CONFIG_EXYNOS_IOMMU
355         if (iommu_init(pdev)) {
356                 DRM_ERROR("failed to initialize IOMMU\n");
357                 return -ENODEV;
358         }
359 #endif
360
361         exynos_drm_driver.num_ioctls = DRM_ARRAY_SIZE(exynos_ioctls);
362
363         pm_vt_switch_required(dev, false);
364         pm_runtime_enable(dev);
365         pm_runtime_get_sync(dev);
366
367         ret = drm_platform_init(&exynos_drm_driver, pdev);
368 #ifdef CONFIG_EXYNOS_IOMMU
369         if (ret)
370                 iommu_deinit(pdev);
371 #endif
372
373         return ret;
374 }
375
376 static int __devexit exynos_drm_platform_remove(struct platform_device *pdev)
377 {
378         struct device *dev = &pdev->dev;
379
380         DRM_DEBUG_DRIVER("%s\n", __FILE__);
381
382         pm_vt_switch_unregister(dev);
383         pm_runtime_disable(dev);
384
385         drm_platform_exit(&exynos_drm_driver, pdev);
386
387 #ifdef CONFIG_EXYNOS_IOMMU
388         iommu_deinit(pdev);
389 #endif
390         return 0;
391 }
392
393 void exynos_display_attach_panel(enum exynos_drm_display_type type,
394                 struct exynos_panel_ops *ops, void *ctx)
395 {
396         int i;
397         for (i = 0; i < EXYNOS_DRM_DISPLAY_NUM_DISPLAYS; i++) {
398                 if (displays[i]->display_type == type) {
399                         displays[i]->panel_ctx = ctx;
400                         displays[i]->panel_ops = ops;
401                         return;
402                 }
403         }
404 }
405
406 void exynos_display_attach_controller(enum exynos_drm_display_type type,
407                 struct exynos_controller_ops *ops, void *ctx)
408 {
409         int i;
410         for (i = 0; i < EXYNOS_DRM_DISPLAY_NUM_DISPLAYS; i++) {
411                 if (displays[i]->display_type == type) {
412                         displays[i]->controller_ctx = ctx;
413                         displays[i]->controller_ops = ops;
414                         return;
415                 }
416         }
417 }
418
419 static int display_subdrv_probe(struct drm_device *drm_dev,
420                 struct exynos_drm_subdrv *subdrv)
421 {
422         struct exynos_drm_display *display = subdrv->display;
423         int ret;
424
425         if (!display->controller_ops || !display->panel_ops)
426                 return -EINVAL;
427
428         if (display->controller_ops->subdrv_probe) {
429                 ret = display->controller_ops->subdrv_probe(
430                                 display->controller_ctx, drm_dev);
431                 if (ret)
432                         return ret;
433         }
434
435         if (display->panel_ops->subdrv_probe) {
436                 ret = display->panel_ops->subdrv_probe(display->panel_ctx,
437                                 drm_dev);
438                 if (ret)
439                         return ret;
440         }
441
442         return 0;
443 }
444
445 int exynos_display_init(struct exynos_drm_display *display,
446                 enum exynos_drm_display_type type)
447 {
448         struct exynos_drm_subdrv *subdrv;
449
450         subdrv = kzalloc(sizeof(*subdrv), GFP_KERNEL);
451         if (!subdrv) {
452                 DRM_ERROR("Failed to allocate display subdrv\n");
453                 return -ENOMEM;
454         }
455
456         display->display_type = type;
457         display->pipe = -1;
458         display->subdrv = subdrv;
459
460         subdrv->probe = display_subdrv_probe;
461         subdrv->display = display;
462         exynos_drm_subdrv_register(subdrv);
463
464         return 0;
465 }
466
467 void exynos_display_remove(struct exynos_drm_display *display)
468 {
469         if (display->subdrv) {
470                 exynos_drm_subdrv_unregister(display->subdrv);
471                 kfree(display->subdrv);
472         }
473 }
474
475 static int exynos_drm_resume_displays(void)
476 {
477         int i;
478
479         for (i = 0; i < EXYNOS_DRM_DISPLAY_NUM_DISPLAYS; i++) {
480                 struct exynos_drm_display *display = displays[i];
481                 struct drm_connector *connector = display->subdrv->connector;
482
483                 if (!connector || !connector->funcs->dpms)
484                         continue;
485
486                 connector->funcs->dpms(connector, display->suspend_dpms);
487         }
488         return 0;
489 }
490
491 static int exynos_drm_suspend_displays(void)
492 {
493         int i;
494
495         for (i = 0; i < EXYNOS_DRM_DISPLAY_NUM_DISPLAYS; i++) {
496                 struct exynos_drm_display *display = displays[i];
497                 struct drm_connector *connector = display->subdrv->connector;
498
499                 if (!connector)
500                         continue;
501
502                 display->suspend_dpms = connector->dpms;
503                 if (connector->funcs->dpms)
504                         connector->funcs->dpms(connector, DRM_MODE_DPMS_OFF);
505         }
506         return 0;
507 }
508
509 #ifdef CONFIG_PM_SLEEP
510 static int exynos_drm_suspend(struct device *dev)
511 {
512         if (pm_runtime_suspended(dev))
513                 return 0;
514
515         return exynos_drm_suspend_displays();
516 }
517
518 static int exynos_drm_resume(struct device *dev)
519 {
520         if (pm_runtime_suspended(dev))
521                 return 0;
522
523         return exynos_drm_resume_displays();
524 }
525 #endif
526
527 #ifdef CONFIG_PM_RUNTIME
528 static int exynos_drm_runtime_resume(struct device *dev)
529 {
530         return exynos_drm_resume_displays();
531 }
532
533 static int exynos_drm_runtime_suspend(struct device *dev)
534 {
535         return exynos_drm_suspend_displays();
536 }
537 #endif
538
539 static const struct dev_pm_ops drm_pm_ops = {
540         SET_SYSTEM_SLEEP_PM_OPS(exynos_drm_suspend, exynos_drm_resume)
541         SET_RUNTIME_PM_OPS(exynos_drm_runtime_suspend,
542                         exynos_drm_runtime_resume, NULL)
543 };
544
545 static struct platform_driver exynos_drm_platform_driver = {
546         .probe          = exynos_drm_platform_probe,
547         .remove         = __devexit_p(exynos_drm_platform_remove),
548         .driver         = {
549                 .owner  = THIS_MODULE,
550                 .name   = "exynos-drm",
551                 .pm     = &drm_pm_ops,
552         },
553 };
554
555 static int __init exynos_drm_init(void)
556 {
557         int ret, i;
558
559         DRM_DEBUG_DRIVER("%s\n", __FILE__);
560
561         for (i = 0; i < EXYNOS_DRM_DISPLAY_NUM_DISPLAYS; i++) {
562                 displays[i] = kzalloc(sizeof(*displays[i]), GFP_KERNEL);
563                 if (!displays[i]) {
564                         ret = -ENOMEM;
565                         goto out_display;
566                 }
567
568                 ret = exynos_display_init(displays[i], i);
569                 if (ret)
570                         goto out_display;
571         }
572
573 #ifdef CONFIG_DRM_EXYNOS_FIMD
574         ret = platform_driver_register(&fimd_driver);
575         if (ret < 0)
576                 goto out_fimd;
577 #endif
578
579 #ifdef CONFIG_DRM_EXYNOS_DP
580         ret = platform_driver_register(&dp_driver);
581         if (ret < 0)
582                 goto out_dp_driver;
583 #endif
584
585 #ifdef CONFIG_DRM_EXYNOS_HDMI
586         ret = platform_driver_register(&hdmi_driver);
587         if (ret < 0)
588                 goto out_hdmi;
589         ret = platform_driver_register(&mixer_driver);
590         if (ret < 0)
591                 goto out_mixer;
592 #endif
593
594 #ifdef CONFIG_DRM_EXYNOS_VIDI
595         ret = platform_driver_register(&vidi_driver);
596         if (ret < 0)
597                 goto out_vidi;
598 #endif
599
600         ret = platform_driver_register(&exynos_drm_platform_driver);
601         if (ret < 0)
602                 goto out;
603
604         return 0;
605
606 out:
607 #ifdef CONFIG_DRM_EXYNOS_VIDI
608 out_vidi:
609         platform_driver_unregister(&vidi_driver);
610 #endif
611
612 #ifdef CONFIG_DRM_EXYNOS_HDMI
613         platform_driver_unregister(&mixer_driver);
614 out_mixer:
615         platform_driver_unregister(&hdmi_driver);
616 out_hdmi:
617 #endif
618
619         platform_driver_unregister(&dp_driver);
620 out_dp_driver:
621 #ifdef CONFIG_DRM_EXYNOS_FIMD
622         platform_driver_unregister(&fimd_driver);
623 out_fimd:
624 #endif
625 out_display:
626         for (i = 0; i < EXYNOS_DRM_DISPLAY_NUM_DISPLAYS; i++) {
627                 if (!displays[i])
628                         continue;
629
630                 exynos_display_remove(displays[i]);
631                 kfree(displays[i]);
632         }
633         return ret;
634 }
635
636 static void __exit exynos_drm_exit(void)
637 {
638         int i;
639
640         DRM_DEBUG_DRIVER("%s\n", __FILE__);
641
642         platform_driver_unregister(&exynos_drm_platform_driver);
643
644 #ifdef CONFIG_DRM_EXYNOS_HDMI
645         platform_driver_unregister(&mixer_driver);
646         platform_driver_unregister(&hdmi_driver);
647 #endif
648
649 #ifdef CONFIG_DRM_EXYNOS_VIDI
650         platform_driver_unregister(&vidi_driver);
651 #endif
652
653         platform_driver_unregister(&dp_driver);
654 #ifdef CONFIG_DRM_EXYNOS_FIMD
655         platform_driver_unregister(&fimd_driver);
656 #endif
657
658         for (i = 0; i < EXYNOS_DRM_DISPLAY_NUM_DISPLAYS; i++) {
659                 if (!displays[i])
660                         continue;
661
662                 exynos_display_remove(displays[i]);
663                 kfree(displays[i]);
664         }
665 }
666
667 module_init(exynos_drm_init);
668 module_exit(exynos_drm_exit);
669
670 MODULE_AUTHOR("Inki Dae <inki.dae@samsung.com>");
671 MODULE_AUTHOR("Joonyoung Shim <jy0922.shim@samsung.com>");
672 MODULE_AUTHOR("Seung-Woo Kim <sw0312.kim@samsung.com>");
673 MODULE_DESCRIPTION("Samsung SoC DRM Driver");
674 MODULE_LICENSE("GPL");