From mboxrd@z Thu Jan 1 00:00:00 1970 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3885DC433F5 for ; Tue, 11 Jan 2022 09:26:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237123AbiAKJ0y (ORCPT ); Tue, 11 Jan 2022 04:26:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43662 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237101AbiAKJ0x (ORCPT ); Tue, 11 Jan 2022 04:26:53 -0500 Received: from mail-qv1-xf36.google.com (mail-qv1-xf36.google.com [IPv6:2607:f8b0:4864:20::f36]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A41BDC06173F for ; Tue, 11 Jan 2022 01:26:53 -0800 (PST) Received: by mail-qv1-xf36.google.com with SMTP id jr5so6776483qvb.11 for ; Tue, 11 Jan 2022 01:26:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dowhile0-org.20210112.gappssmtp.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=8tq/et4xYmva4m9fJHsmk5wCnGh5xT4vOZTkPwsBoZ4=; b=vNKeTLO6E2Y+w9V8TpyEVaLyqb/tmqEv7QCdUlzyRk/NYZZ29FNUIJTnJFiSY8/GhY eBHu572eaY3mzHwFRcvIK1chc4kEVMBKyhgvYT6Tigm5G4IV+JdqRuJY+drlG+uy11y2 kGz2SuhIHfTeQ/mVaUKATbf8par+xvWz6nz5yRS+GPARKAVom0d2/J/S4+vfOfJn/7Xp YU1O6ak6zV8h9Ak48U6p4Xxx8wTLWvFcoFyPjjvvLujAcn5NfjX+44nvTOgIfpi9jIeX M2rMTK9cm5ANG4rooHfumN5iedX8OaRlvjFOMQ3vbB2hUC8iKhGnZ7k9vph+kwgbqcsU R7vQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=8tq/et4xYmva4m9fJHsmk5wCnGh5xT4vOZTkPwsBoZ4=; b=SjYsMlMbyhp4oKwzCvAx2btAmekTUqdHRIPGOp7hyuYmyUhYK5jXDHPueaChOKv+5r InWRrfaKoJzu0uD2yWD/cjJqHdz5ofkDwv9n0mhfDac8t09nVpT5+KXvweyUZ0pWTMUL sPe069z9NilNlUv+yMzNVDjSw3m61zZoP1enqdI5YZO36AFfUEkuW5a/51jGXLFtpUzl MsS+/qXXI+3hVGv+AoSQrHyZ3vhmkUV53ZEdHyiasNzXi+Kmbd2FOhEQUh5Mvm9Ci6x3 bkbdHvpOex3dPnZAzW3zJRXnF5P0h+XESmlCNirw81tvyRKMSVILTxVebAecaqDqL0KO HwVg== X-Gm-Message-State: AOAM530xPJ4Vr9/RDmPbZgE6HS65ZlwycWhQX4E3IlTR7h+3TNZhah3g o7LQn7DhSXW5gCYSSS585WXDZTv+Cx/GbKqU/EhEIw== X-Google-Smtp-Source: ABdhPJwQB4Hi/12Fc86eq6wqhDjHS9A0x4Cd0AOnfthOsT2jxd+R0eawLKmZaRZ4riayb6cxng+qlsGn/VzfkKAt9pk= X-Received: by 2002:a05:6214:5288:: with SMTP id kj8mr3085474qvb.88.1641893212792; Tue, 11 Jan 2022 01:26:52 -0800 (PST) MIME-Version: 1.0 References: <20211215095117.176435-1-maxime@cerno.tech> <20211215095117.176435-5-maxime@cerno.tech> In-Reply-To: <20211215095117.176435-5-maxime@cerno.tech> From: Javier Martinez Canillas Date: Tue, 11 Jan 2022 10:26:42 +0100 Message-ID: Subject: Re: [PATCH RESEND v4 v5 4/4] drm/vc4: Notify the firmware when DRM is in charge To: Maxime Ripard Cc: Florian Fainelli , Ray Jui , Nicolas Saenz Julienne , Daniel Vetter , David Airlie , Maarten Lankhorst , Thomas Zimmermann , Scott Branden , Rob Herring , Frank Rowand , devicetree@vger.kernel.org, Dom Cobley , Tim Gover , Dave Stevenson , dri-devel , bcm-kernel-feedback-list@broadcom.com, linux-rpi-kernel@lists.infradead.org, Phil Elwell , linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Hello Maxime, On Wed, Dec 15, 2021 at 10:51 AM Maxime Ripard wrote: > > Once the call to drm_fb_helper_remove_conflicting_framebuffers() has > been made, simplefb has been unregistered and the KMS driver is entirely > in charge of the display. > > Thus, we can notify the firmware it can free whatever resource it was > using to maintain simplefb functional. > > Signed-off-by: Maxime Ripard > --- Patch looks good to me. Reviewed-by: Javier Martinez Canillas Best regards, Javier From mboxrd@z Thu Jan 1 00:00:00 1970 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 3C700C433FE for ; Tue, 11 Jan 2022 09:26:55 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 5011414A18F; Tue, 11 Jan 2022 09:26:54 +0000 (UTC) Received: from mail-qv1-xf31.google.com (mail-qv1-xf31.google.com [IPv6:2607:f8b0:4864:20::f31]) by gabe.freedesktop.org (Postfix) with ESMTPS id CFB5F14A18F for ; Tue, 11 Jan 2022 09:26:53 +0000 (UTC) Received: by mail-qv1-xf31.google.com with SMTP id kl12so5983894qvb.5 for ; Tue, 11 Jan 2022 01:26:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dowhile0-org.20210112.gappssmtp.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=8tq/et4xYmva4m9fJHsmk5wCnGh5xT4vOZTkPwsBoZ4=; b=vNKeTLO6E2Y+w9V8TpyEVaLyqb/tmqEv7QCdUlzyRk/NYZZ29FNUIJTnJFiSY8/GhY eBHu572eaY3mzHwFRcvIK1chc4kEVMBKyhgvYT6Tigm5G4IV+JdqRuJY+drlG+uy11y2 kGz2SuhIHfTeQ/mVaUKATbf8par+xvWz6nz5yRS+GPARKAVom0d2/J/S4+vfOfJn/7Xp YU1O6ak6zV8h9Ak48U6p4Xxx8wTLWvFcoFyPjjvvLujAcn5NfjX+44nvTOgIfpi9jIeX M2rMTK9cm5ANG4rooHfumN5iedX8OaRlvjFOMQ3vbB2hUC8iKhGnZ7k9vph+kwgbqcsU R7vQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=8tq/et4xYmva4m9fJHsmk5wCnGh5xT4vOZTkPwsBoZ4=; b=2so+xwQ+M8bueaKEy1ob1rE34p4c46J9wudnqI7tnf0WA4nEdu0oVFFRxH470kfjzG jr+Uaw6YB/CkEVGUCGmR48SXO/6/c/xndOXd2n/5RvqXLz8F79pbUe90ZrXl6CM1jwX5 ibNi8VxI/Su7X6XTo2eLrDX9dJmOj4ReX6sV5KArye79HR1FLtINGvJYKxzVIEIsruN9 1mDB2vI/xH1KOZv8EQgk5fZ6ZvsEYhgAtZ8KRJzz6MVBYf33/sHQvI9miLmJ/GKtpgnw 2sSjy2sXm/YS94viXUzCinCKK6ElwJSdPS/1NCpz2d/aucMgWMo9Z6ReYfXsOi7ONONE G9wQ== X-Gm-Message-State: AOAM532zT/NV1/RhMF/Em42+f4aZ9B6TuT2xGWHWQZPej+0Fwu27wIyX TMaw+NNSiSiSx2IDsXxw2epvfeLgsKLU2EF/6lwKdg== X-Google-Smtp-Source: ABdhPJwQB4Hi/12Fc86eq6wqhDjHS9A0x4Cd0AOnfthOsT2jxd+R0eawLKmZaRZ4riayb6cxng+qlsGn/VzfkKAt9pk= X-Received: by 2002:a05:6214:5288:: with SMTP id kj8mr3085474qvb.88.1641893212792; Tue, 11 Jan 2022 01:26:52 -0800 (PST) MIME-Version: 1.0 References: <20211215095117.176435-1-maxime@cerno.tech> <20211215095117.176435-5-maxime@cerno.tech> In-Reply-To: <20211215095117.176435-5-maxime@cerno.tech> From: Javier Martinez Canillas Date: Tue, 11 Jan 2022 10:26:42 +0100 Message-ID: Subject: Re: [PATCH RESEND v4 v5 4/4] drm/vc4: Notify the firmware when DRM is in charge To: Maxime Ripard Content-Type: text/plain; charset="UTF-8" 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: devicetree@vger.kernel.org, Nicolas Saenz Julienne , Dom Cobley , Scott Branden , Dave Stevenson , David Airlie , Ray Jui , dri-devel , Rob Herring , Florian Fainelli , bcm-kernel-feedback-list@broadcom.com, Tim Gover , Thomas Zimmermann , Daniel Vetter , Frank Rowand , Phil Elwell , linux-arm-kernel@lists.infradead.org, linux-rpi-kernel@lists.infradead.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Hello Maxime, On Wed, Dec 15, 2021 at 10:51 AM Maxime Ripard wrote: > > Once the call to drm_fb_helper_remove_conflicting_framebuffers() has > been made, simplefb has been unregistered and the KMS driver is entirely > in charge of the display. > > Thus, we can notify the firmware it can free whatever resource it was > using to maintain simplefb functional. > > Signed-off-by: Maxime Ripard > --- Patch looks good to me. Reviewed-by: Javier Martinez Canillas Best regards, Javier From mboxrd@z Thu Jan 1 00:00:00 1970 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 C39D2C433F5 for ; Tue, 11 Jan 2022 09:28:04 +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:Cc:To:Subject:Message-ID:Date:From: In-Reply-To:References:MIME-Version:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=2ZRpAepgBNHs94Wfcc/J1xonXosibr+QLDDhKLq3ZBE=; b=Wm2MmVoN8KIgGS YfWQhsdpyUi0R4VmpzK2jMs79eG5/AU72KiC1wsnKmahzPC+qplezdLh1FoIUkMdm7PnM6dd9/pfb 1DvbAb8jkdXMfFRCLIYqhyf1Df52IygXxAv94hxEh9arjGOGUH+hc4Xs8wX06smhKKChFs+rc+Xln UNXsRS8l/Hv/XAwzvVJjXUD8E4Q2879h6qLwgyB8CsGUGqcD86MU+0fhXJl65l5lyaszNHSVag3oN Tz4Gi15YmkLpvaEEHiz3hNgcJNhcJsVVLyVrt4a5Dl5sEBTb7NNuIi/7IJtysleHKfYNvhzd5h2kQ MkB0vFcUY3VSIH24hNPw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1n7DQg-00FZ2C-Bv; Tue, 11 Jan 2022 09:26:58 +0000 Received: from mail-qv1-xf2f.google.com ([2607:f8b0:4864:20::f2f]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1n7DQc-00FZ02-SM for linux-arm-kernel@lists.infradead.org; Tue, 11 Jan 2022 09:26:56 +0000 Received: by mail-qv1-xf2f.google.com with SMTP id kc16so17821113qvb.3 for ; Tue, 11 Jan 2022 01:26:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dowhile0-org.20210112.gappssmtp.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=8tq/et4xYmva4m9fJHsmk5wCnGh5xT4vOZTkPwsBoZ4=; b=vNKeTLO6E2Y+w9V8TpyEVaLyqb/tmqEv7QCdUlzyRk/NYZZ29FNUIJTnJFiSY8/GhY eBHu572eaY3mzHwFRcvIK1chc4kEVMBKyhgvYT6Tigm5G4IV+JdqRuJY+drlG+uy11y2 kGz2SuhIHfTeQ/mVaUKATbf8par+xvWz6nz5yRS+GPARKAVom0d2/J/S4+vfOfJn/7Xp YU1O6ak6zV8h9Ak48U6p4Xxx8wTLWvFcoFyPjjvvLujAcn5NfjX+44nvTOgIfpi9jIeX M2rMTK9cm5ANG4rooHfumN5iedX8OaRlvjFOMQ3vbB2hUC8iKhGnZ7k9vph+kwgbqcsU R7vQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=8tq/et4xYmva4m9fJHsmk5wCnGh5xT4vOZTkPwsBoZ4=; b=60ZwxeEDvxugRC4trpvjfw9laE+kRsORkMfPjtbk5XObFfyU3Zd839r98epDISa7PJ 7Pxt52NVZ8vQ3Kx5Fi/p6qxBQ+Au7M1EFLya0IAA1n1PMVyy+qn48cSpyZkWKQBPQ1BI Bglf6L6p0mxgXksNsSfqZ6ZPuw0EmbUNsmYcj/2HjIeEYQq4ceJaftQ3pget7+Hml15K mIKFVPQlKCEd2CIOtRmEAXOEYOZv1iXhKwv3SfGNoEXbOVRv92cuF1v+yLAaT9Tt1xmv Fr7RDlPvv/9VCDBwkn120F/AoO0i5mTiSABp9J2EJaT1KcotOU1wq+l/pBiT1jqfDeyI lWDw== X-Gm-Message-State: AOAM5321JK9jfSjQZefVGrKUA3Zo83J9EkOLyQ3+A6TGbYX1pNPEJIH8 mu6vvATwPAa/KjpcseGbMD09oBgGo88cgKjZoCngaA== X-Google-Smtp-Source: ABdhPJwQB4Hi/12Fc86eq6wqhDjHS9A0x4Cd0AOnfthOsT2jxd+R0eawLKmZaRZ4riayb6cxng+qlsGn/VzfkKAt9pk= X-Received: by 2002:a05:6214:5288:: with SMTP id kj8mr3085474qvb.88.1641893212792; Tue, 11 Jan 2022 01:26:52 -0800 (PST) MIME-Version: 1.0 References: <20211215095117.176435-1-maxime@cerno.tech> <20211215095117.176435-5-maxime@cerno.tech> In-Reply-To: <20211215095117.176435-5-maxime@cerno.tech> From: Javier Martinez Canillas Date: Tue, 11 Jan 2022 10:26:42 +0100 Message-ID: Subject: Re: [PATCH RESEND v4 v5 4/4] drm/vc4: Notify the firmware when DRM is in charge To: Maxime Ripard Cc: Florian Fainelli , Ray Jui , Nicolas Saenz Julienne , Daniel Vetter , David Airlie , Maarten Lankhorst , Thomas Zimmermann , Scott Branden , Rob Herring , Frank Rowand , devicetree@vger.kernel.org, Dom Cobley , Tim Gover , Dave Stevenson , dri-devel , bcm-kernel-feedback-list@broadcom.com, linux-rpi-kernel@lists.infradead.org, Phil Elwell , linux-arm-kernel@lists.infradead.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220111_012654_999267_D63019D0 X-CRM114-Status: GOOD ( 12.61 ) 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: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hello Maxime, On Wed, Dec 15, 2021 at 10:51 AM Maxime Ripard wrote: > > Once the call to drm_fb_helper_remove_conflicting_framebuffers() has > been made, simplefb has been unregistered and the KMS driver is entirely > in charge of the display. > > Thus, we can notify the firmware it can free whatever resource it was > using to maintain simplefb functional. > > Signed-off-by: Maxime Ripard > --- Patch looks good to me. Reviewed-by: Javier Martinez Canillas Best regards, Javier _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel