aboutsummaryrefslogtreecommitdiffstats
path: root/src/panfrost/include
diff options
context:
space:
mode:
authorTomeu Vizoso <[email protected]>2020-04-08 15:58:42 +0200
committerTomeu Vizoso <[email protected]>2020-04-10 16:53:39 +0200
commit46e4246d495da2fa836baaeec89a1030f3951f2e (patch)
tree530d38af38b5af11643439ffd2d305645d81a7a8 /src/panfrost/include
parent547f999e2cb668e7cf4d0c30b9c72b45bf081e52 (diff)
panfrost: On Bifrost, set the right tiler descriptor
On both fragment and tiler jobs. Signed-off-by: Tomeu Vizoso <[email protected]> Reviewed-by: Alyssa Rosenzweig <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4505>
Diffstat (limited to 'src/panfrost/include')
-rw-r--r--src/panfrost/include/panfrost-job.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/panfrost/include/panfrost-job.h b/src/panfrost/include/panfrost-job.h
index 644606fb054..2f330d3e547 100644
--- a/src/panfrost/include/panfrost-job.h
+++ b/src/panfrost/include/panfrost-job.h
@@ -1702,7 +1702,13 @@ struct mali_framebuffer {
u32 mfbd_flags : 24; // = 0x100
float clear_depth;
- struct midgard_tiler_descriptor tiler;
+ union {
+ struct midgard_tiler_descriptor tiler;
+ struct {
+ mali_ptr tiler_meta;
+ u32 zeros[16];
+ };
+ };
/* optional: struct mali_framebuffer_extra extra */
/* struct mali_render_target rts[] */