Skip to content
Commit a5f8bc20 authored by Dave Stevenson's avatar Dave Stevenson Committed by popcornmix
Browse files

drm/vc4: Max resolution of 7680 is conditional on being Pi4



The max resolution had been increased from 2048 to 7680 for all
platforms. This code is common with Pi0-3 which have a max render
target for GL of 2048, therefore the increased resolution has to
be conditional on the platform.
Switch based on whether the bcm2835-v3d node is found, as that is
not present on Pi4. (There is a potential configuration on Pi0-3
with no v3d, but this is very unlikely).

Signed-off-by: default avatarDave Stevenson <dave.stevenson@raspberrypi.org>
parent bce626a0
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