Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp60370ioo; Wed, 25 May 2022 20:44:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzLnQPFKf3Ws3NdGZIBGVZX/JWfhT9pdBMP3chMMUKmdQyBpv0e8QzIXNCT6L5kBoxMhN02 X-Received: by 2002:a17:90b:1b42:b0:1df:f6bb:aa2b with SMTP id nv2-20020a17090b1b4200b001dff6bbaa2bmr439873pjb.99.1653536684817; Wed, 25 May 2022 20:44:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653536684; cv=none; d=google.com; s=arc-20160816; b=ePDNoZEt5tZ7oEccq+gMxkF7768NQmv86gCd6hrfHi3kiBjH2G+joLyLc/93apt6yT sejFFHrkYimy8vYaojKcUkbzvdrX2LMnFtZQACYV0sji3Pcc+KweHBOZxFfhwiULN82s OYf9qjzPeI7rWcSmI5Sx9fap3443X6N3qHah6MmhHF8p82NMFY1FviRwRFSbiX0OQ0hf 5ml5gBRM8la9x/kkbh5fdnpyQjmCp7y0g1r0o+g2alGRCBpVgLoUgF4iVbNsIqSqHtGS AWO+X/kCRyxjDQDR3M+RF/QjHp8PTtQsmtzeZPPk74RZ9oyB0kO/pdjqk48oULmboWhk y30g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=kfD7M+AiugA/WcdKTR5wLb9XDccGnfCW6txUnbjkMXk=; b=lyGnM7yewfT4h61uOSaUxud6BTNHhsPr2ZcL/CTQJsNVq+BnGKgPYvCRLrrF5OOmhm BA26WH+8lD7W1baop539i1xegM/wJJFtq92V0H0SgFXVZyLyKDognXUIa0fx4H74lms4 eX1aLg3Yk4UsXSWb6B5PoS5y5rY5RKPZ9keCn/h38/wD8fvVBaPZsYS7NkP6B4sGsZmV 7LnTQmgrjsa4aYA7xS6sNfCjQF1glhk4iyaYRR+r4b5qA1VT5gdRaGVR04eMVltRtIli kZMyGWfkAYviQfvaTPDe7v3bSMI8Cs9cTAktL0Pz/uJrTqXaBnAADnyEn2+Rvt7ln3cl /VxA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=C8zYvYeS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id on3-20020a17090b1d0300b001e095c5ec83si840828pjb.165.2022.05.25.20.44.33; Wed, 25 May 2022 20:44:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=C8zYvYeS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238140AbiEYO7q (ORCPT + 99 others); Wed, 25 May 2022 10:59:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35466 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244939AbiEYO63 (ORCPT ); Wed, 25 May 2022 10:58:29 -0400 Received: from bhuna.collabora.co.uk (bhuna.collabora.co.uk [46.235.227.227]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 465D1AF1C3 for ; Wed, 25 May 2022 07:58:20 -0700 (PDT) Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: alyssa) with ESMTPSA id BF61B1F450F2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1653490699; bh=5/q/VGsjElGEhYhnxXg0G7I4bXivQFpLYLt/EA9+bfo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=C8zYvYeS5IFbvVOR6K68eH/w0KatIXNchsXHaGX9mNZPuk1VTpjGEQyObBccM38rc AZKxRB01IQiLAzsr9/rFdfYBHCssOllm9V5EtTz4rSCqyHG+V3zvRyEdfDUWNcq+HW 1J6TqdD2NCiMOYN1RT9kXBc3BBk5vyITZXLUcwEAMNtAgYGk5at042BCF8Yt+dLzKM kyhtmU7xm0euT63ye5GMsHEhxoC6xWtc5tvjspbQrKkf9TBBq2rZCKljlnX/+lByLR 6UAisS2exJ4COxTEFKzOPy9vWHU0pb2SjxKLU1C7k4OUjKn3SPrjqvMt/uVbH1UbHD zh0L2Fm9p7cXg== From: Alyssa Rosenzweig To: dri-devel@lists.freedesktop.org Cc: Rob Herring , Tomeu Vizoso , Steven Price , Alyssa Rosenzweig , David Airlie , Daniel Vetter , =?UTF-8?q?N=C3=ADcolas=20F=20=2E=20R=20=2E=20A=20=2E=20Prado?= , AngeloGioacchino Del Regno , linux-kernel@vger.kernel.org Subject: [PATCH v2 5/9] drm/panfrost: Add HW_ISSUE_TTRX_3485 quirk Date: Wed, 25 May 2022 10:57:50 -0400 Message-Id: <20220525145754.25866-6-alyssa.rosenzweig@collabora.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220525145754.25866-1-alyssa.rosenzweig@collabora.com> References: <20220525145754.25866-1-alyssa.rosenzweig@collabora.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org TTRX_3485 requires the infamous "dummy job" workaround. I have this workaround implemented in a local branch, but I have not yet hit a case that requires it so I cannot test whether the implementation is correct. In the mean time, add the quirk bit so we can document which platforms may need it in the future. Signed-off-by: Alyssa Rosenzweig Reviewed-by: Steven Price --- drivers/gpu/drm/panfrost/panfrost_issues.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/panfrost/panfrost_issues.h b/drivers/gpu/drm/panfrost/panfrost_issues.h index e35807e4b743..4d41e0a13867 100644 --- a/drivers/gpu/drm/panfrost/panfrost_issues.h +++ b/drivers/gpu/drm/panfrost/panfrost_issues.h @@ -132,6 +132,9 @@ enum panfrost_hw_issue { * to hang */ HW_ISSUE_TTRX_3076, + /* Must issue a dummy job before starting real work to prevent hangs */ + HW_ISSUE_TTRX_3485, + HW_ISSUE_END }; -- 2.35.1