From: Alyssa Rosenzweig Date: Wed, 25 May 2022 14:57:50 +0000 (-0400) Subject: drm/panfrost: Add HW_ISSUE_TTRX_3485 quirk X-Git-Tag: timers-urgent-2022-08-13~43^2~22^2~43 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=892e7fb7c254008c195431ae559b2b4f7909c95f;p=users%2Fdwmw2%2Flinux.git drm/panfrost: Add HW_ISSUE_TTRX_3485 quirk 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. Reviewed-by: Steven Price Signed-off-by: Alyssa Rosenzweig Link: https://patchwork.freedesktop.org/patch/msgid/20220525145754.25866-6-alyssa.rosenzweig@collabora.com --- diff --git a/drivers/gpu/drm/panfrost/panfrost_issues.h b/drivers/gpu/drm/panfrost/panfrost_issues.h index e35807e4b7433..4d41e0a13867a 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 };