pan/decode: Fix duplicate heap_end property
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Fri, 9 Aug 2019 21:56:30 +0000 (14:56 -0700)
committerAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Wed, 14 Aug 2019 23:42:39 +0000 (16:42 -0700)
This was supposed to read heap_start. It's the same value but still,
better get this right.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
src/panfrost/pandecode/decode.c

index 75fa19712370a5219b8ec1f25c40e625ca727d42..71eb2e972e23b600f4d9543de0518f7a819b3f60 100644 (file)
@@ -479,7 +479,7 @@ pandecode_midgard_tiler_descriptor(const struct midgard_tiler_descriptor *t)
 
         if (t->heap_start == t->heap_end) {
               /* Print identically to show symmetry for empty tiler heaps */  
-                MEMORY_PROP(t, heap_start);
+                MEMORY_PROP(t, heap_end);
         } else {
                 /* Points to the end of a buffer */
                 char *a = pointer_as_memory_reference(t->heap_end - 1);