From patchwork Thu Jun 7 11:06:05 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 137863 Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp1948399lji; Thu, 7 Jun 2018 04:06:26 -0700 (PDT) X-Google-Smtp-Source: ADUXVKIsQokuePZ1DS7Y16tPr+A2zO6V4Ly3Pqvq5e5Sdr+2WDpb1e8VkDFr82HDICy9Dw6fNfl9 X-Received: by 2002:a62:d9c5:: with SMTP id b66-v6mr1376329pfl.41.1528369585935; Thu, 07 Jun 2018 04:06:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528369585; cv=none; d=google.com; s=arc-20160816; b=zWbMDQtBZ7Eu3hWvdBTjuZZUO0x1VDK9sL/cKQtJ45MoP52FUvOe7xdAuPWEbt4W21 i9hwz5FK3YV7n9gkfezqaDSRf/u5OG8gdRDlPQtdZvJu3Who608CAFHaPa5wDT3jJ9VL bCIubzEHwJxxGRasRSuYUMiTeerFScgqWhHe/D1MQjcAbsHfcMqGyTsM4gi9LCJw6gdS 53reNaGEdA4EA47puBB2oMtMyuxQXgjkbRbBzHVFs4LsHk4ozfMYJukFY8cDcWat4End jBQRCSeNqi331BjTMwyaQyvbd/0/UTBwjuh3lbzdR3JucrubgVQKdfCBvUiTZwUiRubX PwEA== 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:message-id:date :subject:cc:to:from:dkim-signature:dkim-filter :arc-authentication-results; bh=s6RVYgWBGFPQrgv+S60eRKji5MpsPTKlYqi/7nJSDWQ=; b=0t5utM2UqEOsTFdfjOfOTjpIFb2FMLE6d/Ob4I/475uOgRlzSCnitwOq6Wsle3dfGY io/NcOASzJrN/Smb/svoNLf3b0I+7W848dYOmd4s2BVfksWFWK598EbWc2EMnNfLEUOY 8/O8GdSgGZMUtwRIAPpB6KfPNNu9mz9SEPYauBgdNu5GjEAQfuOvJok57e3WkVLLL35y GhrrlE5MTyrAAnYMwA+JiY3qyxs9uYOBpsadm/U8XkZBVtOOviy92VM9L7CwqOtfholS +ZFj4R3EJN4GI7A18QvTnVDFeE66gZpOyuNfQJkh5L0zZLiTeragDJFfE/1Oz5L/ooQE 3K4Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@samsung.com header.s=mail20170921 header.b=sgO9op8v; 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: 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.25; Thu, 07 Jun 2018 04:06:25 -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=sgO9op8v; 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 S1753169AbeFGLGZ (ORCPT + 3 others); Thu, 7 Jun 2018 07:06:25 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:33797 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752972AbeFGLGX (ORCPT ); Thu, 7 Jun 2018 07:06:23 -0400 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20180607110621euoutp02efccf9d9b0887ffbf160bb5b35b249e2~13AlhyFrX2893328933euoutp02A; Thu, 7 Jun 2018 11:06:21 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20180607110621euoutp02efccf9d9b0887ffbf160bb5b35b249e2~13AlhyFrX2893328933euoutp02A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1528369581; bh=oZHJxCJXpYUnaeJYKd+6y6cbxG+t1IVbN/4C4Y2I1rk=; h=From:To:Cc:Subject:Date:References:From; b=sgO9op8v4+40dMIe3xiv40eU0Gr8P/eJaCZj5n5yM3sLkBEomu1mMAelWDhVj9n6I hqWNpTOjXpudUvyRiILSjshD+iTHOQAvCehkAV2NAiEfgXVOymQwUqMnwgGEgtGBht DrdA1M/QOz1F5U+kqnuMDPffT8NsowWuZCldKzuc= Received: from eusmges3new.samsung.com (unknown [203.254.199.245]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20180607110620eucas1p288f877765f3a3248454d57a1024d07aa~13Akn8orM1609216092eucas1p2n; Thu, 7 Jun 2018 11:06:20 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges3new.samsung.com (EUCPMTA) with SMTP id 0B.43.10409.CA1191B5; Thu, 7 Jun 2018 12:06:20 +0100 (BST) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20180607110619eucas1p2cac2b218ed96f4b9ce21b84738db814a~13Aj-Wd5M1745617456eucas1p2q; Thu, 7 Jun 2018 11:06:19 +0000 (GMT) X-AuditID: cbfec7f5-b5fff700000028a9-78-5b1911acc134 Received: from eusync1.samsung.com ( [203.254.199.211]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id 78.AD.04178.BA1191B5; Thu, 7 Jun 2018 12:06:19 +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:19 +0100 (BST) From: Marek Szyprowski To: dri-devel@lists.freedesktop.org, linux-samsung-soc@vger.kernel.org Cc: Marek Szyprowski , Inki Dae , Seung-Woo Kim , Bartlomiej Zolnierkiewicz , Andrzej Pietrasiewicz Subject: [PATCH 0/9] Exynos DRM IPP fixes Date: Thu, 07 Jun 2018 13:06:05 +0200 Message-id: <20180607110614.335-1-m.szyprowski@samsung.com> X-Mailer: git-send-email 2.17.1 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprKIsWRmVeSWpSXmKPExsWy7djPc7prBCWjDW5+5bCY9bKdxWLjjPWs Fle+vmezmHR/AovFjPP7mCzWHrnLbjFj8ks2B3aP+93HmTz6tqxi9Pi8SS6AOYrLJiU1J7Ms tUjfLoEr49jNFsaCl9wVu3d8YG1gPM/ZxcjJISFgIvFx+hOmLkYuDiGBFYwSH75dY4NwPjNK /D5xlxmmatGcSSwQiWWMEmvvz2OHcBqYJJo2XGEBqWITMJToetvFBmKLCLhJNB2eyQpSxCzw GKhj92Z2kISwgKbE//8XWEFsFgFVidV7b4DZvALWEjf6P7JBrJOXWL3hADNIs4TAQ1aJKb3P oO5wkXjx4zsrhC0s8er4FnYIW0ais+MgE0RDM6NE+4xZ7BBOD6PE1jk7oMZaSxw+fhGsm1mA T2LStulAUzmA4rwSHW1CECUeEstvXQJ7R0ggVuJp30T2CYwSCxgZVjGKp5YW56anFhvnpZbr FSfmFpfmpesl5+duYgRG1ul/x7/uYNz3J+kQowAHoxIPb8N98Wgh1sSy4srcQ4wSHMxKIryJ l8SihXhTEiurUovy44tKc1KLDzFKc7AoifPGadRFCQmkJ5akZqemFqQWwWSZODilGhjn6rhJ nxY4/ne36hyL2/8vyKlohW57adpwq0i3oOLnx3uRC8yjvdPa2RwvN+RIun360nbh1K+iMEab z+7Xlv34k+Puo6It9N9oY2R/e/mHH5Zz335W+iBjdVzfp86hJOhmXt4O5VL2i9JyXx/YLTAx vVwuU2wWPTGl83pnfbzOVd2mUxn37JRYijMSDbWYi4oTAXPqkRGoAgAA X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrGJMWRmVeSWpSXmKPExsVy+t/xy7qrBSWjDbZ+1rSY9bKdxWLjjPWs Fle+vmezmHR/AovFjPP7mCzWHrnLbjFj8ks2B3aP+93HmTz6tqxi9Pi8SS6AOYrLJiU1J7Ms tUjfLoEr49jNFsaCl9wVu3d8YG1gPM/ZxcjJISFgIrFoziSWLkYuDiGBJYwSrXtOM0M4TUwS Ew+0sYBUsQkYSnS97WIDsUUE3CSaDs9kBSliFnjMKPFx2ylWkISwgKbE//8XwGwWAVWJ1Xtv gNm8AtYSN/o/skGsk5dYveEA8wRGrgWMDKsYRVJLi3PTc4sN9YoTc4tL89L1kvNzNzECfb/t 2M/NOxgvbQw+xCjAwajEw9twXzxaiDWxrLgy9xCjBAezkghv4iWxaCHelMTKqtSi/Pii0pzU 4kOM0hwsSuK85w0qo4QE0hNLUrNTUwtSi2CyTBycUg2MYQuY17xcLjbJM+1ccmTUtr1m79Uu vWz67fbp2auFAmcmzQm6wp0acr7a3ffE7+Dnd+a+2yOwtqPi/gWOzq9HpnCa3N9SOv+Qyt41 55iFF4dMvtHz4bnLZxOhto1RrF+b7//Re37q6v+s4K11n9s9Dgsu2hB5VSL/1v5Ule3udmUG vbw7NP6/j1diKc5INNRiLipOBABYRsfb+QEAAA== X-CMS-MailID: 20180607110619eucas1p2cac2b218ed96f4b9ce21b84738db814a X-Msg-Generator: CA CMS-TYPE: 201P X-CMS-RootMailID: 20180607110619eucas1p2cac2b218ed96f4b9ce21b84738db814a References: Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org Dear all, This patchset is a result of running various tests of Exynos DRM IPP modules. It turned out that some drivers incorrectly interpreted real buffer width (calculated from buffer pitch), had swapped horizontal and vertial flips or used incorrect variant of the YUV modes. This patchset fixes those issues. Best regards Marek Szyprowski Samsung R&D Institute Poland Andrzej Pietrasiewicz (1): drm/exynos: scaler: Reset hardware before starting the operation Marek Szyprowski (8): drm/exynos: ipp: Rework checking for the correct buffer formats drm/exynos: rotator: Fix DRM_MODE_REFLECT_{X,Y} interpretation drm/exynos: scaler: Fix support for YUV420, YUV422 and YUV444 modes drm/exynos: gsc: Use real buffer width for configuring the hardware drm/exynos: gsc: Increase Exynos5433 buffer width alignment to 16 pixels drm/exynos: gsc: Fix DRM_MODE_REFLECT_{X,Y} interpretation drm/exynos: gsc: Fix support for NV16/61, YUV420/YVU420 and YUV422 modes drm/exynos: fimc: Use real buffer width for configuring the hardware drivers/gpu/drm/exynos/exynos_drm_fimc.c | 17 +-- drivers/gpu/drm/exynos/exynos_drm_gsc.c | 51 +++++---- drivers/gpu/drm/exynos/exynos_drm_ipp.c | 108 +++++++++++--------- drivers/gpu/drm/exynos/exynos_drm_rotator.c | 4 +- drivers/gpu/drm/exynos/exynos_drm_scaler.c | 44 ++++++-- drivers/gpu/drm/exynos/regs-gsc.h | 1 + 6 files changed, 136 insertions(+), 89 deletions(-) -- 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