Skip to contentSkip to conversation

Revert "drm/exynos: resolve infinite loop issue on multi-platform"

PATCH In review Hyungwon Hwang 2 participants 2 messages Jan 8, 2015 – Jan 9, 2015

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Revert "drm/exynos: resolve infinite loop issue on multi-platform"

This patch reverts commit 5cbb37df378d ("drm/exynos: resolve infinite loop issue on multi-platform"). This logic is already included.

---
 drivers/gpu/drm/exynos/exynos_drm_drv.c | 12 ------------
 1 file changed, 12 deletions(-)
drivers/gpu/drm/exynos/exynos_drm_drv.c +0 -12
index 25ba362..d71fb54 100644
@@ -646,18 +646,6 @@ static int exynos_drm_init(void)
 	if (!is_exynos)
 		return -ENODEV;
 
-	/*
-	 * Register device object only in case of Exynos SoC.
-	 *
-	 * Below codes resolves temporarily infinite loop issue incurred
-	 * by Exynos drm driver when using multi-platform kernel.
-	 * So these codes will be replaced with more generic way later.
-	 */
-	if (!of_machine_is_compatible("samsung,exynos3") &&
-			!of_machine_is_compatible("samsung,exynos4") &&
-			!of_machine_is_compatible("samsung,exynos5"))
-		return -ENODEV;
-
 	exynos_drm_pdev = platform_device_register_simple("exynos-drm", -1,
 								NULL, 0);
 	if (IS_ERR(exynos_drm_pdev))
Signature · 6 lines
1.9.1

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
maintainer
#1 lore raw
Quoted 2 lines · Hyungwon Hwang

This patch reverts commit 5cbb37df378d ("drm/exynos: resolve infinite loop issue on multi-platform"). This logic is already included.

Hyungwon, do not revert this patch. Just remove it instead. See the below my comment.

Quoted 15 lines
---
 drivers/gpu/drm/exynos/exynos_drm_drv.c | 12 ------------
 1 file changed, 12 deletions(-)
drivers/gpu/drm/exynos/exynos_drm_drv.c +0 -1
index 25ba362..d71fb54 100644
@@ -646,18 +646,6 @@ static int exynos_drm_init(void)
 	if (!is_exynos)
 		return -ENODEV;
 
-	/*

drivers/gpu/drm/exynos/exynos_drm_drv.c static int exynos_drm_init(void) · line 659

Quoted 10 lines
drivers/gpu/drm/exynos/exynos_drm_drv.c +0 -10
-	 * Register device object only in case of Exynos SoC.
-	 *
-	 * Below codes resolves temporarily infinite loop issue incurred
-	 * by Exynos drm driver when using multi-platform kernel.
-	 * So these codes will be replaced with more generic way later.
-	 */
-	if (!of_machine_is_compatible("samsung,exynos3") &&
-			!of_machine_is_compatible("samsung,exynos4") &&
-			!of_machine_is_compatible("samsung,exynos5"))
-		return -ENODEV;

Above codes had been replaced with more cleanup codes but it seems that they was added by below merge conflict work again,

commit e8115e79aa62b6ebdb3e8e61ca4092cc32938afc
Merge: 9be23ae 009d043
Author: Dave Airlie <[email protected]>
Date: Tue Dec 2 10:58:33 2014 +1000

    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

drivers/gpu/drm/exynos/exynos_drm_drv.c static int exynos_drm_init(void) · line 651

Quoted 5 lines
drivers/gpu/drm/exynos/exynos_drm_drv.c +0 -1
-
 	exynos_drm_pdev = platform_device_register_simple("exynos-drm", -1,
 								NULL, 0);
 	if (IS_ERR(exynos_drm_pdev))

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel