diff options
author | Bob Paauwe <bob.j.paauwe@intel.com> | 2015-08-27 13:04:13 -0400 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2015-09-08 07:45:51 -0400 |
commit | 96206e2922c114b13cadefa03b9f340b58fee13c (patch) | |
tree | 7c3853455297f4511fa7aba5337f229fbf84f1ef /Documentation/kernel-parameters.txt | |
parent | f8aeb41c4b7e9de0a4df4ed1ba78cd6ee5c87281 (diff) |
dtrm/edid: Allow comma separated edid binaries. (v3)
Allow comma separated filenames in the edid_firmware parameter.
For example:
edid_firmware=eDP-1:edid/1280x480.bin,DP-2:edid/1920x1080.bin
v2: Use strsep() to simplify parsing of comma seperated string. (Matt)
Move initial bail before strdup. (Matt)
v3: Changed conditionals after while loop to make more readable (Jani)
Updated kernel-parameters.txt to reflect changes (Jani)
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Signed-off-by: Bob Paauwe <bob.j.paauwe@intel.com>
[danvet: Flatten else control flow and appease checkpatch.]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'Documentation/kernel-parameters.txt')
-rw-r--r-- | Documentation/kernel-parameters.txt | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt index 1d6f0459cd7b..caf0fd4cdecd 100644 --- a/Documentation/kernel-parameters.txt +++ b/Documentation/kernel-parameters.txt | |||
@@ -927,11 +927,11 @@ bytes respectively. Such letter suffixes can also be entirely omitted. | |||
927 | The filter can be disabled or changed to another | 927 | The filter can be disabled or changed to another |
928 | driver later using sysfs. | 928 | driver later using sysfs. |
929 | 929 | ||
930 | drm_kms_helper.edid_firmware=[<connector>:]<file> | 930 | drm_kms_helper.edid_firmware=[<connector>:]<file>[,[<connector>:]<file>] |
931 | Broken monitors, graphic adapters and KVMs may | 931 | Broken monitors, graphic adapters, KVMs and EDIDless |
932 | send no or incorrect EDID data sets. This parameter | 932 | panels may send no or incorrect EDID data sets. |
933 | allows to specify an EDID data set in the | 933 | This parameter allows to specify an EDID data sets |
934 | /lib/firmware directory that is used instead. | 934 | in the /lib/firmware directory that are used instead. |
935 | Generic built-in EDID data sets are used, if one of | 935 | Generic built-in EDID data sets are used, if one of |
936 | edid/1024x768.bin, edid/1280x1024.bin, | 936 | edid/1024x768.bin, edid/1280x1024.bin, |
937 | edid/1680x1050.bin, or edid/1920x1080.bin is given | 937 | edid/1680x1050.bin, or edid/1920x1080.bin is given |
@@ -940,7 +940,10 @@ bytes respectively. Such letter suffixes can also be entirely omitted. | |||
940 | available in Documentation/EDID/HOWTO.txt. An EDID | 940 | available in Documentation/EDID/HOWTO.txt. An EDID |
941 | data set will only be used for a particular connector, | 941 | data set will only be used for a particular connector, |
942 | if its name and a colon are prepended to the EDID | 942 | if its name and a colon are prepended to the EDID |
943 | name. | 943 | name. Each connector may use a unique EDID data |
944 | set by separating the files with a comma. An EDID | ||
945 | data set with no connector name will be used for | ||
946 | any connectors not explicitly specified. | ||
944 | 947 | ||
945 | dscc4.setup= [NET] | 948 | dscc4.setup= [NET] |
946 | 949 | ||