From patchwork Tue Oct 1 21:04:03 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yao Zi X-Patchwork-Id: 13818767 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 3580ECF3187 for ; Tue, 1 Oct 2024 21:06:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=689gtv1Yyl165lGvpUQrE8NFvbJFLk2kjJNUPYJA538=; b=QmH9kWWY4+1ojqbWgdUtAedvff ++7aJqFeitCjbBaGy/nkc7eGT+PTYgfbSnENzFXxoJ8B0ENRnKsNUHy2EolkG5JNuwvfF6uSCe1J2 wZzmj9Tc3wCAFQrwWqhFOAjZzFVGj9m1i5VKJEc2SGEm8qTdcifczCAb+S/x/vI3wvpcZL2gYfl4Q y9/o4ekuwXLQXjmFyZWDmTtHo6vtvv9n7Qt50uwn65S9JNxq/tJH8RkJHXHfTiwdkqEs7d+g1xKeK FXbGjlhzs2XJtNMYiTksIQ6diEa1IXQOlUGMBuQX4JFfYLaUq/nAs/pTC8fW19emHLHEAeLTyzHGH d2NpZGNQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1svk4g-000000045Vy-1SS0; Tue, 01 Oct 2024 21:06:26 +0000 Received: from layka.disroot.org ([178.21.23.139]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1svk3N-0000000458i-3oig; Tue, 01 Oct 2024 21:05:07 +0000 Received: from mail01.disroot.lan (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 6A56223D76; Tue, 1 Oct 2024 23:05:02 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from layka.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavis, port 10024) with ESMTP id P24qPAbfXRd7; Tue, 1 Oct 2024 23:05:01 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1727816701; bh=s1+/LBMYV7QYPCqFRgi/eI/p0qajjacXZ54eovBVtVM=; h=From:To:Cc:Subject:Date; b=Bz3cdzE8L4s2bPAL61a66NC+HsvVdXN0wUZHKIqryH8GL/ZkQV2YiWgtTALRNhuTq EgN4oY1bGCiTXo9j8sOdh/2SsAkEUF4wiLQhT52cuxJzP6/CdNsepj7rSBWib2aNm3 4lJIAas4DQUeP8iXC8ktFbMwcub7/Ml1do0FmbvutAtL7IHBEmWzia0hNYWUwFLpU+ y+YGeKNFSrP6J+Zj6A4Wb56UnNzlrpJBouMS1u2yTvloNMAhDrvfxpzN+xLXVEaFIt sAoHnLvRSAQ8odwc7AICTlnfcUhrXhwqpoabvl+EZecKvg+U/G28EOkZjADKqmLKuH p4PU7r2kWuyAw== From: Yao Zi To: Neil Armstrong , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter , Kevin Hilman , Jerome Brunet , Martin Blumenstingl Cc: dri-devel@lists.freedesktop.org, linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Yao Zi Subject: [RFC PATCH 0/1] meson/drm: Support drm_panic Date: Tue, 1 Oct 2024 21:04:03 +0000 Message-ID: <20241001210403.43535-2-ziyao@disroot.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241001_140506_382794_A70A4498 X-CRM114-Status: UNSURE ( 5.85 ) X-CRM114-Notice: Please train this message. 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 patch adds drm_panic support for meson-drm, has been tested on A311D with both TTY and Wayland session. It is an RFC since I am not sure whether AFBC enabled case is handled properly and don't find a good test case. Thanks for your time and advice. Yao Zi (1): drm/meson: Support drm_panic drivers/gpu/drm/meson/meson_plane.c | 47 +++++++++++++++++++++++++++-- 1 file changed, 44 insertions(+), 3 deletions(-)