From: Alyssa Rosenzweig Date: Mon, 15 Jul 2019 22:35:30 +0000 (-0700) Subject: panfrost/mfbd: Zero out framebuffer_stride X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d60994989e5be0839e6b57b1c97eb23b4ba3dc0f;p=mesa.git panfrost/mfbd: Zero out framebuffer_stride We don't know what this is, so let's not pretend we do. Signed-off-by: Alyssa Rosenzweig --- diff --git a/src/gallium/drivers/panfrost/pan_mfbd.c b/src/gallium/drivers/panfrost/pan_mfbd.c index 728ed2f1604..a35acc311bc 100644 --- a/src/gallium/drivers/panfrost/pan_mfbd.c +++ b/src/gallium/drivers/panfrost/pan_mfbd.c @@ -239,8 +239,9 @@ panfrost_mfbd_set_cbuf( rt->afbc.stride = 0; rt->afbc.unk = 0x30009; - /* TODO: Investigate shift */ - rt->framebuffer_stride = stride << 1; + /* TODO: The blob sets this to something nonzero, but it's not + * clear what/how to calculate/if it matters */ + rt->framebuffer_stride = 0; } else { fprintf(stderr, "Invalid render layout (cbuf)"); assert(0);