~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/admin-guide/edid.rst

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /Documentation/admin-guide/edid.rst (Version linux-6.12-rc7) and /Documentation/admin-guide/edid.rst (Version linux-5.8.18)


  1 .. SPDX-License-Identifier: GPL-2.0                 1 .. SPDX-License-Identifier: GPL-2.0
  2                                                     2 
  3 ====                                                3 ====
  4 EDID                                                4 EDID
  5 ====                                                5 ====
  6                                                     6 
  7 In the good old days when graphics parameters       7 In the good old days when graphics parameters were configured explicitly
  8 in a file called xorg.conf, even broken hardwa      8 in a file called xorg.conf, even broken hardware could be managed.
  9                                                     9 
 10 Today, with the advent of Kernel Mode Setting,     10 Today, with the advent of Kernel Mode Setting, a graphics board is
 11 either correctly working because all component     11 either correctly working because all components follow the standards -
 12 or the computer is unusable, because the scree     12 or the computer is unusable, because the screen remains dark after
 13 booting or it displays the wrong area. Cases w     13 booting or it displays the wrong area. Cases when this happens are:
 14                                                    14 
 15 - The graphics board does not recognize the mo     15 - The graphics board does not recognize the monitor.
 16 - The graphics board is unable to detect any E     16 - The graphics board is unable to detect any EDID data.
 17 - The graphics board incorrectly forwards EDID     17 - The graphics board incorrectly forwards EDID data to the driver.
 18 - The monitor sends no or bogus EDID data.         18 - The monitor sends no or bogus EDID data.
 19 - A KVM sends its own EDID data instead of que     19 - A KVM sends its own EDID data instead of querying the connected monitor.
 20                                                    20 
 21 Adding the kernel parameter "nomodeset" helps      21 Adding the kernel parameter "nomodeset" helps in most cases, but causes
 22 restrictions later on.                             22 restrictions later on.
 23                                                    23 
 24 As a remedy for such situations, the kernel co     24 As a remedy for such situations, the kernel configuration item
 25 CONFIG_DRM_LOAD_EDID_FIRMWARE was introduced.      25 CONFIG_DRM_LOAD_EDID_FIRMWARE was introduced. It allows to provide an
 26 individually prepared or corrected EDID data s     26 individually prepared or corrected EDID data set in the /lib/firmware
 27 directory from where it is loaded via the firm !!  27 directory from where it is loaded via the firmware interface. The code
                                                   >>  28 (see drivers/gpu/drm/drm_edid_load.c) contains built-in data sets for
                                                   >>  29 commonly used screen resolutions (800x600, 1024x768, 1280x1024, 1600x1200,
                                                   >>  30 1680x1050, 1920x1080) as binary blobs, but the kernel source tree does
                                                   >>  31 not contain code to create these data. In order to elucidate the origin
                                                   >>  32 of the built-in binary EDID blobs and to facilitate the creation of
                                                   >>  33 individual data for a specific misbehaving monitor, commented sources
                                                   >>  34 and a Makefile environment are given here.
                                                   >>  35 
                                                   >>  36 To create binary EDID and C source code files from the existing data
                                                   >>  37 material, simply type "make" in tools/edid/.
                                                   >>  38 
                                                   >>  39 If you want to create your own EDID file, copy the file 1024x768.S,
                                                   >>  40 replace the settings with your own data and add a new target to the
                                                   >>  41 Makefile. Please note that the EDID data structure expects the timing
                                                   >>  42 values in a different way as compared to the standard X11 format.
                                                   >>  43 
                                                   >>  44 X11:
                                                   >>  45   HTimings:
                                                   >>  46     hdisp hsyncstart hsyncend htotal
                                                   >>  47   VTimings:
                                                   >>  48     vdisp vsyncstart vsyncend vtotal
                                                   >>  49 
                                                   >>  50 EDID::
                                                   >>  51 
                                                   >>  52   #define XPIX hdisp
                                                   >>  53   #define XBLANK htotal-hdisp
                                                   >>  54   #define XOFFSET hsyncstart-hdisp
                                                   >>  55   #define XPULSE hsyncend-hsyncstart
                                                   >>  56 
                                                   >>  57   #define YPIX vdisp
                                                   >>  58   #define YBLANK vtotal-vdisp
                                                   >>  59   #define YOFFSET vsyncstart-vdisp
                                                   >>  60   #define YPULSE vsyncend-vsyncstart
                                                      

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php