Re: kldload i915kms screen goes black

From: Pat Maddox <pat_at_patmaddox.com>
Date: Tue, 06 Dec 2022 07:25:56 UTC
On 5 Dec 2022, at 23:16, Tomek CEDRO wrote:

> Dec  5 22:14:30 beastie14 kernel: drmn drmn0:
> drm_WARN_ON(!IS_PLATFORM(dev_priv, INTEL_TIGERLAKE) &&
> !IS_PLATFORM(dev_priv, INTEL_ROCKETLAKE))
> Dec  5 22:14:30 beastie14 kernel:
> Dec  5 22:14:30 beastie14 kernel: [drm] Unable to create a private
> tmpfs mount, hugepage support will be disabled(-19).
> Dec  5 22:14:30 beastie14 kernel: [drm] Got stolen memory base 0x0, 
> size 0x0
> Dec  5 22:14:30 beastie14 kernel: drmn0: could not load firmware image
> 'i915/kbl_dmc_ver1_04.bin'
> Dec  5 22:14:30 beastie14 kernel: drmn0: [drm] Failed to load DMC
> firmware i915/kbl_dmc_ver1_04.bin. Disabling runtime power management.
>
> At first glance it looks there is no support yet for this chipset..
> detection and firmware upload fails.. it needs to be added.. at least
> in the FreeBSD port or even the Linux upstream?

I think it would need to be in the port (here’s my misguided effort: 
https://github.com/patmaddox/drm-kmod-firmware/commit/20570f61ee927e19d5fd6303f94eac00aa2f3bfd)

It appears that comet lake has been in linux upstream for a few years: 
https://www.phoronix.com/news/Intel-Comet-Lake-Linux-Add

Pat