Pi Firmware: Use 32MB alignment for frame buffer to work around bug with Pi 2/3

Change-Id: Ic04c830e1bd27aa9584c4797f9add658f536a945
pull/105/head
David Banks 2019-04-29 17:46:12 +01:00
rodzic 646507f0fa
commit 467237cba6
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -211,7 +211,7 @@ static int last_height = -1;
// Fill in the frame buffer structure with a small dummy frame buffer first
/* Initialise a framebuffer... */
RPI_PropertyInit();
RPI_PropertyAddTag(TAG_ALLOCATE_BUFFER, 0x10000);
RPI_PropertyAddTag(TAG_ALLOCATE_BUFFER, 0x02000000);
RPI_PropertyAddTag(TAG_SET_PHYSICAL_SIZE, 64, 64);
#ifdef MULTI_BUFFER
RPI_PropertyAddTag(TAG_SET_VIRTUAL_SIZE, 64, 64);
@ -229,7 +229,7 @@ static int last_height = -1;
/* Initialise a framebuffer... */
RPI_PropertyInit();
RPI_PropertyAddTag(TAG_ALLOCATE_BUFFER, 0x10000);
RPI_PropertyAddTag(TAG_ALLOCATE_BUFFER, 0x02000000);
RPI_PropertyAddTag(TAG_SET_PHYSICAL_SIZE, capinfo->width, capinfo->height);
#ifdef MULTI_BUFFER
RPI_PropertyAddTag(TAG_SET_VIRTUAL_SIZE, capinfo->width, capinfo->height * NBUFFERS);