From patchwork Mon Jul 9 13:44:29 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 141402 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp2687441ljj; Mon, 9 Jul 2018 06:44:45 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcqVcJEg+k1GwyfOcQzvGLww9PLIN/zWYyVvcBOe2TK+aBsRf7F9o4her4lhJ/rJ/vOwATC X-Received: by 2002:a63:6441:: with SMTP id y62-v6mr12657367pgb.240.1531143885397; Mon, 09 Jul 2018 06:44:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531143885; cv=none; d=google.com; s=arc-20160816; b=BHki5YJQrXkL/TtTw3JXGFqi5EiSLHlBZEFusW7Lqpb6ZAOHR7cwLgUUUeSDDQvoKy sC3jf1WI7UoXljg1OsaN9k5sH8PqIbiHQ+Dh2z6duiQaVXE/C/O90FkQgo1zBRbj+gU9 Itcb2dABWtSJiWYjydeZFmWSrKK01D70nGsLz7232OJuNBUvuC6VOK0IYHzkSdrHykKA 5BSODwOqFjDgc+SwUu1Zt5zIpPHT0kFbpqKWG0n/MGA/qJu+EHjtBqK5Q6sex/tgRyP9 hrzL91F3VXJHnzV+RgsSZZDULBTIhsZokn6AagvbwuyIPZ0y+POoO2hojfZ8OKDImi0u Pwmg== 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=/qDPgT97aooyjbczH/m25GdKEou85zqJ0Y/Y5/B7egQ=; b=cp9qf09x/aDVPazEEbe9fSA6am7QJXxxCocnVQLI4MIZP00L40SvyB+kr0FVPMOO78 Rs0ekauLhbdvves4EY/6Rdmf6D5vMxXboEriu6gwYCZMLWtaRCFGvk118HCJ2RIhQpQ5 3dhjQl9inAPLgM4t3qb6tysSbfOVU3qQQ7d33DsvoUPeyTYV9IuvSB0ljk4jKVEtWzR6 qo7iHxCkj0uq67wvJe8ms/yctEyEr+ZWy89/4h5xkyKqTdLQfIjNKzZ6+RrDBlQEBzog IYvSdHdS1MD2QwwXUzqU0nvryd/BSQOE2SI1a1YQpj/Fs+KIaWMi0+W44mVRCLJ9zK6z U+eQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@samsung.com header.s=mail20170921 header.b=Y0Zv5o0q; 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 d26-v6si14339793pgb.571.2018.07.09.06.44.45; Mon, 09 Jul 2018 06:44:45 -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=Y0Zv5o0q; 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 S1754515AbeGINoo (ORCPT + 3 others); Mon, 9 Jul 2018 09:44:44 -0400 Received: from mailout1.w1.samsung.com ([210.118.77.11]:46985 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754492AbeGINon (ORCPT ); Mon, 9 Jul 2018 09:44:43 -0400 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20180709134441euoutp0173e1c5dbf9a8867bbbebc331bf4ac753~-tz_DAapt2754527545euoutp01f for ; Mon, 9 Jul 2018 13:44:41 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20180709134441euoutp0173e1c5dbf9a8867bbbebc331bf4ac753~-tz_DAapt2754527545euoutp01f DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1531143881; bh=iOLEX5Bl0Jmb0qI5zTUm2kyMJt8Y/hRR51JZo11F+CQ=; h=From:To:Cc:Subject:Date:References:From; b=Y0Zv5o0qrXL386qmwPnDH5cQj6b4aEe6n34Z+igcu56FqPaIfNOw8fh7BHjXXTvJz j/cSW5Et3iEYkN0cx7QHSbQzf5ClAknYMTS4NsIi3M//yCnFXhQF0Slej/SXI0Ikez FqZgEN/JpZBzl32AgJ+kB+HhGOmVsXhoEWpA7P4w= Received: from eusmges1new.samsung.com (unknown [203.254.199.242]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20180709134440eucas1p1dab93488b7ca8870fda67a0f61092bd8~-tz9UVVFi2374023740eucas1p1I; Mon, 9 Jul 2018 13:44:40 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges1new.samsung.com (EUCPMTA) with SMTP id 9D.75.05700.8C6634B5; Mon, 9 Jul 2018 14:44:40 +0100 (BST) Received: from eusmtrp2.samsung.com (unknown [182.198.249.139]) by eucas1p2.samsung.com (KnoxPortal) with ESMTPA id 20180709134440eucas1p28780a30ed64a4495666a440a0979086c~-tz8hVeoh1414014140eucas1p2F; Mon, 9 Jul 2018 13:44:40 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eusmtrp2.samsung.com (KnoxPortal) with ESMTP id 20180709134439eusmtrp2152aeb2e3d483a870a7a862ba429c088~-tz8STFqW2764427644eusmtrp2i; Mon, 9 Jul 2018 13:44:39 +0000 (GMT) X-AuditID: cbfec7f2-1dbff70000011644-b3-5b4366c82c47 Received: from eusmtip1.samsung.com ( [203.254.199.221]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id 08.10.04178.7C6634B5; Mon, 9 Jul 2018 14:44:39 +0100 (BST) Received: from AMDC2765.digital.local (unknown [106.116.147.25]) by eusmtip1.samsung.com (KnoxPortal) with ESMTPA id 20180709134439eusmtip1bbe07274db33f5f565b686ac40c8ee34~-tz73F1Zg1056610566eusmtip1K; Mon, 9 Jul 2018 13:44:39 +0000 (GMT) From: Marek Szyprowski To: dri-devel@lists.freedesktop.org, linux-samsung-soc@vger.kernel.org Cc: Marek Szyprowski , Inki Dae , Seung-Woo Kim , Andrzej Hajda , Bartlomiej Zolnierkiewicz , Krzysztof Kozlowski , Tobias Jakobi Subject: [PATCH v2 0/3] Exynos DRM cleanup Date: Mon, 9 Jul 2018 15:44:29 +0200 X-Mailer: git-send-email 2.17.1 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrBIsWRmVeSWpSXmKPExsWy7djPc7on0pyjDWZN1LS4te4cq8XGGetZ La58fc9mMen+BBaL8+c3sFvMOL+PyWLtkbtA1uSXbBZtqz+wOnB6bFrVyeZxv/s4k8e/Y+we fVtWMXp83iQXwBrFZZOSmpNZllqkb5fAlbF/UzdzwQbuipXzvrM2MK7g7GLk5JAQMJHY1fWR sYuRi0NIYAWjxJL339hAEkICXxglrv/UgEh8ZpQ4v3IxC0zHvY4FTBCJ5YwSZ3q7odq/Mkq8 XN/FDFLFJmAo0fW2C2yUiICbRNPhmawgRcwCG5kkNj+aCNTOwSEsoCXx8oscSA2LgKpEa+9/ qA3yEqs3HGAGqZcQuM8m8an5MDtIglegTOJQyx9GiCIXiWN3lrFB2MISr45vYYewZST+75zP BNHczCjRPmMWO4TTwyixdc4OqA5ricPHL7KCXMEsoCmxfpc+RNhRYuqNJrDjJAT4JG68FQQJ MwOZk7ZNZ4YI80p0tAlBVKtJzDq+Dm7twQuXmCFsD4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1m52/IVuw/TitiYk9WZj9vPPlzQ9JSzd6PXszSNiAxNf/t6JtaHb4uv HVrY7DR57y8lDbGlTGIS1hZTQ1dsEjouJVZgt0qtbV7bK6YJzx+k31nY/7gjQ4mlOCPRUIu5 qDgRAJ1a2/BhAgAA Message-Id: <20180709134440eucas1p28780a30ed64a4495666a440a0979086c~-tz8hVeoh1414014140eucas1p2F@eucas1p2.samsung.com> X-CMS-MailID: 20180709134440eucas1p28780a30ed64a4495666a440a0979086c X-Msg-Generator: CA X-RootMTR: 20180709134440eucas1p28780a30ed64a4495666a440a0979086c X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20180709134440eucas1p28780a30ed64a4495666a440a0979086c 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 performs a significant cleanup of Exynos DRM code. This includes the following 2 big items: - the custom 'sub-driver' framework has been finally replaced by generic device component code; - access to exynos GEM object has been simplified and unified. Best regards Marek Szyprowski Samsung R&D Institute Poland Changelog: v2: - rebased onto linux-next from 20180709 and resolved conflicts with "drm/exynos: Replace drm_gem_object_unreference_unlocked with put function" patch Patch summary: Marek Szyprowski (3): drm/exynos: g2d: Convert to driver component API drm/exynos: gem: Simplify access to exynos GEM objects drm/exynos: Use common exynos_drm_gem_get()/put() functions for GEM lookup drivers/gpu/drm/exynos/Makefile | 2 +- drivers/gpu/drm/exynos/exynos_drm_core.c | 119 --------- drivers/gpu/drm/exynos/exynos_drm_drv.c | 14 +- drivers/gpu/drm/exynos/exynos_drm_drv.h | 47 +--- drivers/gpu/drm/exynos/exynos_drm_fb.c | 10 +- drivers/gpu/drm/exynos/exynos_drm_g2d.c | 300 +++++++++-------------- drivers/gpu/drm/exynos/exynos_drm_g2d.h | 11 + drivers/gpu/drm/exynos/exynos_drm_gem.c | 58 +---- drivers/gpu/drm/exynos/exynos_drm_gem.h | 24 +- drivers/gpu/drm/exynos/exynos_drm_ipp.c | 10 +- 10 files changed, 156 insertions(+), 439 deletions(-) delete mode 100644 drivers/gpu/drm/exynos/exynos_drm_core.c -- 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