kernel: fix framebuffer console after 6.6

These options were already enabled in previous versions, but Kconfig
changes in 6.6 made NixOS kernel disable them. Therefore, we enable
unconditionally, to be explicit that they're needed.
Without them, the fbcon/console on systems with DRM devices freeze/blank
on early boot, even though the system boots normally.

authored by

André Vitor de Lima Matos and committed by
Alyssa Ross
e00c6064 95acdf34

+2
+2
pkgs/os-specific/linux/kernel/common-config.nix
··· 320 320 FRAMEBUFFER_CONSOLE = yes; 321 321 FRAMEBUFFER_CONSOLE_DEFERRED_TAKEOVER = yes; 322 322 FRAMEBUFFER_CONSOLE_ROTATION = yes; 323 + FRAMEBUFFER_CONSOLE_DETECT_PRIMARY = yes; 323 324 FB_GEODE = mkIf (stdenv.hostPlatform.system == "i686-linux") yes; 324 325 # On 5.14 this conflicts with FB_SIMPLE. 325 326 DRM_SIMPLEDRM = whenAtLeast "5.14" no; 327 + DRM_FBDEV_EMULATION = yes; 326 328 }; 327 329 328 330 fonts = {