freebsd / drm-kmod-firmware

KMS firmware components for graphics/kms-firmware port
Other
22 stars 17 forks source link

Connect Kabylake GuC v9.39 for drm-v5.0 or later #11

Closed wulf7 closed 3 years ago

wulf7 commented 4 years ago

It works with drm-devel-kmod 5.2. At least, I am able to start X-server with it.

iotamudelta commented 4 years ago

@zeising how can we check that this remains working w/ the older Linux DRMs? I'll merge and update the port once we have that confirmation.

wulf7 commented 4 years ago

LGTM - however, before we can update the firmware port I'd like confirmation that this works also across the older Linux DRMs for older FBSD releases.

It does not work for me at least on 4.16 but it is disabled by default One should explicitly add compat.linuxkpi.i915_enable_guc= to /boot/loader.conf to load GUC/HUC firmware

GUC Firmware version is hardcoded in drivers/gpu/drm/i915/intel_guc_fw.c file. That means 4.16 can not fallback to fw.9.14 and 4.11 can not load 9.39 at all.

wulf7 commented 3 years ago

drm-devel-kmod 5.4 requires newer guc/huc firmwares.

zeising commented 3 years ago

So we should install multiple versions of the firmware files?

wulf7 commented 3 years ago

So we should install multiple versions of the firmware files?

I did not quite understand what you meant. Different versions of drm-kmod may require different firmwares. GUC/HUC firmwares requires standard DMC firmware to work. Intel's firmwares do not conflict with each other as their name contain a version number, so we can provide multiple versions in a single bundle if necessary,