2 * Copyright (c) 2011 Samsung Electronics Co., Ltd.
4 * Inki Dae <inki.dae@samsung.com>
5 * Joonyoung Shim <jy0922.shim@samsung.com>
6 * Seung-Woo Kim <sw0312.kim@samsung.com>
8 * This program is free software; you can redistribute it and/or modify it
9 * under the terms of the GNU General Public License as published by the
10 * Free Software Foundation; either version 2 of the License, or (at your
11 * option) any later version.
14 #include <linux/pm_runtime.h>
16 #include <drm/drm_crtc_helper.h>
18 #include <linux/component.h>
20 #include <drm/exynos_drm.h>
22 #include "exynos_drm_drv.h"
23 #include "exynos_drm_crtc.h"
24 #include "exynos_drm_encoder.h"
25 #include "exynos_drm_fbdev.h"
26 #include "exynos_drm_fb.h"
27 #include "exynos_drm_gem.h"
28 #include "exynos_drm_plane.h"
29 #include "exynos_drm_vidi.h"
30 #include "exynos_drm_dmabuf.h"
31 #include "exynos_drm_g2d.h"
32 #include "exynos_drm_ipp.h"
33 #include "exynos_drm_iommu.h"
35 #define DRIVER_NAME "exynos"
36 #define DRIVER_DESC "Samsung SoC DRM"
37 #define DRIVER_DATE "20110530"
38 #define DRIVER_MAJOR 1
39 #define DRIVER_MINOR 0
41 static struct platform_device
*exynos_drm_pdev
;
43 static DEFINE_MUTEX(drm_component_lock
);
44 static LIST_HEAD(drm_component_list
);
46 struct component_dev
{
47 struct list_head list
;
48 struct device
*crtc_dev
;
49 struct device
*conn_dev
;
50 enum exynos_drm_output_type out_type
;
51 unsigned int dev_type_flag
;
54 static int exynos_drm_load(struct drm_device
*dev
, unsigned long flags
)
56 struct exynos_drm_private
*private;
60 private = kzalloc(sizeof(struct exynos_drm_private
), GFP_KERNEL
);
64 INIT_LIST_HEAD(&private->pageflip_event_list
);
65 dev_set_drvdata(dev
->dev
, dev
);
66 dev
->dev_private
= (void *)private;
69 * create mapping to manage iommu table and set a pointer to iommu
70 * mapping structure to iommu_mapping of private data.
71 * also this iommu_mapping can be used to check if iommu is supported
74 ret
= drm_create_iommu_mapping(dev
);
76 DRM_ERROR("failed to create iommu mapping.\n");
77 goto err_free_private
;
80 drm_mode_config_init(dev
);
82 exynos_drm_mode_config_init(dev
);
84 for (nr
= 0; nr
< MAX_PLANE
; nr
++) {
85 struct drm_plane
*plane
;
86 unsigned long possible_crtcs
= (1 << MAX_CRTC
) - 1;
88 plane
= exynos_plane_init(dev
, possible_crtcs
,
89 DRM_PLANE_TYPE_OVERLAY
);
91 goto err_mode_config_cleanup
;
94 /* init kms poll for handling hpd */
95 drm_kms_helper_poll_init(dev
);
97 ret
= drm_vblank_init(dev
, MAX_CRTC
);
99 goto err_mode_config_cleanup
;
101 /* setup possible_clones. */
102 exynos_drm_encoder_setup(dev
);
104 platform_set_drvdata(dev
->platformdev
, dev
);
106 /* Try to bind all sub drivers. */
107 ret
= component_bind_all(dev
->dev
, dev
);
109 goto err_cleanup_vblank
;
111 /* Probe non kms sub drivers and virtual display driver. */
112 ret
= exynos_drm_device_subdrv_probe(dev
);
116 /* force connectors detection */
117 drm_helper_hpd_irq_event(dev
);
120 * enable drm irq mode.
121 * - with irq_enabled = true, we can use the vblank feature.
123 * P.S. note that we wouldn't use drm irq handler but
124 * just specific driver own one instead because
125 * drm framework supports only one irq handler.
127 dev
->irq_enabled
= true;
130 * with vblank_disable_allowed = true, vblank interrupt will be disabled
131 * by drm timer once a current process gives up ownership of
132 * vblank event.(after drm_vblank_put function is called)
134 dev
->vblank_disable_allowed
= true;
139 component_unbind_all(dev
->dev
, dev
);
141 drm_vblank_cleanup(dev
);
142 err_mode_config_cleanup
:
143 drm_mode_config_cleanup(dev
);
144 drm_release_iommu_mapping(dev
);
151 static int exynos_drm_unload(struct drm_device
*dev
)
153 exynos_drm_device_subdrv_remove(dev
);
155 exynos_drm_fbdev_fini(dev
);
156 drm_kms_helper_poll_fini(dev
);
158 component_unbind_all(dev
->dev
, dev
);
159 drm_vblank_cleanup(dev
);
160 drm_mode_config_cleanup(dev
);
161 drm_release_iommu_mapping(dev
);
163 kfree(dev
->dev_private
);
164 dev
->dev_private
= NULL
;
169 static int exynos_drm_suspend(struct drm_device
*dev
, pm_message_t state
)
171 struct drm_connector
*connector
;
173 drm_modeset_lock_all(dev
);
174 list_for_each_entry(connector
, &dev
->mode_config
.connector_list
, head
) {
175 int old_dpms
= connector
->dpms
;
177 if (connector
->funcs
->dpms
)
178 connector
->funcs
->dpms(connector
, DRM_MODE_DPMS_OFF
);
180 /* Set the old mode back to the connector for resume */
181 connector
->dpms
= old_dpms
;
183 drm_modeset_unlock_all(dev
);
188 static int exynos_drm_resume(struct drm_device
*dev
)
190 struct drm_connector
*connector
;
192 drm_modeset_lock_all(dev
);
193 list_for_each_entry(connector
, &dev
->mode_config
.connector_list
, head
) {
194 if (connector
->funcs
->dpms
)
195 connector
->funcs
->dpms(connector
, connector
->dpms
);
197 drm_modeset_unlock_all(dev
);
199 drm_helper_resume_force_mode(dev
);
204 static int exynos_drm_open(struct drm_device
*dev
, struct drm_file
*file
)
206 struct drm_exynos_file_private
*file_priv
;
209 file_priv
= kzalloc(sizeof(*file_priv
), GFP_KERNEL
);
213 file
->driver_priv
= file_priv
;
215 ret
= exynos_drm_subdrv_open(dev
, file
);
217 goto err_file_priv_free
;
223 file
->driver_priv
= NULL
;
227 static void exynos_drm_preclose(struct drm_device
*dev
,
228 struct drm_file
*file
)
230 exynos_drm_subdrv_close(dev
, file
);
233 static void exynos_drm_postclose(struct drm_device
*dev
, struct drm_file
*file
)
235 struct exynos_drm_private
*private = dev
->dev_private
;
236 struct drm_pending_vblank_event
*v
, *vt
;
237 struct drm_pending_event
*e
, *et
;
240 if (!file
->driver_priv
)
243 /* Release all events not unhandled by page flip handler. */
244 spin_lock_irqsave(&dev
->event_lock
, flags
);
245 list_for_each_entry_safe(v
, vt
, &private->pageflip_event_list
,
247 if (v
->base
.file_priv
== file
) {
248 list_del(&v
->base
.link
);
249 drm_vblank_put(dev
, v
->pipe
);
250 v
->base
.destroy(&v
->base
);
254 /* Release all events handled by page flip handler but not freed. */
255 list_for_each_entry_safe(e
, et
, &file
->event_list
, link
) {
259 spin_unlock_irqrestore(&dev
->event_lock
, flags
);
261 kfree(file
->driver_priv
);
262 file
->driver_priv
= NULL
;
265 static void exynos_drm_lastclose(struct drm_device
*dev
)
267 exynos_drm_fbdev_restore_mode(dev
);
270 static const struct vm_operations_struct exynos_drm_gem_vm_ops
= {
271 .fault
= exynos_drm_gem_fault
,
272 .open
= drm_gem_vm_open
,
273 .close
= drm_gem_vm_close
,
276 static const struct drm_ioctl_desc exynos_ioctls
[] = {
277 DRM_IOCTL_DEF_DRV(EXYNOS_GEM_CREATE
, exynos_drm_gem_create_ioctl
,
278 DRM_UNLOCKED
| DRM_AUTH
),
279 DRM_IOCTL_DEF_DRV(EXYNOS_GEM_GET
,
280 exynos_drm_gem_get_ioctl
, DRM_UNLOCKED
),
281 DRM_IOCTL_DEF_DRV(EXYNOS_VIDI_CONNECTION
,
282 vidi_connection_ioctl
, DRM_UNLOCKED
| DRM_AUTH
),
283 DRM_IOCTL_DEF_DRV(EXYNOS_G2D_GET_VER
,
284 exynos_g2d_get_ver_ioctl
, DRM_UNLOCKED
| DRM_AUTH
),
285 DRM_IOCTL_DEF_DRV(EXYNOS_G2D_SET_CMDLIST
,
286 exynos_g2d_set_cmdlist_ioctl
, DRM_UNLOCKED
| DRM_AUTH
),
287 DRM_IOCTL_DEF_DRV(EXYNOS_G2D_EXEC
,
288 exynos_g2d_exec_ioctl
, DRM_UNLOCKED
| DRM_AUTH
),
289 DRM_IOCTL_DEF_DRV(EXYNOS_IPP_GET_PROPERTY
,
290 exynos_drm_ipp_get_property
, DRM_UNLOCKED
| DRM_AUTH
),
291 DRM_IOCTL_DEF_DRV(EXYNOS_IPP_SET_PROPERTY
,
292 exynos_drm_ipp_set_property
, DRM_UNLOCKED
| DRM_AUTH
),
293 DRM_IOCTL_DEF_DRV(EXYNOS_IPP_QUEUE_BUF
,
294 exynos_drm_ipp_queue_buf
, DRM_UNLOCKED
| DRM_AUTH
),
295 DRM_IOCTL_DEF_DRV(EXYNOS_IPP_CMD_CTRL
,
296 exynos_drm_ipp_cmd_ctrl
, DRM_UNLOCKED
| DRM_AUTH
),
299 static const struct file_operations exynos_drm_driver_fops
= {
300 .owner
= THIS_MODULE
,
302 .mmap
= exynos_drm_gem_mmap
,
305 .unlocked_ioctl
= drm_ioctl
,
307 .compat_ioctl
= drm_compat_ioctl
,
309 .release
= drm_release
,
312 static struct drm_driver exynos_drm_driver
= {
313 .driver_features
= DRIVER_MODESET
| DRIVER_GEM
| DRIVER_PRIME
,
314 .load
= exynos_drm_load
,
315 .unload
= exynos_drm_unload
,
316 .suspend
= exynos_drm_suspend
,
317 .resume
= exynos_drm_resume
,
318 .open
= exynos_drm_open
,
319 .preclose
= exynos_drm_preclose
,
320 .lastclose
= exynos_drm_lastclose
,
321 .postclose
= exynos_drm_postclose
,
322 .set_busid
= drm_platform_set_busid
,
323 .get_vblank_counter
= drm_vblank_count
,
324 .enable_vblank
= exynos_drm_crtc_enable_vblank
,
325 .disable_vblank
= exynos_drm_crtc_disable_vblank
,
326 .gem_free_object
= exynos_drm_gem_free_object
,
327 .gem_vm_ops
= &exynos_drm_gem_vm_ops
,
328 .dumb_create
= exynos_drm_gem_dumb_create
,
329 .dumb_map_offset
= exynos_drm_gem_dumb_map_offset
,
330 .dumb_destroy
= drm_gem_dumb_destroy
,
331 .prime_handle_to_fd
= drm_gem_prime_handle_to_fd
,
332 .prime_fd_to_handle
= drm_gem_prime_fd_to_handle
,
333 .gem_prime_export
= exynos_dmabuf_prime_export
,
334 .gem_prime_import
= exynos_dmabuf_prime_import
,
335 .ioctls
= exynos_ioctls
,
336 .num_ioctls
= ARRAY_SIZE(exynos_ioctls
),
337 .fops
= &exynos_drm_driver_fops
,
341 .major
= DRIVER_MAJOR
,
342 .minor
= DRIVER_MINOR
,
345 #ifdef CONFIG_PM_SLEEP
346 static int exynos_drm_sys_suspend(struct device
*dev
)
348 struct drm_device
*drm_dev
= dev_get_drvdata(dev
);
349 pm_message_t message
;
351 if (pm_runtime_suspended(dev
) || !drm_dev
)
354 message
.event
= PM_EVENT_SUSPEND
;
355 return exynos_drm_suspend(drm_dev
, message
);
358 static int exynos_drm_sys_resume(struct device
*dev
)
360 struct drm_device
*drm_dev
= dev_get_drvdata(dev
);
362 if (pm_runtime_suspended(dev
) || !drm_dev
)
365 return exynos_drm_resume(drm_dev
);
369 static const struct dev_pm_ops exynos_drm_pm_ops
= {
370 SET_SYSTEM_SLEEP_PM_OPS(exynos_drm_sys_suspend
, exynos_drm_sys_resume
)
373 int exynos_drm_component_add(struct device
*dev
,
374 enum exynos_drm_device_type dev_type
,
375 enum exynos_drm_output_type out_type
)
377 struct component_dev
*cdev
;
379 if (dev_type
!= EXYNOS_DEVICE_TYPE_CRTC
&&
380 dev_type
!= EXYNOS_DEVICE_TYPE_CONNECTOR
) {
381 DRM_ERROR("invalid device type.\n");
385 mutex_lock(&drm_component_lock
);
388 * Make sure to check if there is a component which has two device
389 * objects, for connector and for encoder/connector.
390 * It should make sure that crtc and encoder/connector drivers are
391 * ready before exynos drm core binds them.
393 list_for_each_entry(cdev
, &drm_component_list
, list
) {
394 if (cdev
->out_type
== out_type
) {
396 * If crtc and encoder/connector device objects are
397 * added already just return.
399 if (cdev
->dev_type_flag
== (EXYNOS_DEVICE_TYPE_CRTC
|
400 EXYNOS_DEVICE_TYPE_CONNECTOR
)) {
401 mutex_unlock(&drm_component_lock
);
405 if (dev_type
== EXYNOS_DEVICE_TYPE_CRTC
) {
406 cdev
->crtc_dev
= dev
;
407 cdev
->dev_type_flag
|= dev_type
;
410 if (dev_type
== EXYNOS_DEVICE_TYPE_CONNECTOR
) {
411 cdev
->conn_dev
= dev
;
412 cdev
->dev_type_flag
|= dev_type
;
415 mutex_unlock(&drm_component_lock
);
420 mutex_unlock(&drm_component_lock
);
422 cdev
= kzalloc(sizeof(*cdev
), GFP_KERNEL
);
426 if (dev_type
== EXYNOS_DEVICE_TYPE_CRTC
)
427 cdev
->crtc_dev
= dev
;
428 if (dev_type
== EXYNOS_DEVICE_TYPE_CONNECTOR
)
429 cdev
->conn_dev
= dev
;
431 cdev
->out_type
= out_type
;
432 cdev
->dev_type_flag
= dev_type
;
434 mutex_lock(&drm_component_lock
);
435 list_add_tail(&cdev
->list
, &drm_component_list
);
436 mutex_unlock(&drm_component_lock
);
441 void exynos_drm_component_del(struct device
*dev
,
442 enum exynos_drm_device_type dev_type
)
444 struct component_dev
*cdev
, *next
;
446 mutex_lock(&drm_component_lock
);
448 list_for_each_entry_safe(cdev
, next
, &drm_component_list
, list
) {
449 if (dev_type
== EXYNOS_DEVICE_TYPE_CRTC
) {
450 if (cdev
->crtc_dev
== dev
) {
451 cdev
->crtc_dev
= NULL
;
452 cdev
->dev_type_flag
&= ~dev_type
;
456 if (dev_type
== EXYNOS_DEVICE_TYPE_CONNECTOR
) {
457 if (cdev
->conn_dev
== dev
) {
458 cdev
->conn_dev
= NULL
;
459 cdev
->dev_type_flag
&= ~dev_type
;
464 * Release cdev object only in case that both of crtc and
465 * encoder/connector device objects are NULL.
467 if (!cdev
->crtc_dev
&& !cdev
->conn_dev
) {
468 list_del(&cdev
->list
);
475 mutex_unlock(&drm_component_lock
);
478 static int compare_dev(struct device
*dev
, void *data
)
480 return dev
== (struct device
*)data
;
483 static struct component_match
*exynos_drm_match_add(struct device
*dev
)
485 struct component_match
*match
= NULL
;
486 struct component_dev
*cdev
;
487 unsigned int attach_cnt
= 0;
489 mutex_lock(&drm_component_lock
);
491 list_for_each_entry(cdev
, &drm_component_list
, list
) {
493 * Add components to master only in case that crtc and
494 * encoder/connector device objects exist.
496 if (!cdev
->crtc_dev
|| !cdev
->conn_dev
)
501 mutex_unlock(&drm_component_lock
);
504 * fimd and dpi modules have same device object so add
505 * only crtc device object in this case.
507 if (cdev
->crtc_dev
== cdev
->conn_dev
) {
508 component_match_add(dev
, &match
, compare_dev
,
514 * Do not chage below call order.
515 * crtc device first should be added to master because
516 * connector/encoder need pipe number of crtc when they
519 component_match_add(dev
, &match
, compare_dev
, cdev
->crtc_dev
);
520 component_match_add(dev
, &match
, compare_dev
, cdev
->conn_dev
);
523 mutex_lock(&drm_component_lock
);
526 mutex_unlock(&drm_component_lock
);
528 return attach_cnt
? match
: ERR_PTR(-EPROBE_DEFER
);
531 static int exynos_drm_bind(struct device
*dev
)
533 return drm_platform_init(&exynos_drm_driver
, to_platform_device(dev
));
536 static void exynos_drm_unbind(struct device
*dev
)
538 drm_put_dev(dev_get_drvdata(dev
));
541 static const struct component_master_ops exynos_drm_ops
= {
542 .bind
= exynos_drm_bind
,
543 .unbind
= exynos_drm_unbind
,
546 static int exynos_drm_platform_probe(struct platform_device
*pdev
)
548 struct component_match
*match
;
551 pdev
->dev
.coherent_dma_mask
= DMA_BIT_MASK(32);
552 exynos_drm_driver
.num_ioctls
= ARRAY_SIZE(exynos_ioctls
);
554 #ifdef CONFIG_DRM_EXYNOS_FIMD
555 ret
= platform_driver_register(&fimd_driver
);
560 #ifdef CONFIG_DRM_EXYNOS_DP
561 ret
= platform_driver_register(&dp_driver
);
563 goto err_unregister_fimd_drv
;
566 #ifdef CONFIG_DRM_EXYNOS_DSI
567 ret
= platform_driver_register(&dsi_driver
);
569 goto err_unregister_dp_drv
;
572 #ifdef CONFIG_DRM_EXYNOS_HDMI
573 ret
= platform_driver_register(&mixer_driver
);
575 goto err_unregister_dsi_drv
;
576 ret
= platform_driver_register(&hdmi_driver
);
578 goto err_unregister_mixer_drv
;
581 #ifdef CONFIG_DRM_EXYNOS_G2D
582 ret
= platform_driver_register(&g2d_driver
);
584 goto err_unregister_hdmi_drv
;
587 #ifdef CONFIG_DRM_EXYNOS_FIMC
588 ret
= platform_driver_register(&fimc_driver
);
590 goto err_unregister_g2d_drv
;
593 #ifdef CONFIG_DRM_EXYNOS_ROTATOR
594 ret
= platform_driver_register(&rotator_driver
);
596 goto err_unregister_fimc_drv
;
599 #ifdef CONFIG_DRM_EXYNOS_GSC
600 ret
= platform_driver_register(&gsc_driver
);
602 goto err_unregister_rotator_drv
;
605 #ifdef CONFIG_DRM_EXYNOS_IPP
606 ret
= platform_driver_register(&ipp_driver
);
608 goto err_unregister_gsc_drv
;
610 ret
= exynos_platform_device_ipp_register();
612 goto err_unregister_ipp_drv
;
615 match
= exynos_drm_match_add(&pdev
->dev
);
617 ret
= PTR_ERR(match
);
618 goto err_unregister_resources
;
621 ret
= component_master_add_with_match(&pdev
->dev
, &exynos_drm_ops
,
624 goto err_unregister_resources
;
628 err_unregister_resources
:
630 #ifdef CONFIG_DRM_EXYNOS_IPP
631 exynos_platform_device_ipp_unregister();
632 err_unregister_ipp_drv
:
633 platform_driver_unregister(&ipp_driver
);
634 err_unregister_gsc_drv
:
637 #ifdef CONFIG_DRM_EXYNOS_GSC
638 platform_driver_unregister(&gsc_driver
);
639 err_unregister_rotator_drv
:
642 #ifdef CONFIG_DRM_EXYNOS_ROTATOR
643 platform_driver_unregister(&rotator_driver
);
644 err_unregister_fimc_drv
:
647 #ifdef CONFIG_DRM_EXYNOS_FIMC
648 platform_driver_unregister(&fimc_driver
);
649 err_unregister_g2d_drv
:
652 #ifdef CONFIG_DRM_EXYNOS_G2D
653 platform_driver_unregister(&g2d_driver
);
654 err_unregister_hdmi_drv
:
657 #ifdef CONFIG_DRM_EXYNOS_HDMI
658 platform_driver_unregister(&hdmi_driver
);
659 err_unregister_mixer_drv
:
660 platform_driver_unregister(&mixer_driver
);
661 err_unregister_dsi_drv
:
664 #ifdef CONFIG_DRM_EXYNOS_DSI
665 platform_driver_unregister(&dsi_driver
);
666 err_unregister_dp_drv
:
669 #ifdef CONFIG_DRM_EXYNOS_DP
670 platform_driver_unregister(&dp_driver
);
671 err_unregister_fimd_drv
:
674 #ifdef CONFIG_DRM_EXYNOS_FIMD
675 platform_driver_unregister(&fimd_driver
);
680 static int exynos_drm_platform_remove(struct platform_device
*pdev
)
682 #ifdef CONFIG_DRM_EXYNOS_IPP
683 exynos_platform_device_ipp_unregister();
684 platform_driver_unregister(&ipp_driver
);
687 #ifdef CONFIG_DRM_EXYNOS_GSC
688 platform_driver_unregister(&gsc_driver
);
691 #ifdef CONFIG_DRM_EXYNOS_ROTATOR
692 platform_driver_unregister(&rotator_driver
);
695 #ifdef CONFIG_DRM_EXYNOS_FIMC
696 platform_driver_unregister(&fimc_driver
);
699 #ifdef CONFIG_DRM_EXYNOS_G2D
700 platform_driver_unregister(&g2d_driver
);
703 #ifdef CONFIG_DRM_EXYNOS_HDMI
704 platform_driver_unregister(&mixer_driver
);
705 platform_driver_unregister(&hdmi_driver
);
708 #ifdef CONFIG_DRM_EXYNOS_FIMD
709 platform_driver_unregister(&fimd_driver
);
712 #ifdef CONFIG_DRM_EXYNOS_DSI
713 platform_driver_unregister(&dsi_driver
);
716 #ifdef CONFIG_DRM_EXYNOS_DP
717 platform_driver_unregister(&dp_driver
);
719 component_master_del(&pdev
->dev
, &exynos_drm_ops
);
723 static struct platform_driver exynos_drm_platform_driver
= {
724 .probe
= exynos_drm_platform_probe
,
725 .remove
= exynos_drm_platform_remove
,
727 .owner
= THIS_MODULE
,
728 .name
= "exynos-drm",
729 .pm
= &exynos_drm_pm_ops
,
733 static int exynos_drm_init(void)
737 exynos_drm_pdev
= platform_device_register_simple("exynos-drm", -1,
739 if (IS_ERR(exynos_drm_pdev
))
740 return PTR_ERR(exynos_drm_pdev
);
742 #ifdef CONFIG_DRM_EXYNOS_VIDI
743 ret
= exynos_drm_probe_vidi();
745 goto err_unregister_pd
;
748 ret
= platform_driver_register(&exynos_drm_platform_driver
);
750 goto err_remove_vidi
;
755 #ifdef CONFIG_DRM_EXYNOS_VIDI
756 exynos_drm_remove_vidi();
760 platform_device_unregister(exynos_drm_pdev
);
765 static void exynos_drm_exit(void)
767 platform_driver_unregister(&exynos_drm_platform_driver
);
768 #ifdef CONFIG_DRM_EXYNOS_VIDI
769 exynos_drm_remove_vidi();
771 platform_device_unregister(exynos_drm_pdev
);
774 module_init(exynos_drm_init
);
775 module_exit(exynos_drm_exit
);
777 MODULE_AUTHOR("Inki Dae <inki.dae@samsung.com>");
778 MODULE_AUTHOR("Joonyoung Shim <jy0922.shim@samsung.com>");
779 MODULE_AUTHOR("Seung-Woo Kim <sw0312.kim@samsung.com>");
780 MODULE_DESCRIPTION("Samsung SoC DRM Driver");
781 MODULE_LICENSE("GPL");