Skip to content

Commit bd72ae8

Browse files
committed
Revert "drm/vc4: hvs: Partial revert of Support BCM2712 HVS"
This reverts commit 4636f17.
1 parent a7ff1c0 commit bd72ae8

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

drivers/gpu/drm/vc4/vc4_hvs.c

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1813,15 +1813,9 @@ struct vc4_hvs *__vc4_hvs_alloc(struct vc4_dev *vc4,
18131813
return ERR_PTR(-ENODEV);
18141814
}
18151815

1816-
/* Set up the HVS display list memory manager. We never
1817-
* overwrite the setup from the bootloader (just 128b out of
1818-
* our 16K), since we don't want to scramble the screen when
1819-
* transitioning from the firmware's boot setup to runtime.
1820-
*/
1821-
hvs->dlist_mem_size = (SCALER_DLIST_SIZE >> 2) - HVS_BOOTLOADER_DLIST_END;
1822-
drm_mm_init(&hvs->dlist_mm,
1823-
HVS_BOOTLOADER_DLIST_END,
1824-
hvs->dlist_mem_size);
1816+
drm_mm_init(&hvs->dlist_mm, dlist_start, dlist_size);
1817+
1818+
hvs->dlist_mem_size = dlist_size;
18251819

18261820
/* Set up the HVS LBM memory manager. We could have some more
18271821
* complicated data structure that allowed reuse of LBM areas

0 commit comments

Comments
 (0)