Page MenuHomeFreeBSD

linuxkpi: Add destination offset argument to iosys_map_memcpy_to()
AbandonedPublic

Authored by dumbbell on Dec 13 2023, 12:00 PM.
Tags
None
Referenced Files
Unknown Object (File)
Apr 27 2024, 2:40 AM
Unknown Object (File)
Jan 12 2024, 8:29 AM
Unknown Object (File)
Jan 8 2024, 9:50 PM
Unknown Object (File)
Dec 28 2023, 5:03 PM

Details

Reviewers
manu
Summary

Why

In Linux commit cccd73d607fee52f35b4b030408fa5f6c21ef503, the destination offset was added as a fourth argument to iosys_map_memcpy_to().

How

To maintain compatibility with existing code, the new form of the function is only available for LINUXKPI_VERSION >= 51801 (which doesn't mean 5.18.1).

This is part of the update of the DRM drivers to Linux 5.18.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped