From e41ea682cd6ed05f6729f709d27a871298efa30c Mon Sep 17 00:00:00 2001 From: Cho KyongHo Date: Tue, 16 Jan 2018 11:03:38 +0900 Subject: [PATCH] [HACK] g2d: ignore performance request PMQOS for peripherals is not ready in the kernel. Change-Id: Ib6b7b3f0a0ce3f8d3ccaa2008db0ac5edea79435 Signed-off-by: Cho KyongHo --- drivers/gpu/exynos/g2d/g2d_perf.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/exynos/g2d/g2d_perf.c b/drivers/gpu/exynos/g2d/g2d_perf.c index fa7f1f5fd300..560a588e5621 100644 --- a/drivers/gpu/exynos/g2d/g2d_perf.c +++ b/drivers/gpu/exynos/g2d/g2d_perf.c @@ -243,6 +243,8 @@ void g2d_set_performance(struct g2d_context *ctx, struct g2d_device *g2d_dev = ctx->g2d_dev; int i; + return; + if (data->num_frame > G2D_PERF_MAX_FRAMES) return; -- 2.20.1