File tree Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Original file line number Diff line number Diff line change @@ -1813,15 +1813,9 @@ struct vc4_hvs *__vc4_hvs_alloc(struct vc4_dev *vc4,
1813
1813
return ERR_PTR (- ENODEV );
1814
1814
}
1815
1815
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 ;
1825
1819
1826
1820
/* Set up the HVS LBM memory manager. We could have some more
1827
1821
* complicated data structure that allowed reuse of LBM areas
You can’t perform that action at this time.
0 commit comments