mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
33 lines
1.3 KiB
Diff
33 lines
1.3 KiB
Diff
|
From e0a732e08eb356d6ab05169c8a5e5460a80f00ae Mon Sep 17 00:00:00 2001
|
||
|
From: Marek Szyprowski <m.szyprowski@samsung.com>
|
||
|
Date: Thu, 17 Mar 2016 07:53:12 +0100
|
||
|
Subject: [PATCH 9/9] drm/exynos: fimd: fix broken dp_clock control
|
||
|
|
||
|
Commit 1feafd3afd294b03dbbedb8e8f94e0c4db526f10 ("drm/exynos: add
|
||
|
exynos5420 support for fimd") add support for Exynos 5420 SoC, but it
|
||
|
broke enabling display clock feature because of incorrect condition
|
||
|
check. This patch fixes it, so display is working again on platforms
|
||
|
requiring display clock control (i.e. Exynos5250-based SNOW platform).
|
||
|
|
||
|
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
|
||
|
---
|
||
|
drivers/gpu/drm/exynos/exynos_drm_fimd.c | 2 +-
|
||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||
|
|
||
|
diff --git a/drivers/gpu/drm/exynos/exynos_drm_fimd.c b/drivers/gpu/drm/exynos/exynos_drm_fimd.c
|
||
|
index 51d484a..018449f 100644
|
||
|
--- a/drivers/gpu/drm/exynos/exynos_drm_fimd.c
|
||
|
+++ b/drivers/gpu/drm/exynos/exynos_drm_fimd.c
|
||
|
@@ -888,7 +888,7 @@ static void fimd_dp_clock_enable(struct exynos_drm_crtc *crtc, bool enable)
|
||
|
* clock. On these SoCs the bootloader may enable it but any
|
||
|
* power domain off/on will reset it to disable state.
|
||
|
*/
|
||
|
- if (ctx->driver_data != &exynos5_fimd_driver_data ||
|
||
|
+ if (ctx->driver_data != &exynos5_fimd_driver_data &&
|
||
|
ctx->driver_data != &exynos5420_fimd_driver_data)
|
||
|
return;
|
||
|
|
||
|
--
|
||
|
2.7.4
|
||
|
|