summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/panfrost/panfrost_issues.h
diff options
context:
space:
mode:
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>2022-05-25 16:57:49 +0200
committerAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>2022-05-26 15:53:01 +0200
commit0c0af438345ebe5477720f07216c7e48f6f88756 (patch)
tree9261268e9d8b5ee84ab3e1c946e3e0a8a61811d2 /drivers/gpu/drm/panfrost/panfrost_issues.h
parentdrm/panfrost: Constify argument to has_hw_issue (diff)
downloadlinux-0c0af438345ebe5477720f07216c7e48f6f88756.tar.xz
linux-0c0af438345ebe5477720f07216c7e48f6f88756.zip
drm/panfrost: Handle HW_ISSUE_TTRX_3076
Some Valhall GPUs require resets when encountering bus faults due to occlusion query writes. Add the issue bit for this and handle it. 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-5-alyssa.rosenzweig@collabora.com
Diffstat (limited to 'drivers/gpu/drm/panfrost/panfrost_issues.h')
-rw-r--r--drivers/gpu/drm/panfrost/panfrost_issues.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/panfrost/panfrost_issues.h b/drivers/gpu/drm/panfrost/panfrost_issues.h
index 14670ee58ace..e35807e4b743 100644
--- a/drivers/gpu/drm/panfrost/panfrost_issues.h
+++ b/drivers/gpu/drm/panfrost/panfrost_issues.h
@@ -128,6 +128,10 @@ enum panfrost_hw_issue {
/* Must set SC_VAR_ALGORITHM */
HW_ISSUE_TTRX_2968_TTRX_3162,
+ /* Bus fault from occlusion query write may cause future fragment jobs
+ * to hang */
+ HW_ISSUE_TTRX_3076,
+
HW_ISSUE_END
};