Message ID | 20180607110614.335-7-m.szyprowski@samsung.com |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp1948493lji; Thu, 7 Jun 2018 04:06:29 -0700 (PDT) X-Google-Smtp-Source: ADUXVKIgFH7fYrdSiUgbaNl+g8aBwFJElJYOjz9FH4Ay6fLefcayuzSRmp3a7sYQ7MsUSQnOGleo X-Received: by 2002:a62:f5da:: with SMTP id b87-v6mr1364262pfm.113.1528369589792; Thu, 07 Jun 2018 04:06:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528369589; cv=none; d=google.com; s=arc-20160816; b=MG5ohoUWHBri/O9cb+YnyCBFeuhBpZjj8vKgep+PIWQJlHCDz9v6iIhcBbiz3O8zFR 6RlB46piQUcL4F4OPGhUJhhw8XG8A89b8yyZzPXKRFVyxFmnb8uzEUgvMIG1oHqiWV29 ZG19ED8GpUjWW2dnKg3uOzQiQFrnlW9y53+I29iuz+9Zie9XGdZyNSZQXAF0e+Md2atX 5YSkeS+5xprfMU9zc46n6RCaQxikhj9CIWpfFs7bQN0RpnJl+GXl+UYZavSK9zKjcY1C +seiqqUHSr2J1zOLGE8Sod4bjCaU/jidItqlbvrozgHOBOo/M8eF9VYJZm2QuuzSIyCz KHQw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:cms-type:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature:dkim-filter :arc-authentication-results; bh=Vk3oTxR2VZlrM4aTROZ3szmjaeJuHH0KklL/IH9QO90=; b=kzOVU0jb/MwzSQxMfwyr2UstIFT07JeIWI9NUcKyWOTfhAb1PnvbGlbFdqQJsT+7Q2 0UxEG3f17VdzxfWHNjbbioscUHt9cx47svXoU3+IdoyKSYYY6JbP56ENMnXYfPCxStsO rrBoCMnpbSrQMtxv2vZKx5cjTsDyP5zg8AVl3sypbz/KG7h3Lo8pe5i33QhCZ+o7Ib8+ kNd5hPiEDGJdeJ5idNNwUkhuYPDODon5MH9thPHgEdQ+3ncHEBYYhF5iM8zN58/podb2 zqYCCczzFnSHPFOR1AM53MPFad/ekMYwilnuXo/TlOkXZecuUhxoihLSkaqpv7Cv2GSS 0O1Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@samsung.com header.s=mail20170921 header.b=Aga0xesE; spf=pass (google.com: best guess record for domain of linux-samsung-soc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-samsung-soc-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: <linux-samsung-soc-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p8-v6si15144102pgd.96.2018.06.07.04.06.29; Thu, 07 Jun 2018 04:06:29 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-samsung-soc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@samsung.com header.s=mail20170921 header.b=Aga0xesE; spf=pass (google.com: best guess record for domain of linux-samsung-soc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-samsung-soc-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753319AbeFGLG2 (ORCPT <rfc822;riku.voipio@linaro.org> + 3 others); Thu, 7 Jun 2018 07:06:28 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:33820 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753280AbeFGLGZ (ORCPT <rfc822;linux-samsung-soc@vger.kernel.org>); Thu, 7 Jun 2018 07:06:25 -0400 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20180607110624euoutp0284a9183b9a0c31850f12060c01894706~13AoCb9tN2986729867euoutp02C; Thu, 7 Jun 2018 11:06:24 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20180607110624euoutp0284a9183b9a0c31850f12060c01894706~13AoCb9tN2986729867euoutp02C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1528369584; bh=LMFv56FPvs+8QNal/Ji43Udj1y1hFph2zTOGcfBjUKU=; h=From:To:Cc:Subject:Date:In-reply-to:References:From; b=Aga0xesEjJkm0ffTgsj7sx0ZCNHKHq42NXdoHjiknFR8mYXil+jNSkMljSFjmmjXv NZR6yHsm2Ofg7OiEAe7pPKFAqpiTULWi7ToxXbOAOw4SaM7k3kn9VZ4Lmb2//Va2pY +KFiFKtq3s0Q95yUPh+IcEWkSH9yz3pp6Q2NpHho= Received: from eusmges2new.samsung.com (unknown [203.254.199.244]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20180607110623eucas1p1190caebdf24e8d842c68e21b44bb9ae5~13AnTuiXu0967009670eucas1p1O; Thu, 7 Jun 2018 11:06:23 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges2new.samsung.com (EUCPMTA) with SMTP id B1.A6.17380.EA1191B5; Thu, 7 Jun 2018 12:06:23 +0100 (BST) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20180607110622eucas1p279bc9784770d10df8c7d5330bac154ad~13Amm4pTq1744617446eucas1p2z; Thu, 7 Jun 2018 11:06:22 +0000 (GMT) X-AuditID: cbfec7f4-713ff700000043e4-7a-5b1911aee6af Received: from eusync1.samsung.com ( [203.254.199.211]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id 2A.AD.04178.EA1191B5; Thu, 7 Jun 2018 12:06:22 +0100 (BST) Received: from AMDC2765.digital.local ([106.116.147.25]) by eusync1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0P9Y0097E9IGLAA0@eusync1.samsung.com>; Thu, 07 Jun 2018 12:06:21 +0100 (BST) From: Marek Szyprowski <m.szyprowski@samsung.com> To: dri-devel@lists.freedesktop.org, linux-samsung-soc@vger.kernel.org Cc: Marek Szyprowski <m.szyprowski@samsung.com>, Inki Dae <inki.dae@samsung.com>, Seung-Woo Kim <sw0312.kim@samsung.com>, Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>, Andrzej Pietrasiewicz <andrzej.p@samsung.com> Subject: [PATCH 6/9] drm/exynos: gsc: Increase Exynos5433 buffer width alignment to 16 pixels Date: Thu, 07 Jun 2018 13:06:11 +0200 Message-id: <20180607110614.335-7-m.szyprowski@samsung.com> X-Mailer: git-send-email 2.17.1 In-reply-to: <20180607110614.335-1-m.szyprowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprPIsWRmVeSWpSXmKPExsWy7djP87rrBSWjDdatYLSY9bKdxWLjjPWs Fle+vmezmHR/AovFjPP7mCzWHrnLbjFj8ks2B3aP+93HmTz6tqxi9Pi8SS6AOYrLJiU1J7Ms tUjfLoEro+VlF3NBH0fFrsuLWRsYL7F1MXJySAiYSPzrm84EYgsJrGCUeD49tIuRC8j+zCix eNF+VpiiNw9fQhUtY5S4fEoRoqiBSWL5v+1gk9gEDCW63naB2SICbhJNh2eyghQxCzxmlFi7 ezM7SEJYIF7iypn9zCA2i4CqxLaWX2AbeAWsJZZ+XsoIsU1eYvWGA2A1nAI2EueXbWICGSQh 8JVVon/TdmaIIheJNZMXQ50nLPHq+BZ2CFtGorPjIFRDM6NE+4xZ7BBOD6PE1jk7oL62ljh8 /CJYN7MAn8SkbdOBpnIAxXklOtqEIEwPiZ3/iyDe7GeUmL1mHvsERskFjAyrGMVTS4tz01OL jfJSy/WKE3OLS/PS9ZLzczcxAqPt9L/jX3Yw7vqTdIhRgINRiYe34b54tBBrYllxZe4hRgkO ZiUR3sRLYtFCvCmJlVWpRfnxRaU5qcWHGKU5WJTEeeM06qKEBNITS1KzU1MLUotgskwcnFIN jFwXu//VOE8xWSx88ZH9ghXdK6J1opav8GNe83XKYinTO00cPIsEo/Y94s/keNcoUC6iEa6r 95+R1dSp69arvffmMxX2pP/707H09tQ4a4fz2imvl6gdEskOL1065Xkqd/G/Ggft6Qcn1zLO MJ2wMXIWa2Jzrt2ajjAG4SarZ+9fHblz7Sf/WiWW4oxEQy3mouJEAMsM1xeyAgAA X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrHJMWRmVeSWpSXmKPExsVy+t/xy7rrBCWjDfr+KFrMetnOYrFxxnpW iytf37NZTLo/gcVixvl9TBZrj9xlt5gx+SWbA7vH/e7jTB59W1YxenzeJBfAHMVlk5Kak1mW WqRvl8CV0fKyi7mgj6Ni1+XFrA2Ml9i6GDk5JARMJN48fMnUxcjFISSwhFGi+fVXKKeJSeLC kn3sIFVsAoYSXW+7wDpEBNwkmg7PZAUpYhZ4zCjxcdspVpCEsEC8xJUz+5lBbBYBVYltLb/A 4rwC1hJLPy9lhFgnL7F6wwGwGk4BG4nzyzYxgdhCQDVvH5xmn8DIs4CRYRWjSGppcW56brGh XnFibnFpXrpecn7uJkZgqGw79nPzDsZLG4MPMQpwMCrx8DbcF48WYk0sK67MPcQowcGsJMKb eEksWog3JbGyKrUoP76oNCe1+BCjNAeLkjjveYPKKCGB9MSS1OzU1ILUIpgsEwenVANjkodU 6AEV9XO6m4zmtnycvjJ48w8ddcmZ7Rbd7m5766c2y4lmHjthsT06rLFTVyia4dmTF/Ll3GxF GVzHArfsnXVb92r2M+1IlTzevFLHnvCpVfMuvTeJXmk6x22z5dNOzaCUiu8npPTWLdBLEXXr FpzKuW9ezVUpy6fLQpfPnPfCc57GwRNKLMUZiYZazEXFiQBW+JGoEQIAAA== X-CMS-MailID: 20180607110622eucas1p279bc9784770d10df8c7d5330bac154ad X-Msg-Generator: CA CMS-TYPE: 201P X-CMS-RootMailID: 20180607110622eucas1p279bc9784770d10df8c7d5330bac154ad References: <20180607110614.335-1-m.szyprowski@samsung.com> <CGME20180607110622eucas1p279bc9784770d10df8c7d5330bac154ad@eucas1p2.samsung.com> Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: <linux-samsung-soc.vger.kernel.org> X-Mailing-List: linux-samsung-soc@vger.kernel.org |
Series |
Exynos DRM IPP fixes
|
expand
|
diff --git a/drivers/gpu/drm/exynos/exynos_drm_gsc.c b/drivers/gpu/drm/exynos/exynos_drm_gsc.c index ee27f7fdc7ab..988b391c886a 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_gsc.c +++ b/drivers/gpu/drm/exynos/exynos_drm_gsc.c @@ -1340,7 +1340,7 @@ static const struct drm_exynos_ipp_limit gsc_5420_limits[] = { }; static const struct drm_exynos_ipp_limit gsc_5433_limits[] = { - { IPP_SIZE_LIMIT(BUFFER, .h = { 32, 8191, 2 }, .v = { 16, 8191, 2 }) }, + { IPP_SIZE_LIMIT(BUFFER, .h = { 32, 8191, 16 }, .v = { 16, 8191, 2 }) }, { IPP_SIZE_LIMIT(AREA, .h = { 16, 4800, 1 }, .v = { 8, 3344, 1 }) }, { IPP_SIZE_LIMIT(ROTATED, .h = { 32, 2047 }, .v = { 8, 8191 }) }, { IPP_SCALE_LIMIT(.h = { (1 << 16) / 16, (1 << 16) * 8 },
Investigation revealed that GScaler hardware requires the real buffer width (pitch) to be aligned to 16 pixels. Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> --- drivers/gpu/drm/exynos/exynos_drm_gsc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.17.1 -- To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html