drm/panfrost: Add HW_ISSUE_TTRX_3485 quirk
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Wed, 25 May 2022 14:57:50 +0000 (10:57 -0400)
committerAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Thu, 26 May 2022 13:53:01 +0000 (09:53 -0400)
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 <steven.price@arm.com>
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220525145754.25866-6-alyssa.rosenzweig@collabora.com
drivers/gpu/drm/panfrost/panfrost_issues.h

index e35807e..4d41e0a 100644 (file)
@@ -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
 };