Skip to content

Commit

Permalink
overlays/README: Document that vc4-(f)kms requires >=512MB
Browse files Browse the repository at this point in the history
The firmware stops vc4-kms-v3d and vc4-fkms-v3d loading if the
system has less than 512MB of RAM. It can work if gpu_mem and
CMA heap size are set appropriately, but can't be guaranteed.
Document this restriction.

Also drops Eric's name from the overlay description as it
isn't relevant or accurate anymore.

Signed-off-by: Dave Stevenson <[email protected]>
  • Loading branch information
6by9 committed Apr 19, 2024
1 parent 0c341f4 commit e0fa1a8
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions arch/arm/boot/dts/overlays/README
Original file line number Diff line number Diff line change
Expand Up @@ -4864,8 +4864,10 @@ Params: <None>


Name: vc4-fkms-v3d
Info: Enable Eric Anholt's DRM VC4 V3D driver on top of the dispmanx
Info: Enable the kernel DRM VC4 V3D driver on top of the dispmanx
display stack.
NB The firmware will not allow this overlay to load on a Pi with less
than 512MB as memory is too tight.
Load: dtoverlay=vc4-fkms-v3d,<param>
Params: cma-512 CMA is 512MB (needs 1GB)
cma-448 CMA is 448MB (needs 1GB)
Expand All @@ -4881,7 +4883,7 @@ Params: cma-512 CMA is 512MB (needs 1GB)


Name: vc4-fkms-v3d-pi4
Info: Enable Eric Anholt's DRM VC4 V3D driver on top of the dispmanx
Info: Enable the kernel DRM VC4 V3D driver on top of the dispmanx
display stack.
Load: dtoverlay=vc4-fkms-v3d-pi4,<param>
Params: cma-512 CMA is 512MB (needs 1GB)
Expand Down Expand Up @@ -5150,7 +5152,9 @@ Load: <Deprecated>


Name: vc4-kms-v3d
Info: Enable Eric Anholt's DRM VC4 HDMI/HVS/V3D driver.
Info: Enable the kernel DRM VC4 HDMI/HVS/V3D driver.
NB The firmware will not allow this overlay to load on a Pi with less
than 512MB as memory is too tight.
Load: dtoverlay=vc4-kms-v3d,<param>
Params: cma-512 CMA is 512MB (needs 1GB)
cma-448 CMA is 448MB (needs 1GB)
Expand All @@ -5171,7 +5175,7 @@ Params: cma-512 CMA is 512MB (needs 1GB)


Name: vc4-kms-v3d-pi4
Info: Enable Eric Anholt's DRM VC4 HDMI/HVS/V3D driver for Pi4.
Info: Enable the kernel DRM VC4 HDMI/HVS/V3D driver for Pi4.
Load: dtoverlay=vc4-kms-v3d-pi4,<param>
Params: cma-512 CMA is 512MB
cma-448 CMA is 448MB
Expand Down

0 comments on commit e0fa1a8

Please sign in to comment.