Skip to content

Instantly share code, notes, and snippets.

View Harry-Chen's full-sized avatar
💤
Sleeping...

Shengqi Chen Harry-Chen

💤
Sleeping...
View GitHub Profile
@Harry-Chen
Harry-Chen / README.md
Last active March 31, 2024 17:23
Port i915 OOT module to Linux 6.6 (TrueNAS SCALE 24.04)

THIS PATCH IS NOT TESTED AND COMES WITH ABSOLUTE NO WARRANTY. USE AT YOUR OWN RISK!

You can use it to install OOT i915 module on Linux 6.6 (e.g. TrueNAS SCALE 24.04).

Most modifications are very dirty fixes to make it compiile.

The following change, especially, is to fix the interaction between KMD and UMD (Intel Media Driver). Otherwise the initialization procedure in userland library iHD_drv_video.so would encounter an error on an ioctl call here.

DISCLAIMER: This change might lead to problems such as GPU hangup, memory leak in kernel or at worst, kernel panic. I owe no responsibility in case of any incidents.