diff options
author | Boris Brezillon <[email protected]> | 2024-10-30 16:02:31 +0100 |
---|---|---|
committer | Boris Brezillon <[email protected]> | 2024-10-30 16:30:21 +0100 |
commit | 5d01b56f0518d80211812420a8907ca0b6c6e4e3 (patch) | |
tree | 4e0dfaedd6b1ce31c3eabac649129f8dce4ad4e5 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 72f7e16eccddde99386a10eb2d08833e805917c6 (diff) |
drm/panthor: Fix firmware initialization on systems with a page size > 4k
The system and GPU MMU page size might differ, which becomes a
problem for FW sections that need to be mapped at explicit addresses
since our PAGE_SIZE alignment might cover a VA range that's
expected to be used for another section.
Make sure we never map more than we need.
Changes in v3:
- Add R-bs
Changes in v2:
- Plan for per-VM page sizes so the MCU VM and user VM can
have different pages sizes
Fixes: 2718d91816ee ("drm/panthor: Add the FW logical block")
Signed-off-by: Boris Brezillon <[email protected]>
Reviewed-by: Steven Price <[email protected]>
Reviewed-by: Liviu Dudau <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions