panfrost: Place the height value in the height field
authorTomeu Vizoso <tomeu.vizoso@collabora.com>
Thu, 11 Jul 2019 10:12:16 +0000 (12:12 +0200)
committerTomeu Vizoso <tomeu.vizoso@collabora.com>
Thu, 11 Jul 2019 13:06:47 +0000 (15:06 +0200)
In the mali_single_framebuffer descriptor.

Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
v2: Remove unwanted chunks

src/gallium/drivers/panfrost/pan_context.c

index cb55dc66e799d9f175d973a27a886a5f8cec24bf..b3545e1748a747f69c9f7ffe0917fbeda166af86 100644 (file)
@@ -141,7 +141,7 @@ panfrost_emit_sfbd(struct panfrost_context *ctx, unsigned vertex_count)
 
         struct mali_single_framebuffer framebuffer = {
                 .width = MALI_POSITIVE(width),
-                .height = MALI_POSITIVE(width),
+                .height = MALI_POSITIVE(height),
                 .unknown2 = 0x1f,
                 .format = 0x30000000,
                 .clear_flags = 0x1000,