Commit 0967b7f6 authored by Alyssa Rosenzweig's avatar Alyssa Rosenzweig 💜

Fix issue with overly 'ambitious' framebuffer

parent 66f88362
......@@ -1127,8 +1127,8 @@ panfrost_flush(
trans_submit_frame(ctx);
/* Prepare for the next frame */
trans_invalidate_frame(ctx);
usleep(1000);
trans_invalidate_frame(ctx);
/* Clear the kernel event buffer */
uint8_t kernel_events[128];
......@@ -2102,7 +2102,7 @@ void
trans_setup_framebuffer(struct panfrost_context *ctx, uint32_t *addr, int width, int height)
{
ctx->width = width;
ctx->height = height;
ctx->height = height - 1;
ctx->bytes_per_pixel = 4; /* RGB32 */
ctx->has_alpha_channel = false;
ctx->flip_vertical = true; /* OpenGL */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment