summaryrefslogtreecommitdiff
path: root/src/panfrost/midgard
diff options
context:
space:
mode:
authorIcecream95 <ixn@disroot.org>2020-12-20 17:01:59 +1300
committerMarge Bot <eric+marge@anholt.net>2020-12-21 22:49:28 +0000
commit48c676c501f4bf0ab6e344362097bd79a9c66f63 (patch)
tree0cf0b9be0e208043114fba99fb407cd96eeb540d /src/panfrost/midgard
parent0322653b71138c6f7f9d2d8815611688b75af76b (diff)
panfrost: Add a gpu_revision argument to panfrost_get_quirks
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8149>
Diffstat (limited to 'src/panfrost/midgard')
-rw-r--r--src/panfrost/midgard/midgard_compile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/panfrost/midgard/midgard_compile.c b/src/panfrost/midgard/midgard_compile.c
index 475cc73464d..ead025a1e26 100644
--- a/src/panfrost/midgard/midgard_compile.c
+++ b/src/panfrost/midgard/midgard_compile.c
@@ -2830,7 +2830,7 @@ midgard_compile_shader_nir(void *mem_ctx, nir_shader *nir,
NIR_PASS_V(nir, nir_lower_var_copies);
NIR_PASS_V(nir, nir_lower_vars_to_ssa);
- unsigned pan_quirks = panfrost_get_quirks(inputs->gpu_id);
+ unsigned pan_quirks = panfrost_get_quirks(inputs->gpu_id, 0);
NIR_PASS_V(nir, pan_lower_framebuffer,
inputs->rt_formats, inputs->is_blend, pan_quirks);