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)
Tue, Apr 28, 1:57 PM
Unknown Object (File)
Tue, Apr 28, 2:36 AM
Unknown Object (File)
Sun, Apr 26, 4:36 PM
Unknown Object (File)
Sun, Apr 26, 2:14 PM
Unknown Object (File)
Fri, Apr 24, 6:59 PM
Unknown Object (File)
Tue, Apr 21, 10:32 PM
Unknown Object (File)
Tue, Apr 21, 7:49 PM
Unknown Object (File)
Tue, Apr 21, 10:28 AM

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