tech-x11 archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: fix for i915 Kaby Lake ( *ERROR* failed to load firmware i915/kbl_dmc_ver1.bin )



On Tue, 27 Oct 2020 at 02:48, Tobias Nygren <tnn%netbsd.org@localhost> wrote:
>
> The below seem necessary also to improve stability.
>
> --- sys/external/bsd/drm2/dist/drm/i915/intel_guc_loader.c      14 Feb 2020 14:34:58 -0000      1.14
> +++ sys/external/bsd/drm2/dist/drm/i915/intel_guc_loader.c      27 Oct 2020 02:46:25 -0000
> @@ -68,7 +68,7 @@ __KERNEL_RCSID(0, "$NetBSD: intel_guc_lo
>  #define I915_SKL_GUC_UCODE "i915/skl_guc_ver4.bin"
>  MODULE_FIRMWARE(I915_SKL_GUC_UCODE);
>
> -#define I915_KBL_GUC_UCODE "i915/kbl_guc_ver9_14.bin"
> +#define I915_KBL_GUC_UCODE "i915/kbl_guc_ver9_39.bin"
>  MODULE_FIRMWARE(I915_KBL_GUC_UCODE);
>
>  /* User-friendly representation of an enum */

This helped me fix the same on my SkyLake CPU as well, it now loads
all firmware files without a problem and seems to work more stable,
although some artifacts are still seen in gdm or slim. I've also
missed the i915drmkms directory from the tree, having i915 sit under
libdata/firmware. I only had to adjust one of the files with a soft
link, perhaps a different version to what the kernel expects, similar
to the difference above.


-- 
----


Home | Main Index | Thread Index | Old Index