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: 10847299 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 5AE8E6C2 for ; Mon, 11 Mar 2019 10:51:56 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 453E328FC2 for ; Mon, 11 Mar 2019 10:51:56 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4376F28EB7; Mon, 11 Mar 2019 10:51:56 +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 C64E729078 for ; Mon, 11 Mar 2019 10:51:54 +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=bKBnKrXpr3NyJgxrhrKka4d2dZ3gA/7jGBKrYu0ylM4=; b=o+jKSCHefFckMy nofe1GC5fZp8yCUDcGNVwFiPA370lN0bsaY7Zh6bASRQ1ualE2Ij0srRpqaGfnk4jQb+c1ZWoiN6N bKeo5U+rdlQXYe8E7Xnx5vxxYQmYQ2+4bsAeB3IBH0edMzifiZ8TFDvEHC+crazbAR9E0Bnb7buix fjTmmCbCvPnEgxk4YNKxIleSBhEK9+9Yv2rRakp8zXd5kHE33Ou4DGdhAeDU/zBUcml5826KNjaTY uehUH+eUZ1GEuNepF7Hn55jokZdfMsY+/OJI62jRnmL8fYM9I/2iWSqm9slseLcQqZsL49tYIQL8J kkBziVZILVQhNrQCICgA==; 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 1h3IXC-0002Pr-52; Mon, 11 Mar 2019 10:51:54 +0000 Received: from mail-wr1-x442.google.com ([2a00:1450:4864:20::442]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1h3IX8-0002Oh-5p for linux-amlogic@lists.infradead.org; Mon, 11 Mar 2019 10:51:52 +0000 Received: by mail-wr1-x442.google.com with SMTP id t6so4511604wrw.7 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=Cm3kBEjpP5wK66zubZuA/dMD0yFN9dulR4/0WeiuhHT12bbehuHo2MK7CNLaIa30Ok 5MfCL5JjlC8O1c6jbwZT4TR078kTx36jh//R4YWqZKVQmF9HOT9GCRWTrbT9Huhx9vEe K5mvlxq625a0+c34ZipJqI5rfX+2gYdh2DMaxlLFvcYZbvVM+HULHygXUFg8iV80pSx9 VOqmU+mEpvX1yjsBCGeRL6hB0M9/HpJfI6noETXSBC5Dr1GJ8wFQkGOpnzdwudOH/mEj KlIV+m1Z3p3llCPOqo6nquj6zIeo35GbwiyOo1sLHhFoX5T+LvRVcxHhtUGjSHMLNYOF Mxbw== X-Gm-Message-State: APjAAAVxk2A7NeAl60/Fas5e5MLEI0Rt+va1p55tzMIZlVIAQhBGRYVi Al6r6LPoYWwkTOjv34bo0nfxVg== 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_226848_3FAE7BB3 X-CRM114-Status: GOOD ( 10.23 ) X-BeenThere: linux-amlogic@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-amlogic" Errors-To: linux-amlogic-bounces+patchwork-linux-amlogic=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