aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/exynos
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2014-12-01 19:58:33 -0500
committerDave Airlie <airlied@redhat.com>2014-12-01 19:58:33 -0500
commite8115e79aa62b6ebdb3e8e61ca4092cc32938afc (patch)
tree42b791ab54ef9d5c73dcd49f907b8b37fa2f7e19 /drivers/gpu/drm/exynos
parent9be23ae4350bfd71c0cc2ea3494671ee90e5603b (diff)
parent009d0431c3914de64666bec0d350e54fdd59df6a (diff)
Merge tag 'v3.18-rc7' into drm-next
This fixes a bunch of conflicts prior to merging i915 tree. Linux 3.18-rc7 Conflicts: drivers/gpu/drm/exynos/exynos_drm_drv.c drivers/gpu/drm/i915/i915_drv.c drivers/gpu/drm/i915/intel_pm.c drivers/gpu/drm/tegra/dc.c
Diffstat (limited to 'drivers/gpu/drm/exynos')
-rw-r--r--drivers/gpu/drm/exynos/exynos_drm_drv.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/gpu/drm/exynos/exynos_drm_drv.c b/drivers/gpu/drm/exynos/exynos_drm_drv.c
index d71fb54582d2..25ba3628960a 100644
--- a/drivers/gpu/drm/exynos/exynos_drm_drv.c
+++ b/drivers/gpu/drm/exynos/exynos_drm_drv.c
@@ -646,6 +646,18 @@ static int exynos_drm_init(void)
646 if (!is_exynos) 646 if (!is_exynos)
647 return -ENODEV; 647 return -ENODEV;
648 648
649 /*
650 * Register device object only in case of Exynos SoC.
651 *
652 * Below codes resolves temporarily infinite loop issue incurred
653 * by Exynos drm driver when using multi-platform kernel.
654 * So these codes will be replaced with more generic way later.
655 */
656 if (!of_machine_is_compatible("samsung,exynos3") &&
657 !of_machine_is_compatible("samsung,exynos4") &&
658 !of_machine_is_compatible("samsung,exynos5"))
659 return -ENODEV;
660
649 exynos_drm_pdev = platform_device_register_simple("exynos-drm", -1, 661 exynos_drm_pdev = platform_device_register_simple("exynos-drm", -1,
650 NULL, 0); 662 NULL, 0);
651 if (IS_ERR(exynos_drm_pdev)) 663 if (IS_ERR(exynos_drm_pdev))