intel / ipu6-drivers

152 stars 49 forks source link

Rename ipu6 .ko files to avoid conflict with upstream ipu6 isys support #243

Open jwrdegoede opened 3 weeks ago

jwrdegoede commented 3 weeks ago

Now that IPU6 isys support has landed upstream, using an auxbus approach rather then the custom ipu6-bus, there is a conflict between the mainline intel-ipu6 kernel modules and the out of tree ipu6-drivers intel-ipu6 kernel modules.

Rename the out of tree ipu6 modules to icamera-ipu6* so that both can be installed together and the user can easily switch by blacklisting one of the 2 sets of modules.

Cc: @vicamo @smallorange (FYI)

vicamo commented 3 weeks ago

That's probably not my call, but while Ubuntu/Debian are using dkms to handle out-of-tree kernel modules, they're installed to a different path, and the one from dkms will have higher priority. We don't have this problem.

jwrdegoede commented 2 weeks ago

That's probably not my call, but while Ubuntu/Debian are using dkms to handle out-of-tree kernel modules, they're installed to a different path, and the one from dkms will have higher priority. We don't have this problem.

With 6.10 there also is IPU6 support in the mainline kernel, the idea is to easily allow switching between the 2 driver sets by blacklisting one or the other in a /etc/modprobe.d/ dropin file. Using /lib/modules/$kver/updates as dkms does will cause the out of tree driver to always get loaded and thus does not allow easily switching back to the mainline driver after the out of tree driver has been installed.