panfrost: Fix PRESENT flag mix-up
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Thu, 21 May 2020 23:53:34 +0000 (19:53 -0400)
committerMarge Bot <eric+marge@anholt.net>
Mon, 1 Jun 2020 18:10:59 +0000 (18:10 +0000)
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5284>

src/gallium/drivers/panfrost/pan_mfbd.c

index 5cbc53b45a3d0e7a327b19f3d1da36edac9f76c9..552da168690898758559b0cccb24598bb68c006d 100644 (file)
@@ -557,7 +557,7 @@ panfrost_mfbd_fragment(struct panfrost_batch *batch, bool has_draws)
                         struct panfrost_slice *slice = &rsrc->slices[level];
 
                         fb.mfbd_flags |= MALI_MFBD_EXTRA;
-                        fbx.flags_lo |= MALI_EXTRA_PRESENT;
+                        fbx.flags_hi |= MALI_EXTRA_PRESENT;
                         fbx.checksum_stride = slice->checksum_stride;
                         if (slice->checksum_bo)
                                 fbx.checksum = slice->checksum_bo->gpu;