Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751856AbdIMLmZ (ORCPT ); Wed, 13 Sep 2017 07:42:25 -0400 Received: from mailout4.samsung.com ([203.254.224.34]:40997 "EHLO mailout4.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751543AbdIMLmR (ORCPT ); Wed, 13 Sep 2017 07:42:17 -0400 X-AuditID: b6c32a47-f79db6d000003732-63-59b91996d703 From: Hoegeun Kwon To: inki.dae@samsung.com, airlied@linux.ie, kgene@kernel.org, krzk@kernel.org, robh+dt@kernel.org, mark.rutland@arm.com, catalin.marinas@arm.com, will.deacon@arm.com, mchehab@kernel.org, s.nawrocki@samsung.com, m.szyprowski@samsung.com, robin.murphy@arm.com Cc: dri-devel@lists.freedesktop.org, linux-media@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, a.hajda@samsung.com, Hoegeun Kwon Subject: [PATCH v4 0/4] Exynos-gsc: Support the hardware rotation limits Date: Wed, 13 Sep 2017 20:41:51 +0900 Message-id: <1505302915-15699-1-git-send-email-hoegeun.kwon@samsung.com> X-Mailer: git-send-email 1.9.1 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrCKsWRmVeSWpSXmKPExsWy7bCmue40yZ2RBodXGlncWneO1aL33Ekm i/fLehgt5h8Bcq98fc9m8X55F5vFpPsTWCz6H79mtjh/fgO7xabH11gtLu+aw2bRs2Erq8WM 8/uYLNYeuctusfT6RSaLZZv+MFm07j3CbnHwwxNWi8Nv2lktXn48weIg4rFm3hpGj02rOtk8 tn97wOpxv/s4k8fmJfUefVtWMXp83iQXwB6VapORmpiSWqSQmpecn5KZl26r5B0c7xxvamZg qGtoaWGupJCXmJtqq+TiE6DrlpkD9JCSQlliTilQKCCxuFhJ386mKL+0JFUhI7+4xFYp2tDQ SM/QwFzPyMhIz8Q41srIFKgkITXj3KPHjAWfeSq+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GB+wgCTYBXYmvPdeZQBIiAu1M Ei//3gdzmEGcmbdfglUJC3hIfN7dxgZiswioSrQc2MUCYvMCxU+tnsgOsU5O4uSxyawTGLkW MDKsYpRMLSjOTc8tNiowykst1ytOzC0uzUvXS87P3cQIDNZth7X6dzA+XhJ/iFGAg1GJh3fF ne2RQqyJZcWVuYcYJTiYlUR4mfh3RgrxpiRWVqUW5ccXleakFh9ilOZgURLnzeybESkkkJ5Y kpqdmlqQWgSTZeLglGpgPCSu26T8+MMkS/cEl9Klx2/FKXklLpdgeaQofOf6ol8JB2u/PZ1e N0P0ipPI6trnO851sUVM/b7U8uElZQPNkg95F3jP7U3/e1ll0vOEm9c/PFXk/66XcLBaLXTa jWi1V0nGZx1i/0x4elqCIVWWp5LHxzRBgTMs0Kaggq9x1wPOKXfmf7JqUWIpzkg01GIuKk4E AKFnw49SAgAA X-CMS-MailID: 20170913114214epcas2p11a7b99e0c69236a87506e3c5db4858fa X-Msg-Generator: CA X-Sender-IP: 182.195.42.143 X-Local-Sender: =?UTF-8?B?6raM7ZqM6re8G1RpemVuIFBsYXRmb3JtIExhYihTL1fshLw=?= =?UTF-8?B?7YSwKRvsgrzshLHsoITsnpAbRW5naW5lZXI=?= X-Global-Sender: =?UTF-8?B?SG9lZ2V1biBLd29uG1RpemVuIFBsYXRmb3JtIExhYi4bU2Ft?= =?UTF-8?B?c3VuZyBFbGVjdHJvbmljcxtFbmdpbmVlcg==?= X-Sender-Code: =?UTF-8?B?QzEwG1RFTEUbQzEwVjgxMTE=?= CMS-TYPE: 102P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20170913114214epcas2p11a7b99e0c69236a87506e3c5db4858fa X-RootMTR: 20170913114214epcas2p11a7b99e0c69236a87506e3c5db4858fa References: Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1605 Lines: 44 Hello all, Frist, thanks Krzysztof, Robin and Sylwester. The gscaler has hardware rotation limits. So this patch set support the rotate hardware limits of gsc. Changes for V4: - Fixed the most specific compatible come first in device tree. - Kept compatible("samsung,exynos5-gsc") in ther driver. - Added mark compatible("samsung,exynos5-gsc") as deprecated. - Added print dmesg if your driver uses compatible("samsung, exynos5-gsc"). - Removed the patch 5, 6 of ver3. Changes for V3: - Fixed of_match_node() to of_device_get_match_data() in drm gsc driver. - Added hardware rotation limits for gsc driver of v4l2. - Added the remove unnecessary compatible for DT document and Exynos dts. Changes for V2: - Added the interface info in binding document. - Added clean name of compatible in Exynos dts. - Added maximum supported picture size hardcoded into driver. Best regards, Hoegeun Hoegeun Kwon (4): [media] exynos-gsc: Add compatible for Exynos 5250 and 5420 specific version ARM: dts: exynos: Add clean name of compatible. drm/exynos/gsc: Add hardware rotation limits [media] exynos-gsc: Add hardware rotation limits .../devicetree/bindings/media/exynos5-gsc.txt | 9 +- arch/arm/boot/dts/exynos5250.dtsi | 8 +- arch/arm/boot/dts/exynos5420.dtsi | 4 +- drivers/gpu/drm/exynos/exynos_drm_gsc.c | 104 ++++++++++++----- drivers/media/platform/exynos-gsc/gsc-core.c | 127 ++++++++++++++++++++- include/uapi/drm/exynos_drm.h | 2 + 6 files changed, 211 insertions(+), 43 deletions(-) -- 1.9.1