From patchwork Fri Apr 4 08:09:28 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Boris Brezillon X-Patchwork-Id: 14038191 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 E2883C36010 for ; Fri, 4 Apr 2025 08:09:46 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 58B7510EAC9; Fri, 4 Apr 2025 08:09:43 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=collabora.com header.i=@collabora.com header.b="O4jUMOi+"; dkim-atps=neutral Received: from bali.collaboradmins.com (bali.collaboradmins.com [148.251.105.195]) by gabe.freedesktop.org (Postfix) with ESMTPS id EB13A10EB83 for ; Fri, 4 Apr 2025 08:09:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1743754175; bh=vG2/aLoQH2NqodH0R3VU9kCoxT4tTk8CTpFdEHqKVLI=; h=From:To:Cc:Subject:Date:From; b=O4jUMOi+3kxtd4TjhFqfJaWR/1WxdX8Js7jMZJVmlCP3K0BShb8xdW79KYp7EYIKu yoNjMXMM9h9T99m30DhobUXnhTv92hRXnFLQvdV+hLB4fKM4wvy8ID1lMxXaeG1HPX 335i9hqkVzhgoDxf0xS3VC8s5aKBUIu25bEY7My15Uz1RoPinioUG7rFr6HzBtiLlL j3OY90rAHC0ctKD0zeokKX92ek2KtA/O+nlLr58Xkv1y8UAmHlVkVUDoA7FSF3fzhR 0iPwnKBIJ42cCtA2mUMtv73CYnmDyYxZOh3lbDRSYI1NlQxZRPQ69LI6CEK/mB18fe Y7XBG2XjSBmLA== Received: from localhost.localdomain (unknown [IPv6:2a01:e0a:2c:6930:5cf4:84a1:2763:fe0d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: bbrezillon) by bali.collaboradmins.com (Postfix) with ESMTPSA id 4411617E0865; Fri, 4 Apr 2025 10:09:35 +0200 (CEST) From: Boris Brezillon To: Boris Brezillon , Steven Price , Liviu Dudau , =?utf-8?q?Adri=C3=A1n_Larumbe?= Cc: dri-devel@lists.freedesktop.org, kernel@collabora.com Subject: [PATCH v3 0/5] drm/panthor: Misc fixes Date: Fri, 4 Apr 2025 10:09:28 +0200 Message-ID: <20250404080933.2912674-1-boris.brezillon@collabora.com> X-Mailer: git-send-email 2.49.0 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: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Hello, This is a collection of fixes for bugs found while working on adding JM support to panthor. Those are not particularly tied to JM support and are worth having regardless. Note that the last two don't have Fixes tag because they fix issues we can't really hit with the current implementation (no fault handling, and no shared irq line). Changelog available in each patch if you're interested. Regards, Boris Boris Brezillon (5): drm/panthor: Fix GPU_COHERENCY_ACE[_LITE] definitions drm/panthor: Call panthor_gpu_coherency_init() after PM resume() drm/panthor: Update panthor_mmu::irq::mask when needed drm/panthor: Let IRQ handlers clear the interrupts themselves drm/panthor: Don't update MMU_INT_MASK in panthor_mmu_irq_handler() drivers/gpu/drm/panthor/panthor_device.c | 8 ++++---- drivers/gpu/drm/panthor/panthor_device.h | 2 -- drivers/gpu/drm/panthor/panthor_fw.c | 2 ++ drivers/gpu/drm/panthor/panthor_gpu.c | 2 ++ drivers/gpu/drm/panthor/panthor_mmu.c | 9 ++++++++- drivers/gpu/drm/panthor/panthor_regs.h | 4 ++-- 6 files changed, 18 insertions(+), 9 deletions(-)