Changeset 981b9fa6


Ignore:
Timestamp:
12/05/2023 06:58:29 AM (6 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
12.1, 12.1-rc1, multilib, trunk, xry111/arm64, xry111/clfs-ng, xry111/loongarch, xry111/loongarch-12.1, xry111/mips64el, xry111/update-glibc
Children:
31a9142
Parents:
34774f49
git-author:
Xi Ruoyao <xry111@…> (12/05/2023 06:55:45 AM)
git-committer:
Xi Ruoyao <xry111@…> (12/05/2023 06:58:29 AM)
Message:

kernel-config: Drop FB

In Linux 6.6 DRM_FBDEV_EMULATION no longer depends on FB, so we no
longer need to select FB (tested in a QEMU VM).

But if DRM is selected, we must select both DRM_FBDEV_EMULATION and
FRAMEBUFFER_CONSOLE or we'll see only blank screen. And now
FRAMEBUFFER_CONSOLE is not selected by default, be warned!!

Location:
chapter10
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • chapter10/kernel.xml

    r34774f49 r981b9fa6  
    274274
    275275      <varlistentry>
    276         <term><parameter>Framebuffer Console support</parameter></term>
    277         <listitem>
    278           <para>This is needed to display the Linux console on a frame
    279           buffer device.  To allow the kernel to print debug messages at an
    280           early boot stage, it shouldn't be built as a kernel module
    281           unless an initramfs will be used. And, if
    282           <option>CONFIG_DRM</option> (Direct Rendering Manager) is enabled,
    283           it's likely <option>CONFIG_DRM_FBDEV_EMULATION</option> (Enable
    284           legacy fbdev support for your modesetting driver) should be
    285           enabled as well.</para>
     276        <term>
     277          <parameter>
     278            Enable legacy fbdev support for your modesetting driver
     279          </parameter> and
     280          <parameter>Framebuffer Console support</parameter>
     281        </term>
     282        <listitem>
     283          <para>These are needed to display the Linux console on a
     284          GPU driven by a DRI (Direct Rendering Infrastructure) driver.
     285          If <option>CONFIG_DRM</option> (Direct Rendering Manager) is
     286          enabled, you should enable these two options as well or you'll see
     287          a blank screen once the DRI driver is loaded.</para>
    286288        </listitem>
    287289      </varlistentry>
  • chapter10/kernel/systemd.toml

    r34774f49 r981b9fa6  
    1414DEVTMPFS='*'
    1515DEVTMPFS_MOUNT='*'
    16 FB='*'
    17 FRAMEBUFFER_CONSOLE='*'
    18 
     16DRM=' *M'
    1917AUDIT=' '
    2018NET='*'
     
    2927
    3028revision='systemd'
     29
     30[DRM_FBDEV_EMULATION]
     31value = ' *'
     32comment = 'If [DRM] is selected as * or M, this must be selected'
     33
     34[FRAMEBUFFER_CONSOLE]
     35value = ' *'
     36comment = 'If [DRM] is selected as * or M, this must be selected'
  • chapter10/kernel/systemd.xml

    r34774f49 r981b9fa6  
    4242    [*] <emphasis role='blue'>E</emphasis>xport DMI identification via sysfs to userspace                 [DMIID]
    4343  <emphasis role='blue'>G</emphasis>raphics support ---&gt;
    44     <emphasis role='blue'>F</emphasis>rame buffer Devices ---&gt;
    45       &lt;*&gt; <emphasis role='blue'>S</emphasis>upport for frame buffer device drivers ---&gt;                      [FB]
     44    &lt; /*/M&gt; <emphasis role='blue'>D</emphasis>irect Rendering Manager (XFree86 4.1.0 and higher DRI support) ---&gt;
     45                                                                      ...  [DRM]
     46    # If [DRM] is selected as * or M, this must be selected:
     47    [ /*]   <emphasis role='blue'>E</emphasis>nable legacy fbdev support for your modesetting driver
     48                                                      ...  [DRM_FBDEV_EMULATION]
    4649    <emphasis role='blue'>C</emphasis>onsole display driver support ---&gt;
    47       [*] <emphasis role='blue'>F</emphasis>ramebuffer Console support                      [FRAMEBUFFER_CONSOLE]
     50      # If [DRM] is selected as * or M, this must be selected:
     51      [ /*] <emphasis role='blue'>F</emphasis>ramebuffer Console support                    [FRAMEBUFFER_CONSOLE]
    4852
    4953<emphasis role='blue'>F</emphasis>ile systems ---&gt;
  • chapter10/kernel/sysv.toml

    r34774f49 r981b9fa6  
    1313DEVTMPFS='*'
    1414DEVTMPFS_MOUNT='*'
    15 FB='*'
    16 FRAMEBUFFER_CONSOLE='*'
     15DRM=' *M'
    1716
    1817revision='sysv'
     18
     19[DRM_FBDEV_EMULATION]
     20value = ' *'
     21comment = 'If [DRM] is selected as * or M, this must be selected'
     22
     23[FRAMEBUFFER_CONSOLE]
     24value = ' *'
     25comment = 'If [DRM] is selected as * or M, this must be selected'
  • chapter10/kernel/sysv.xml

    r34774f49 r981b9fa6  
    3030                                                           ...  [DEVTMPFS_MOUNT]
    3131  <emphasis role='blue'>G</emphasis>raphics support ---&gt;
    32     <emphasis role='blue'>F</emphasis>rame buffer Devices ---&gt;
    33       &lt;*&gt; <emphasis role='blue'>S</emphasis>upport for frame buffer device drivers ---&gt;                      [FB]
     32    &lt; /*/M&gt; <emphasis role='blue'>D</emphasis>irect Rendering Manager (XFree86 4.1.0 and higher DRI support) ---&gt;
     33                                                                      ...  [DRM]
     34    # If [DRM] is selected as * or M, this must be selected:
     35    [ /*]   <emphasis role='blue'>E</emphasis>nable legacy fbdev support for your modesetting driver
     36                                                      ...  [DRM_FBDEV_EMULATION]
    3437    <emphasis role='blue'>C</emphasis>onsole display driver support ---&gt;
    35       [*] <emphasis role='blue'>F</emphasis>ramebuffer Console support                      [FRAMEBUFFER_CONSOLE]</screen>
     38      # If [DRM] is selected as * or M, this must be selected:
     39      [ /*] <emphasis role='blue'>F</emphasis>ramebuffer Console support                    [FRAMEBUFFER_CONSOLE]</screen>
Note: See TracChangeset for help on using the changeset viewer.