From patchwork Fri Jun 3 09:26:04 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Robinson X-Patchwork-Id: 12868848 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 gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (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 7D3BECCA480 for ; Fri, 3 Jun 2022 09:26:20 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 54FBC112303; Fri, 3 Jun 2022 09:26:18 +0000 (UTC) Received: from mail-ej1-x62a.google.com (mail-ej1-x62a.google.com [IPv6:2a00:1450:4864:20::62a]) by gabe.freedesktop.org (Postfix) with ESMTPS id 2F26E11226A for ; Fri, 3 Jun 2022 09:26:16 +0000 (UTC) Received: by mail-ej1-x62a.google.com with SMTP id q21so14819555ejm.1 for ; Fri, 03 Jun 2022 02:26:16 -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=d11o2d5ri6Bk3Uwjrg8nECkV0m9NEQVoIzTmBlBjqJY=; b=mst1SLjj6wyXb2uviGvZufvlFxMq3ZJoL4FEPys1MRgBswbH3yb//Uw7puA1DvWDU4 a/FzGbr8quWSyRk4QEZFmzqia7u8phdOCtiSzQcKUxmIvnWTx1byjhRoX9w6ZZAG3/h8 dE/+VubgeMBTthjvLVXJldjdsP4dHoZg5q4roG1w79PE40XqTYlJ92MZr3C/jcAOdiLC 10Aqqfm4asD/tey4t93bjYARP0dH0ic3b1bOn49M1DW8GzbvaNNj4fmt+umpSrOYuZK6 avk4RAtJEvzmZz/dpwW8Ehmwt8t7PqNykc6SMcohI/FMm2tCwrtWJReX7MOGC+WYg0KS JZjA== 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=d11o2d5ri6Bk3Uwjrg8nECkV0m9NEQVoIzTmBlBjqJY=; b=GOvHjEFk+I/Bi+KQ1pfoEcqPXQDT5ofInv3PID36hVRuZAjmNgosMClApRgwvER7rL vmkxEhtXj+2wElRtaJskwA+5uI3BXBhdkSB2XQXmUoIvba9kMiYD3qKTLns/L7SD5+R3 DZj/hGXRGm+gOphKMqoF1oCv3oPRZBGVnGISuPDS2+xQjz2oDgGYD3XvozHaO+bE9H6K URPXfnAckPsvRbCSYiBSnSZosmM33xkgqdp9s4QWF4idSp3h8VWALXqwEqFNZpT9B+XM SfGDeawwfxfZomiUb/P7C8oaKyPI7n7PsWV+tXuM+t7XYCA2+OPpiWoulccamNFWt/Z8 uw5w== X-Gm-Message-State: AOAM531E0thiXZ1oKW/LmtdExLoq7xUbOM9oECRlJ+x3i+qDNMSO08iq fspPpYjRrZExdXzfcDRfwtw= X-Google-Smtp-Source: ABdhPJxkNXgUmvit6rTJAt+5eLug2jZIAIktydFQGW4RAn6SX4BpLsboURL2jIrnxm7yMn/3XWjxAQ== X-Received: by 2002:a17:906:f845:b0:70e:fb6a:9b76 with SMTP id ks5-20020a170906f84500b0070efb6a9b76mr1055447ejb.530.1654248374650; Fri, 03 Jun 2022 02:26:14 -0700 (PDT) Received: from morpheus.home.roving-it.com (3.e.2.0.0.0.0.0.0.0.0.0.0.0.0.0.1.8.6.2.1.1.b.f.0.b.8.0.1.0.0.2.ip6.arpa. [2001:8b0:fb11:2681::2e3]) by smtp.googlemail.com with ESMTPSA id b5-20020a17090691c500b006feaa22e367sm2617672ejx.165.2022.06.03.02.26.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Jun 2022 02:26:14 -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 Subject: [PATCH v6 0/6] Raspberry PI 4 V3D enablement Date: Fri, 3 Jun 2022 10:26:04 +0100 Message-Id: <20220603092610.1909675-1-pbrobinson@gmail.com> X-Mailer: git-send-email 2.36.1 MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Peter Robinson Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" 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 v5: - Update the DT compatible to match the others that were updated - Adjust the Kconfig help text - Add review tags 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 | 5 +++-- 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, 25 insertions(+), 41 deletions(-) Reviewed-by: Melissa Wen