From patchwork Mon Mar 11 10:51:42 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Jourdan X-Patchwork-Id: 10847301 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 4F9EB17EF for ; Mon, 11 Mar 2019 10:51:57 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 37C7128FD1 for ; Mon, 11 Mar 2019 10:51:57 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2BFBE29082; Mon, 11 Mar 2019 10:51:57 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id D59312907C for ; Mon, 11 Mar 2019 10:51:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=N4cZiGjPJwzXtGC3DuUrDGXt62oihScbg63gTMqTQzc=; b=NnEb2Zy1p2Jrai nq8DRIIGDuXRfiWN94QngDJNTRaFyVaNgU/eRKOvGN8ykYhNnaOkqxowV8eKVs3pzU0lewx7pEneQ pkgBv0g0TDDAuFy94lHDZDN9lDoNQ0Qwu0wDBwCXXiI5AxYfMPuMAfLtOfrzM312s1t9gHt0RUwWT 2uo8AhvS9CNVGeBPxtCi70y0v275eQJxnGmZRekFBIxgDaISoKNIUlg76elWKOXcki84DNIZ02Bwo z4daG6XVtuvhb/PvKZGnYSE6W+JuDNd1IPWj0I4vW/V3MPvJl/mS6kbvVOwRH65HRKKGiA98SqRVY lO3CAwJKl0eV3SreWxGw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1h3IXD-0002Qi-47; Mon, 11 Mar 2019 10:51:55 +0000 Received: from mail-wr1-x444.google.com ([2a00:1450:4864:20::444]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1h3IX8-0002Oi-6r for linux-arm-kernel@lists.infradead.org; Mon, 11 Mar 2019 10:51:52 +0000 Received: by mail-wr1-x444.google.com with SMTP id w2so4498672wrt.11 for ; Mon, 11 Mar 2019 03:51:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=acF3DitoyymhurVq8KUqY0AN8ctPL+NGsZ1lE4tVO3I=; b=Xam3wbBfd+QhtmWpMxny/jrawAMCumM4nWMa7Xu337tUqy+CimqV1cXpy16vr2loIv H+zh7kWK0sEQgpQkR2C3jsbZJUBEHWdNI0oBweRGtbGu4gv1YXstggVDlvHO2uTwBP/v Kz9tvYfHV6jCjcDMnVU1coDvtlBWi4AXHY3Xu1nGNWB0Pe/A/NzSM/tsWkl9HgcHAa9M csXTu5eUKcvjv4Yj9VLCc9riOgMX4RKPHihgAZ/wcvNYMGj45EMBuzl0n3vJZd3lRxk+ UgqXRH1z8Svc4MoBi0krEkk8KpGroThieJLsvSRY8zFEGp/RcC5M40LEQgIy7bMKviVd 5szQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=acF3DitoyymhurVq8KUqY0AN8ctPL+NGsZ1lE4tVO3I=; b=Y8DLJoHeFh/rjKebNSNGwsFcy50elp+QzsrZa+0PnKKdkerZzlOPkcoeGUirwmxkH4 kUSIh4ldHV24dhy2XK4FaijNlNI3dl2bdDoymLdWBlrMGJR1z/yAEThOBqvA5dvZ+RBZ dc0nEqNbYIBilryRJI11A4Arh5hCT5oggqC4AbbzW6qYOBuVKAJ+XBwYmNHPumHNSK8K js4JlKnpSIV4LUXFw5//uG9QhE6X3bvg+PvX0Wkt+WFCaOdnh2zo7itRrKNlKrOw5FoX 3qXQnUBYd/2d/S/4VGANz5+71MK4532e0aihvnVVDWvXWCYBoZXStrNXQgihz0ljh0+j 9jWg== X-Gm-Message-State: APjAAAXx/x/o+FVvhNfhZF+Ai/wC9n8etAj4i8l9d5hEui5m9IfI3fMz dGL8BZ4hY1OvpFOqL9OIabL1nnkIFXM= X-Google-Smtp-Source: APXvYqwshDw1X8JBQbcUMRf0bddU46IVIkrhV3UbcV4g/noVcWEUba+Kf7z9rnKOxGqJ9FDS8wnrLQ== X-Received: by 2002:a5d:474b:: with SMTP id o11mr2667939wrs.182.1552301508744; Mon, 11 Mar 2019 03:51:48 -0700 (PDT) Received: from mjourdan-pc.numericable.fr (abo-99-183-68.mtp.modulonet.fr. [85.68.183.99]) by smtp.gmail.com with ESMTPSA id c21sm6902640wre.35.2019.03.11.03.51.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 11 Mar 2019 03:51:48 -0700 (PDT) From: Maxime Jourdan To: Neil Armstrong Subject: [PATCH 0/2] drm/meson: only allow using meson-canvas Date: Mon, 11 Mar 2019 11:51:42 +0100 Message-Id: <20190311105144.7276-1-mjourdan@baylibre.com> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190311_035150_245145_8519FD42 X-CRM114-Status: GOOD ( 11.69 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Maxime Jourdan , devicetree@vger.kernel.org, Kevin Hilman , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP This patch series aims at removing access to the DMC register range from the meson DRM driver, and is the final step at fully migrating it to using the meson canvas provider module. Please see the commit notes of patch 1/2 "dt-bindings: display: amlogic, meson-vpu: exclusively use amlogic,canvas" for more information. This series also incorporates a probing fix proposed by Neil Armstrong [1] although rewritten because of heavy code changes in the corresponding location. [1] https://lkml.org/lkml/2019/2/4/152 Maxime Jourdan (2): dt-bindings: display: amlogic, meson-vpu: exclusively use amlogic,canvas drm/meson: exclusively use the canvas provider module .../bindings/display/amlogic,meson-vpu.txt | 5 +- drivers/gpu/drm/meson/Makefile | 2 +- drivers/gpu/drm/meson/meson_canvas.c | 73 ---------------- drivers/gpu/drm/meson/meson_canvas.h | 51 ----------- drivers/gpu/drm/meson/meson_crtc.c | 84 ++++++------------- drivers/gpu/drm/meson/meson_drv.c | 68 ++++++--------- drivers/gpu/drm/meson/meson_drv.h | 1 - drivers/gpu/drm/meson/meson_overlay.c | 8 -- drivers/gpu/drm/meson/meson_plane.c | 6 +- drivers/gpu/drm/meson/meson_viu.c | 1 - 10 files changed, 53 insertions(+), 246 deletions(-) delete mode 100644 drivers/gpu/drm/meson/meson_canvas.c delete mode 100644 drivers/gpu/drm/meson/meson_canvas.h