Skip to content
Commit eb06d31d authored by Maíra Canal's avatar Maíra Canal Committed by Phil Elwell
Browse files

drm/v3d: Enable V3D to use different PAGE_SIZE



Currently, the V3D driver uses PAGE_SHIFT over the assumption that
PAGE_SHIFT = 12, as the PAGE_SIZE = 4KB. But, the RPi 5 is using
PAGE_SIZE = 16KB, so the MMU PAGE_SHIFT is different than the system's
PAGE_SHIFT.

Enable V3D to be used in system's with any PAGE_SIZE by making sure that
everything MMU-related uses the MMU page shift.

Signed-off-by: default avatarMaíra Canal <mcanal@igalia.com>
parent de89bbe3
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