drm/exynos: Turn off VT switching on suspend
[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 static int exynos_drm_load(struct drm_device *dev, unsigned long flags)
54 {
55         struct exynos_drm_private *private;
56         int ret;
57         int nr;
58
59         DRM_DEBUG_DRIVER("%s\n", __FILE__);
60
61         private = kzalloc(sizeof(struct exynos_drm_private), GFP_KERNEL);
62         if (!private) {
63                 DRM_ERROR("failed to allocate private\n");
64                 return -ENOMEM;
65         }
66
67 #ifdef CONFIG_DMA_SHARED_BUFFER_USES_KDS
68         if (kds_callback_init(&private->kds_cb, 1,
69                               exynos_drm_kds_callback) < 0) {
70                 DRM_ERROR("kds alloc queue failed.\n");
71                 ret = -ENOMEM;
72                 goto err_kds;
73         }
74 #endif
75
76         DRM_INIT_WAITQUEUE(&private->wait_vsync_queue);
77
78         dev->dev_private = (void *)private;
79
80         drm_mode_config_init(dev);
81
82         /* init kms poll for handling hpd */
83         drm_kms_helper_poll_init(dev);
84
85         exynos_drm_mode_config_init(dev);
86
87         /*
88          * EXYNOS4 is enough to have two CRTCs and each crtc would be used
89          * without dependency of hardware.
90          */
91         for (nr = 0; nr < MAX_CRTC; nr++) {
92                 ret = exynos_drm_crtc_create(dev, nr);
93                 if (ret)
94                         goto err_crtc;
95         }
96
97         for (nr = 0; nr < MAX_PLANE; nr++) {
98                 ret = exynos_plane_init(dev, nr);
99                 if (ret)
100                         goto err_crtc;
101         }
102
103         ret = drm_vblank_init(dev, MAX_CRTC);
104         if (ret)
105                 goto err_crtc;
106
107         /*
108          * probe sub drivers such as display controller and hdmi driver,
109          * that were registered at probe() of platform driver
110          * to the sub driver and create encoder and connector for them.
111          */
112         ret = exynos_drm_device_register(dev);
113         if (ret)
114                 goto err_vblank;
115
116         /* setup possible_clones. */
117         exynos_drm_encoder_setup(dev);
118
119         /*
120          * create and configure fb helper and also exynos specific
121          * fbdev object.
122          */
123         ret = exynos_drm_fbdev_init(dev);
124         if (ret) {
125                 DRM_ERROR("failed to initialize drm fbdev\n");
126                 goto err_drm_device;
127         }
128
129         drm_vblank_offdelay = VBLANK_OFF_DELAY;
130
131         return 0;
132
133 err_drm_device:
134         exynos_drm_device_unregister(dev);
135 err_vblank:
136         drm_vblank_cleanup(dev);
137 err_crtc:
138         drm_mode_config_cleanup(dev);
139 #ifdef CONFIG_DMA_SHARED_BUFFER_USES_KDS
140         kds_callback_term(&private->kds_cb);
141 err_kds:
142 #endif
143         kfree(private);
144
145         return ret;
146 }
147
148 static int exynos_drm_unload(struct drm_device *dev)
149 {
150         struct exynos_drm_private *private = dev->dev_private;
151
152         DRM_DEBUG_DRIVER("%s\n", __FILE__);
153
154         exynos_drm_fbdev_fini(dev);
155         exynos_drm_device_unregister(dev);
156         drm_vblank_cleanup(dev);
157         drm_kms_helper_poll_fini(dev);
158         drm_mode_config_cleanup(dev);
159 #ifdef CONFIG_DMA_SHARED_BUFFER_USES_KDS
160         kds_callback_term(&private->kds_cb);
161 #endif
162         kfree(private);
163
164         dev->dev_private = NULL;
165
166         return 0;
167 }
168
169 static int exynos_drm_open(struct drm_device *dev, struct drm_file *file)
170 {
171         struct exynos_drm_file_private *file_private;
172
173         DRM_DEBUG_DRIVER("%s\n", __FILE__);
174
175         file_private = kzalloc(sizeof(*file_private), GFP_KERNEL);
176         if (!file_private) {
177                 DRM_ERROR("failed to allocate exynos_drm_file_private\n");
178                 return -ENOMEM;
179         }
180         INIT_LIST_HEAD(&file_private->gem_cpu_acquire_list);
181
182         file->driver_priv = file_private;
183
184         return exynos_drm_subdrv_open(dev, file);
185 }
186
187 static void exynos_drm_preclose(struct drm_device *dev,
188                                         struct drm_file *file)
189 {
190         struct exynos_drm_file_private *file_private = file->driver_priv;
191         struct exynos_drm_gem_obj_node *cur, *d;
192
193         DRM_DEBUG_DRIVER("%s\n", __FILE__);
194
195         mutex_lock(&dev->struct_mutex);
196         /* release kds resource sets for outstanding GEM object acquires */
197         list_for_each_entry_safe(cur, d,
198                         &file_private->gem_cpu_acquire_list, list) {
199 #ifdef CONFIG_DMA_SHARED_BUFFER_USES_KDS
200                 BUG_ON(cur->exynos_gem_obj->resource_set == NULL);
201                 kds_resource_set_release(&cur->exynos_gem_obj->resource_set);
202 #endif
203                 drm_gem_object_unreference(&cur->exynos_gem_obj->base);
204                 kfree(cur);
205         }
206         mutex_unlock(&dev->struct_mutex);
207         INIT_LIST_HEAD(&file_private->gem_cpu_acquire_list);
208
209         exynos_drm_subdrv_close(dev, file);
210 }
211
212 static void exynos_drm_postclose(struct drm_device *dev, struct drm_file *file)
213 {
214         DRM_DEBUG_DRIVER("%s\n", __FILE__);
215
216         if (!file->driver_priv)
217                 return;
218
219         kfree(file->driver_priv);
220         file->driver_priv = NULL;
221 }
222
223 static void exynos_drm_lastclose(struct drm_device *dev)
224 {
225         DRM_DEBUG_DRIVER("%s\n", __FILE__);
226
227         exynos_drm_fbdev_restore_mode(dev);
228 }
229
230 static struct vm_operations_struct exynos_drm_gem_vm_ops = {
231         .fault = exynos_drm_gem_fault,
232         .open = drm_gem_vm_open,
233         .close = drm_gem_vm_close,
234 };
235
236 static struct drm_ioctl_desc exynos_ioctls[] = {
237         DRM_IOCTL_DEF_DRV(EXYNOS_GEM_CREATE, exynos_drm_gem_create_ioctl,
238                         DRM_UNLOCKED | DRM_AUTH),
239         DRM_IOCTL_DEF_DRV(EXYNOS_GEM_MAP_OFFSET,
240                         exynos_drm_gem_map_offset_ioctl, DRM_UNLOCKED |
241                         DRM_AUTH),
242         DRM_IOCTL_DEF_DRV(EXYNOS_GEM_MMAP,
243                         exynos_drm_gem_mmap_ioctl, DRM_UNLOCKED | DRM_AUTH),
244         DRM_IOCTL_DEF_DRV(EXYNOS_PLANE_SET_ZPOS, exynos_plane_set_zpos_ioctl,
245                         DRM_UNLOCKED | DRM_AUTH),
246         DRM_IOCTL_DEF_DRV(EXYNOS_VIDI_CONNECTION,
247                         vidi_connection_ioctl, DRM_UNLOCKED | DRM_AUTH),
248         DRM_IOCTL_DEF_DRV(EXYNOS_GEM_CPU_ACQUIRE,
249                         exynos_drm_gem_cpu_acquire_ioctl,
250                         DRM_UNLOCKED | DRM_AUTH),
251         DRM_IOCTL_DEF_DRV(EXYNOS_GEM_CPU_RELEASE,
252                         exynos_drm_gem_cpu_release_ioctl,
253                         DRM_UNLOCKED | DRM_AUTH),
254 };
255
256 static const struct file_operations exynos_drm_driver_fops = {
257         .owner          = THIS_MODULE,
258         .open           = drm_open,
259         .mmap           = exynos_drm_gem_mmap,
260         .poll           = drm_poll,
261         .read           = drm_read,
262         .unlocked_ioctl = drm_ioctl,
263         .release        = drm_release,
264 };
265
266 static struct drm_driver exynos_drm_driver = {
267         .driver_features        = DRIVER_HAVE_IRQ | DRIVER_BUS_PLATFORM |
268                                   DRIVER_MODESET | DRIVER_GEM | DRIVER_PRIME,
269         .load                   = exynos_drm_load,
270         .unload                 = exynos_drm_unload,
271         .open                   = exynos_drm_open,
272         .preclose               = exynos_drm_preclose,
273         .lastclose              = exynos_drm_lastclose,
274         .postclose              = exynos_drm_postclose,
275         .get_vblank_counter     = drm_vblank_count,
276         .enable_vblank          = exynos_drm_crtc_enable_vblank,
277         .disable_vblank         = exynos_drm_crtc_disable_vblank,
278 #if defined(CONFIG_DEBUG_FS)
279         .debugfs_init           = exynos_drm_debugfs_init,
280         .debugfs_cleanup        = exynos_drm_debugfs_cleanup,
281 #endif
282         .gem_free_object        = exynos_drm_gem_free_object,
283         .gem_vm_ops             = &exynos_drm_gem_vm_ops,
284         .dumb_create            = exynos_drm_gem_dumb_create,
285         .dumb_map_offset        = exynos_drm_gem_dumb_map_offset,
286         .dumb_destroy           = exynos_drm_gem_dumb_destroy,
287         .prime_handle_to_fd     = drm_gem_prime_handle_to_fd,
288         .prime_fd_to_handle     = drm_gem_prime_fd_to_handle,
289         .gem_prime_export       = exynos_dmabuf_prime_export,
290         .gem_prime_import       = exynos_dmabuf_prime_import,
291         .ioctls                 = exynos_ioctls,
292         .fops                   = &exynos_drm_driver_fops,
293         .name   = DRIVER_NAME,
294         .desc   = DRIVER_DESC,
295         .date   = DRIVER_DATE,
296         .major  = DRIVER_MAJOR,
297         .minor  = DRIVER_MINOR,
298 };
299
300 #ifdef CONFIG_EXYNOS_IOMMU
301 static int iommu_init(struct platform_device *pdev)
302 {
303         /* DRM device expects a IOMMU mapping to be already
304          * created in FIMD. Else this function should
305          * throw an error.
306          */
307         if (exynos_drm_common_mapping==NULL) {
308                 printk(KERN_ERR "exynos drm common mapping is invalid\n");
309                 return -1;
310         }
311
312         /*
313          * The ordering in Makefile warrants that this is initialized after
314          * FIMD, so only just ensure that it works as expected and we are
315          * reusing the mapping originally created in exynos_drm_fimd.c.
316          */
317         WARN_ON(!exynos_drm_common_mapping);
318         if (!s5p_create_iommu_mapping(&pdev->dev, 0,
319                                 0, 0, exynos_drm_common_mapping)) {
320                 printk(KERN_ERR "failed to create IOMMU mapping\n");
321                 return -1;
322         }
323
324         return 0;
325 }
326
327 static void iommu_deinit(struct platform_device *pdev)
328 {
329         /* detach the device and mapping */
330         s5p_destroy_iommu_mapping(&pdev->dev);
331         DRM_DEBUG("released the IOMMU mapping\n");
332
333         return;
334 }
335 #endif
336
337 static int exynos_drm_platform_probe(struct platform_device *pdev)
338 {
339         struct device *dev = &pdev->dev;
340         int ret;
341
342         DRM_DEBUG_DRIVER("%s\n", __FILE__);
343
344 #ifdef CONFIG_EXYNOS_IOMMU
345         if (iommu_init(pdev)) {
346                 DRM_ERROR("failed to initialize IOMMU\n");
347                 return -ENODEV;
348         }
349 #endif
350
351         exynos_drm_driver.num_ioctls = DRM_ARRAY_SIZE(exynos_ioctls);
352
353         pm_vt_switch_required(dev, false);
354         pm_runtime_enable(dev);
355         pm_runtime_get_sync(dev);
356
357         ret = drm_platform_init(&exynos_drm_driver, pdev);
358 #ifdef CONFIG_EXYNOS_IOMMU
359         if (ret)
360                 iommu_deinit(pdev);
361 #endif
362
363         return ret;
364 }
365
366 static int __devexit exynos_drm_platform_remove(struct platform_device *pdev)
367 {
368         struct device *dev = &pdev->dev;
369
370         DRM_DEBUG_DRIVER("%s\n", __FILE__);
371
372         pm_vt_switch_unregister(dev);
373         pm_runtime_disable(dev);
374
375         drm_platform_exit(&exynos_drm_driver, pdev);
376
377 #ifdef CONFIG_EXYNOS_IOMMU
378         iommu_deinit(pdev);
379 #endif
380         return 0;
381 }
382
383 /* TODO (seanpaul): Once we remove platform drivers, we'll be calling the
384  * various panel/controller init functions directly. These init functions will
385  * return to us the ops and context, so we can get rid of these attach
386  * functions. Once the attach functions are gone, we can move this array of
387  * display pointers into the drm device's platform data.
388  *
389  * For now, we'll use a global to keep track of things.
390  */
391 static struct exynos_drm_display *displays[EXYNOS_DRM_DISPLAY_NUM_DISPLAYS];
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_encoder *encoder = display->subdrv->encoder;
482
483                 if (!encoder)
484                         continue;
485
486                 exynos_drm_encoder_dpms(encoder, 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_encoder *encoder = display->subdrv->encoder;
498
499                 if (!encoder)
500                         continue;
501
502                 display->suspend_dpms = exynos_drm_encoder_get_dpms(encoder);
503                 exynos_drm_encoder_dpms(encoder, DRM_MODE_DPMS_OFF);
504         }
505         return 0;
506 }
507
508 #ifdef CONFIG_PM_SLEEP
509 static int exynos_drm_suspend(struct device *dev)
510 {
511         if (pm_runtime_suspended(dev))
512                 return 0;
513
514         return exynos_drm_suspend_displays();
515 }
516
517 static int exynos_drm_resume(struct device *dev)
518 {
519         if (pm_runtime_suspended(dev))
520                 return 0;
521
522         return exynos_drm_resume_displays();
523 }
524 #endif
525
526 #ifdef CONFIG_PM_RUNTIME
527 static int exynos_drm_runtime_resume(struct device *dev)
528 {
529         return exynos_drm_resume_displays();
530 }
531
532 static int exynos_drm_runtime_suspend(struct device *dev)
533 {
534         return exynos_drm_suspend_displays();
535 }
536 #endif
537
538 static const struct dev_pm_ops drm_pm_ops = {
539         SET_SYSTEM_SLEEP_PM_OPS(exynos_drm_suspend, exynos_drm_resume)
540         SET_RUNTIME_PM_OPS(exynos_drm_runtime_suspend,
541                         exynos_drm_runtime_resume, NULL)
542 };
543
544 static struct platform_driver exynos_drm_platform_driver = {
545         .probe          = exynos_drm_platform_probe,
546         .remove         = __devexit_p(exynos_drm_platform_remove),
547         .driver         = {
548                 .owner  = THIS_MODULE,
549                 .name   = "exynos-drm",
550                 .pm     = &drm_pm_ops,
551         },
552 };
553
554 static int __init exynos_drm_init(void)
555 {
556         int ret, i;
557
558         DRM_DEBUG_DRIVER("%s\n", __FILE__);
559
560         for (i = 0; i < EXYNOS_DRM_DISPLAY_NUM_DISPLAYS; i++) {
561                 displays[i] = kzalloc(sizeof(*displays[i]), GFP_KERNEL);
562                 if (!displays[i]) {
563                         ret = -ENOMEM;
564                         goto out_display;
565                 }
566
567                 ret = exynos_display_init(displays[i], i);
568                 if (ret)
569                         goto out_display;
570         }
571
572 #ifdef CONFIG_DRM_EXYNOS_FIMD
573         ret = platform_driver_register(&fimd_driver);
574         if (ret < 0)
575                 goto out_fimd;
576 #endif
577
578 #ifdef CONFIG_DRM_EXYNOS_DP
579         ret = platform_driver_register(&dp_driver);
580         if (ret < 0)
581                 goto out_dp_driver;
582 #endif
583
584 #ifdef CONFIG_DRM_EXYNOS_HDMI
585         ret = platform_driver_register(&hdmi_driver);
586         if (ret < 0)
587                 goto out_hdmi;
588         ret = platform_driver_register(&mixer_driver);
589         if (ret < 0)
590                 goto out_mixer;
591 #endif
592
593 #ifdef CONFIG_DRM_EXYNOS_VIDI
594         ret = platform_driver_register(&vidi_driver);
595         if (ret < 0)
596                 goto out_vidi;
597 #endif
598
599         ret = platform_driver_register(&exynos_drm_platform_driver);
600         if (ret < 0)
601                 goto out;
602
603         return 0;
604
605 out:
606 #ifdef CONFIG_DRM_EXYNOS_VIDI
607 out_vidi:
608         platform_driver_unregister(&vidi_driver);
609 #endif
610
611 #ifdef CONFIG_DRM_EXYNOS_HDMI
612         platform_driver_unregister(&mixer_driver);
613 out_mixer:
614         platform_driver_unregister(&hdmi_driver);
615 out_hdmi:
616 #endif
617
618         platform_driver_unregister(&dp_driver);
619 out_dp_driver:
620 #ifdef CONFIG_DRM_EXYNOS_FIMD
621         platform_driver_unregister(&fimd_driver);
622 out_fimd:
623 #endif
624 out_display:
625         for (i = 0; i < EXYNOS_DRM_DISPLAY_NUM_DISPLAYS; i++) {
626                 if (!displays[i])
627                         continue;
628
629                 exynos_display_remove(displays[i]);
630                 kfree(displays[i]);
631         }
632         return ret;
633 }
634
635 static void __exit exynos_drm_exit(void)
636 {
637         int i;
638
639         DRM_DEBUG_DRIVER("%s\n", __FILE__);
640
641         platform_driver_unregister(&exynos_drm_platform_driver);
642
643 #ifdef CONFIG_DRM_EXYNOS_HDMI
644         platform_driver_unregister(&mixer_driver);
645         platform_driver_unregister(&hdmi_driver);
646 #endif
647
648 #ifdef CONFIG_DRM_EXYNOS_VIDI
649         platform_driver_unregister(&vidi_driver);
650 #endif
651
652         platform_driver_unregister(&dp_driver);
653 #ifdef CONFIG_DRM_EXYNOS_FIMD
654         platform_driver_unregister(&fimd_driver);
655 #endif
656
657         for (i = 0; i < EXYNOS_DRM_DISPLAY_NUM_DISPLAYS; i++) {
658                 if (!displays[i])
659                         continue;
660
661                 exynos_display_remove(displays[i]);
662                 kfree(displays[i]);
663         }
664 }
665
666 module_init(exynos_drm_init);
667 module_exit(exynos_drm_exit);
668
669 MODULE_AUTHOR("Inki Dae <inki.dae@samsung.com>");
670 MODULE_AUTHOR("Joonyoung Shim <jy0922.shim@samsung.com>");
671 MODULE_AUTHOR("Seung-Woo Kim <sw0312.kim@samsung.com>");
672 MODULE_DESCRIPTION("Samsung SoC DRM Driver");
673 MODULE_LICENSE("GPL");