From patchwork Wed Jun 1 11:02:43 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Robinson X-Patchwork-Id: 12866725 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E837CC433F5 for ; Wed, 1 Jun 2022 11:04:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :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=l2g1cxRyvev2tEzqMiXjKgRBolL1CeeAnd5lBZgbLQE=; b=KmIZ0zj7voofPX QU5zt+JTP5z0dnPafbaNxK5gmADF18ob9hrPfizA7sqailmOIJsrIriJ72s5o9bUgKZnaztPlpUpD r2aVkG4KVgyVyspYjj+FWwnDSLuW07vfd5KakxC5J57+9jja7iUaLfSEvHNM/xeCA5qqBDAuK7bbb qbPRIcHrC6Y3xl1TsAuEn5Rha0JRR+ZxO8T3SLc06Mu2Oy70i2f3jI2FDFxke8AVMiJtVaPzEcHtc fI7xRsIishh1MPjqCF813ut4fP0xXMUkBg4C9CftFT23lCZUrZlfrceKd7bYfZOWqd7ImxPxff6Ca iX+DvFiJ1Dzsp6nP1L1g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nwM89-00FTpx-Le; Wed, 01 Jun 2022 11:03:13 +0000 Received: from mail-wr1-x433.google.com ([2a00:1450:4864:20::433]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nwM85-00FTmP-K4; Wed, 01 Jun 2022 11:03:11 +0000 Received: by mail-wr1-x433.google.com with SMTP id e25so1808188wra.11; Wed, 01 Jun 2022 04:03:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=+zZsO86c7UE7QvEC2eQfX2kUILcgmTmiVsimoV00Fig=; b=RWvLvKoFlLoIqtEIQEBmqRinPoXT2pwcMzXiPP9mYFKGYydw1o3JyJjUyV4EwzjC9P 0UExEuQhv2MSWzAGrpUXAO2d1muYe8xLg0cKYXY3GwiaU5DeeQD5QEH+Th3UUos8fKrS 0VB3J3QtsNdL8KC5zazlD7gE6vV3VDE/EkaAo8O6tyQR8OAIJByWUHWZgTihNNtopR5U mYxdbWYYI+coPQ3RimPdJXIhShfdegJk6PSk+P7R2MPYdu6EYrLW928ETR3SLm81Ybdj pJTdtzHiQinLYZ4OEknrc4/9sXwfq8cAPRq6uYG3fIxgwEV75i0LK8bFJeGBbNItTrxh v+uA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=+zZsO86c7UE7QvEC2eQfX2kUILcgmTmiVsimoV00Fig=; b=r2hkoNVy0ErwjTPgDnAR+893aYvIXdddm0pQ5oHyAAJkVBW+7UU8CRmXTPXbdV6KGE JDtHJR9EACOyEW6WzKDjVNyqr93tx8sGIO7tQ1zB18OwdNOxgAUwukTQR+e7z70hd3Oj z+O7g89WlXZweOE5rxxOyeSPgjFxceCSS216PXdnwNwHnoUrb7P8Yho9ZtML4Hi+KWp5 zVo86RZhZDpFUq1ZW9rG9i8H/nc66qxombk7tgFVFYwBYDE0liEM4TY2okqGl6fKR31r dT1JbX7DCRi/3m/DnuQpyeecCfQTFbDFbFOX6TxNksnTnZgNqqZKYoyWYmENUTgPoKMW pmFA== X-Gm-Message-State: AOAM532HsIMu8Yg5tz1M05r+hjAn8irs/JNsmBEw3DPx4XEo34sRt9zR Cc8WajBIUWD3KSw9z7j/3as= X-Google-Smtp-Source: ABdhPJzdFArfJvW9hQHWFrJs7yIIuQUxkFM6pa4e9yIMCEe3t4YJGws6JFPuVFk2mvCQupjXtq4MdA== X-Received: by 2002:adf:c80a:0:b0:20c:ffa0:6a3 with SMTP id d10-20020adfc80a000000b0020cffa006a3mr52732693wrh.360.1654081385880; Wed, 01 Jun 2022 04:03:05 -0700 (PDT) Received: from morpheus.home.roving-it.com (82-132-215-116.dab.02.net. [82.132.215.116]) by smtp.googlemail.com with ESMTPSA id j14-20020a05600c190e00b00397381a7ae8sm6074559wmq.30.2022.06.01.04.03.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Jun 2022 04:03:05 -0700 (PDT) From: Peter Robinson To: Arnd Bergmann , bcm-kernel-feedback-list@broadcom.com, Daniel Vetter , David Airlie , devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org, Emma Anholt , Florian Fainelli , javierm@redhat.com, linux-arm-kernel@lists.infradead.org, linux-rpi-kernel@lists.infradead.org, maxime@cerno.tech, Nicolas Saenz Julienne , Rob Herring , Stefan Wahren , Catalin Marinas , Will Deacon Cc: Peter Robinson Subject: [PATCH v5 0/6] Raspberry PI 4 V3D enablement Date: Wed, 1 Jun 2022 12:02:43 +0100 Message-Id: <20220601110249.569540-1-pbrobinson@gmail.com> X-Mailer: git-send-email 2.36.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220601_040309_712887_23F22314 X-CRM114-Status: GOOD ( 13.15 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This is a follow up from my v4 patchset. The power management pieces have been split out to a separate independent set of patches by Stefan [1]. This version 5 of the DRM patches are independent and given the V3D driver has been upstream for some time the two patches to enable it in defconfigs can be taken at anytime independent of the enablement for the Raspberry Pi 4. I've tested this using mesa 22.0.x and Wayland/Gnome on Fedora 36, it's more or less stable with basic testing. Changes since v4: - Fixes for device tree and bindings - Split out the power management changes into an independent set - Rebase to 5.18 - Individual changes in patches [1] https://www.spinics.net/lists/arm-kernel/msg980342.html Nicolas Saenz Julienne (1): arm64: config: Enable DRM_V3D Peter Robinson (5): dt-bindings: gpu: v3d: Add BCM2711's compatible drm/v3d: Get rid of pm code drm/v3d: Add support for bcm2711 ARM: dts: bcm2711: Enable V3D ARM: configs: Enable DRM_V3D .../devicetree/bindings/gpu/brcm,bcm-v3d.yaml | 1 + arch/arm/boot/dts/bcm2711-rpi.dtsi | 4 ++++ arch/arm/boot/dts/bcm2711.dtsi | 11 +++++++++++ arch/arm/configs/bcm2835_defconfig | 1 + arch/arm/configs/multi_v7_defconfig | 1 + arch/arm64/configs/defconfig | 1 + drivers/gpu/drm/v3d/Kconfig | 2 +- drivers/gpu/drm/v3d/v3d_debugfs.c | 18 +----------------- drivers/gpu/drm/v3d/v3d_drv.c | 12 +----------- drivers/gpu/drm/v3d/v3d_gem.c | 12 +----------- 10 files changed, 23 insertions(+), 40 deletions(-)