<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:p="urn:schemas-microsoft-com:office:powerpoint" xmlns:a="urn:schemas-microsoft-com:office:access" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" xmlns:rs="urn:schemas-microsoft-com:rowset" xmlns:z="#RowsetSchema" xmlns:b="urn:schemas-microsoft-com:office:publisher" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" xmlns:c="urn:schemas-microsoft-com:office:component:spreadsheet" xmlns:odc="urn:schemas-microsoft-com:office:odc" xmlns:oa="urn:schemas-microsoft-com:office:activation" xmlns:html="http://www.w3.org/TR/REC-html40" xmlns:q="http://schemas.xmlsoap.org/soap/envelope/" xmlns:rtc="http://microsoft.com/officenet/conferencing" xmlns:D="DAV:" xmlns:Repl="http://schemas.microsoft.com/repl/" xmlns:mt="http://schemas.microsoft.com/sharepoint/soap/meetings/" xmlns:x2="http://schemas.microsoft.com/office/excel/2003/xml" xmlns:ppda="http://www.passport.com/NameSpace.xsd" xmlns:ois="http://schemas.microsoft.com/sharepoint/soap/ois/" xmlns:dir="http://schemas.microsoft.com/sharepoint/soap/directory/" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:dsp="http://schemas.microsoft.com/sharepoint/dsp" xmlns:udc="http://schemas.microsoft.com/data/udc" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:sub="http://schemas.microsoft.com/sharepoint/soap/2002/1/alerts/" xmlns:ec="http://www.w3.org/2001/04/xmlenc#" xmlns:sp="http://schemas.microsoft.com/sharepoint/" xmlns:sps="http://schemas.microsoft.com/sharepoint/soap/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:udcs="http://schemas.microsoft.com/data/udc/soap" xmlns:udcxf="http://schemas.microsoft.com/data/udc/xmlfile" xmlns:udcp2p="http://schemas.microsoft.com/data/udc/parttopart" xmlns:wf="http://schemas.microsoft.com/sharepoint/soap/workflow/" xmlns:dsss="http://schemas.microsoft.com/office/2006/digsig-setup" xmlns:dssi="http://schemas.microsoft.com/office/2006/digsig" xmlns:mdssi="http://schemas.openxmlformats.org/package/2006/digital-signature" xmlns:mver="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns:mrels="http://schemas.openxmlformats.org/package/2006/relationships" xmlns:spwp="http://microsoft.com/sharepoint/webpartpages" xmlns:ex12t="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:ex12m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:pptsl="http://schemas.microsoft.com/sharepoint/soap/SlideLibrary/" xmlns:spsl="http://microsoft.com/webservices/SharePointPortalServer/PublishedLinksService" xmlns:Z="urn:schemas-microsoft-com:" xmlns:tax="http://schemas.microsoft.com/sharepoint/taxonomy/soap/" xmlns:tns="http://schemas.microsoft.com/sharepoint/soap/recordsrepository/" xmlns:spsup="http://microsoft.com/webservices/SharePointPortalServer/UserProfileService" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:st="" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ks_c_5601-1987">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
{font-family:Wingdings;
panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
{font-family:PMingLiU;
panose-1:2 2 5 0 0 0 0 0 0 0;}
@font-face
{font-family:PMingLiU;
panose-1:2 2 5 0 0 0 0 0 0 0;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:PMingLiU;
panose-1:2 2 5 0 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
{mso-style-priority:99;
mso-style-link:"\7D14\6587\5B57 \5B57\5143";
margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Calibri","sans-serif";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-priority:99;
mso-style-link:"\8A3B\89E3\65B9\584A\6587\5B57 \5B57\5143";
margin:0cm;
margin-bottom:.0001pt;
font-size:9.0pt;
font-family:"Cambria","serif";}
span.a
{mso-style-name:"\7D14\6587\5B57 \5B57\5143";
mso-style-priority:99;
mso-style-link:\7D14\6587\5B57;
font-family:"Calibri","sans-serif";}
span.a0
{mso-style-name:"\8A3B\89E3\65B9\584A\6587\5B57 \5B57\5143";
mso-style-priority:99;
mso-style-link:\8A3B\89E3\65B9\584A\6587\5B57;
font-family:"Cambria","serif";}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";}
/* Page Definitions */
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.WordSection1
{page:WordSection1;}
/* List Definitions */
@list l0
{mso-list-id:977685191;
mso-list-type:hybrid;
mso-list-template-ids:-1075653140 574018634 67698691 67698693 67698689 67698691 67698693 67698689 67698691 67698693;}
@list l0:level1
{mso-level-start-at:0;
mso-level-number-format:bullet;
mso-level-text:\F0F0;
mso-level-tab-stop:none;
mso-level-number-position:left;
margin-left:18.0pt;
text-indent:-18.0pt;
font-family:Wingdings;
mso-fareast-font-family:PMingLiU;
mso-bidi-font-family:"Courier New";}
@list l0:level2
{mso-level-number-format:bullet;
mso-level-text:\F06E;
mso-level-tab-stop:none;
mso-level-number-position:left;
margin-left:48.0pt;
text-indent:-24.0pt;
font-family:Wingdings;}
@list l0:level3
{mso-level-number-format:bullet;
mso-level-text:\F075;
mso-level-tab-stop:none;
mso-level-number-position:left;
margin-left:72.0pt;
text-indent:-24.0pt;
font-family:Wingdings;}
@list l0:level4
{mso-level-number-format:bullet;
mso-level-text:\F06C;
mso-level-tab-stop:none;
mso-level-number-position:left;
margin-left:96.0pt;
text-indent:-24.0pt;
font-family:Wingdings;}
@list l0:level5
{mso-level-number-format:bullet;
mso-level-text:\F06E;
mso-level-tab-stop:none;
mso-level-number-position:left;
margin-left:120.0pt;
text-indent:-24.0pt;
font-family:Wingdings;}
@list l0:level6
{mso-level-number-format:bullet;
mso-level-text:\F075;
mso-level-tab-stop:none;
mso-level-number-position:left;
margin-left:144.0pt;
text-indent:-24.0pt;
font-family:Wingdings;}
@list l0:level7
{mso-level-number-format:bullet;
mso-level-text:\F06C;
mso-level-tab-stop:none;
mso-level-number-position:left;
margin-left:168.0pt;
text-indent:-24.0pt;
font-family:Wingdings;}
@list l0:level8
{mso-level-number-format:bullet;
mso-level-text:\F06E;
mso-level-tab-stop:none;
mso-level-number-position:left;
margin-left:192.0pt;
text-indent:-24.0pt;
font-family:Wingdings;}
@list l0:level9
{mso-level-number-format:bullet;
mso-level-text:\F075;
mso-level-tab-stop:none;
mso-level-number-position:left;
margin-left:216.0pt;
text-indent:-24.0pt;
font-family:Wingdings;}
ol
{margin-bottom:0cm;}
ul
{margin-bottom:0cm;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="ZH-TW" link="blue" vlink="purple" style="text-justify-trim:punctuation">
<div class="WordSection1">
<p class="MsoPlainText"><span lang="EN-US">Hi Jani Nikula<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US">Thanks for your suggestion and I have replied two comments below.<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US">-----Original Message-----<br>
From: Jani Nikula [mailto:jani.nikula@linux.intel.com] <br>
Sent: Wednesday, November 27, 2019 6:29 PM<br>
To: Allen Chen (</span><span style="font-family:"ãæá¬Ù¥ô÷","serif"">òçÛÚéÔ</span><span lang="EN-US">)<br>
Cc: Jau-Chih Tseng (</span><span style="font-family:"ãæá¬Ù¥ô÷","serif"">ñôá¹òª</span><span lang="EN-US">); Maxime Ripard; Allen Chen (</span><span style="font-family:"ãæá¬Ù¥ô÷","serif"">òçÛÚéÔ</span><span lang="EN-US">); open list; open list:DRM DRIVERS; David Airlie; Pi-Hsun
Shih; Sean Paul<br>
Subject: Re: [PATCH] drm/edid: fixup EDID 1.3 and 1.4 judge reduced-blanking timings logic</span></p>
<p class="MsoPlainText"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US">On Tue, 26 Nov 2019, allen <allen.chen@ite.com.tw> wrote:<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US">> According to VESA ENHANCED EXTENDED DISPLAY IDENTIFICATION DATA STANDARD<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US">> (Defines EDID Structure Version 1, Revision 4) page: 39<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US">> How to determine whether the monitor support RB timing or not?<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US">> EDID 1.4<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US">> First: read detailed timing descriptor and make sure byte 0 = 0x00,<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US">> byte 1 = 0x00, byte 2 = 0x00 and byte 3 = 0xFD<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US">> Second: read EDID bit 0 in feature support byte at address 18h = 1<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US">> and detailed timing descriptor byte 10 = 0x04<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US">> Third: if EDID bit 0 in feature support byte = 1 &&<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US">> detailed timing descriptor byte 10 = 0x04<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US">> then we can check byte 15, if bit 4 in byte 15 = 1 is support RB<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US">> if EDID bit 0 in feature support byte != 1 ||<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US">> detailed timing descriptor byte 10 != 0x04,<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US">> then byte 15 can not be used<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US">><o:p> </o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US">> The linux code is_rb function not follow the VESA's rule<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US">><o:p> </o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US">> Signed-off-by: Allen Chen <allen.chen@ite.com.tw><o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US">> Reported-by: kbuild test robot <lkp@intel.com><o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US">> ---<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US">> drivers/gpu/drm/drm_edid.c | 36 ++++++++++++++++++++++++++++++------<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US">> 1 file changed, 30 insertions(+), 6 deletions(-)<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US">><o:p> </o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US">> diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US">> index f5926bf..e11e585 100644<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US">> --- a/drivers/gpu/drm/drm_edid.c<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US">> +++ b/drivers/gpu/drm/drm_edid.c<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US">> @@ -93,6 +93,12 @@ struct detailed_mode_closure {<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US">> int modes;<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US">> };<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US">> <o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US">> +struct edid_support_rb_closure {<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US">> + struct edid *edid;<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US">> + bool valid_support_rb;<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US">> + bool support_rb;<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US">> +};<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US">> +<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US">> #define LEVEL_DMT 0<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US">> #define LEVEL_GTF 1<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US">> #define LEVEL_GTF2 2<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US">> @@ -2017,23 +2023,41 @@ struct drm_display_mode *drm_mode_find_dmt(struct drm_device *dev,<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US">> }<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US">> }<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US">> <o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US">> +static bool<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US">> +is_display_descriptor(const u8 *r, u8 tag)<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US">> +{<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US">> + return (!r[0] && !r[1] && !r[2] && r[3] == tag) ? true : false;<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US">> +}<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US">> +<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US">> static void<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US">> is_rb(struct detailed_timing *t, void *data)<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US">> {<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US">> u8 *r = (u8 *)t;<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US">> - if (r[3] == EDID_DETAIL_MONITOR_RANGE)<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US">> - if (r[15] & 0x10)<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US">> - *(bool *)data = true;<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US">> + struct edid_support_rb_closure *closure = data;<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US">> + struct edid *edid = closure->edid;<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US">> +<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US">> + if (is_display_descriptor(r, EDID_DETAIL_MONITOR_RANGE)) {<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US">> + if (edid->features & BIT(0) && r[10] == BIT(2)) {<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US">> + closure->valid_support_rb = true;<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US">> + closure->support_rb = (r[15] & 0x10) ? true : false;<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US">> + }<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US">> + }<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US">> }<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US">> <o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US">> /* EDID 1.4 defines this explicitly. For EDID 1.3, we guess, badly. */<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US">> static bool<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US">> drm_monitor_supports_rb(struct edid *edid)<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US">> {<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US">> + struct edid_support_rb_closure closure = {<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US">> + .edid = edid,<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US">> + .valid_support_rb = false,<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US">> + .support_rb = false,<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US">> + };<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US">> +<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US">> if (edid->revision >= 4) {<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US">> - bool ret = false;<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US">> - drm_for_each_detailed_block((u8 *)edid, is_rb, &ret);<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US">> - return ret;<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US">> + drm_for_each_detailed_block((u8 *)edid, is_rb, &closure);<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US">> + if (closure.valid_support_rb)<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US">> + return closure.support_rb;<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US">Are you planning on extending the closure use somehow?<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US">I did not look up the spec, <o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US" style="color:#1F497D">==> iTE: as the picture below, from VESA E-EDID standard<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US" style="color:#1F497D"><img width="383" height="214" id="Óñø¸_x0020_1" src="cid:image003.jpg@01D5A9EA.9B7364D0">
<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US" style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US" style="color:#1F497D"><img width="476" height="77" id="Óñø¸_x0020_4" src="cid:image005.jpg@01D5A9EA.9B7364D0"><o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US" style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US" style="color:#1F497D">if EDID bit 0 in feature support byte = 1 && detailed timing descriptor byte 10 = 0x04 then the CVT timing supported.<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US" style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US" style="color:#1F497D"><img width="480" height="104" id="Óñø¸_x0020_3" src="cid:image009.jpg@01D5A9EA.9B7364D0"><o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US" style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US" style="color:#1F497D">If CVT timing supported then we can check byte 15 bit 4 to determine whether the reduced-blanking timings suported or not.<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US" style="color:#1F497D">If CVT timing not supported then we can not use byte 15 to judge.<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US">but purely on the code changes alone, you<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US">could just move the edid->features bit check at this level, and not pass<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US">it down, and nothing would change. I.e. don't iterate the EDID at all if<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US">the bit is not set.<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoPlainText" style="margin-left:0cm;text-indent:0cm;mso-list:l0 level1 lfo1">
<![if !supportLists]><span lang="EN-US" style="font-family:Wingdings;color:#1F497D"><span style="mso-list:Ignore">©£<span style="font:7.0pt "Times New Roman"">
</span></span></span><![endif]><span lang="EN-US" style="color:#1F497D">iTE: We still have to check whether detailed timing descriptor byte 10 = 0x04 or not, so it is hard to check at this level<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US">You also don't actually use the distinction between valid_support_rb<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US">vs. support_rb for anything, so the closure just adds code.<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US">BR,<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US">Jani.<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US">> }<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US">> <o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US">> return ((edid->input & DRM_EDID_INPUT_DIGITAL) != 0);<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US">-- <o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US">Jani Nikula, Intel Open Source Graphics Center<o:p></o:p></span></p>
</div>
</body>
</html>