<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.26.0">
  <TITLE>Your message to xorg-devel awaits moderator approval</TITLE>
</HEAD>
<BODY LINK="#0000ff">
On Fri, 2010-02-05 at 18:21 +0800, Jong Lin wrote:
<BLOCKQUOTE TYPE=CITE>
    <FONT SIZE="1"><FONT COLOR="#000080">Hi Gaetan,</FONT></FONT><BR>
    <BR>
    <FONT SIZE="1"><FONT COLOR="#000080">Do I need to send the correct patch again to xorg-devel@lists.x.org?</FONT></FONT><BR>
    <BR>
    <FONT SIZE="1"><FONT COLOR="#000080">Could you please help to check the attachment sent by xorg-devel?</FONT></FONT><BR>
    <BR>
    <FONT SIZE="1"><FONT COLOR="#000080">Do I need to break it down to small ones and resend again?</FONT></FONT><BR>
</BLOCKQUOTE>
<BR>
There is a limit on the size of e-mail that can be posted on the list. Judging by the description of the patch, there are several new features and multiple bug fixes in that single patch. The reason why we send patches to the list is for them to be reviewed by other developers. They will read the code and possibly find errors, raise issues and make suggestions for improvement. <BR>
<BR>
It would be much easier for the reviewers if this work was broken down into features (add support for...) and bug fixes and submitted in different patches. It will also be much easier for you to make modifications based on the comments from reviewers. The xgi module maintainer should be able to provide you with more specific guidelines.<BR>
<BR>
<BLOCKQUOTE TYPE=CITE>
    <BR>
    <FONT SIZE="1"><FONT COLOR="#000080">&nbsp;</FONT></FONT><BR>
    <BR>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
    <DIV ALIGN=center>
<HR>
</DIV>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
    <B><FONT SIZE="2">From:</FONT></B><FONT SIZE="2">xorg-devel-bounces@lists.x.org [mailto:xorg-devel-bounces@lists.x.org] </FONT><B><FONT SIZE="2">On Behalf Of </FONT></B><FONT SIZE="2">Gaetan Nadon</FONT><BR>
    <B><FONT SIZE="2">Sent:</FONT></B><FONT SIZE="2"> Wednesday, January 27, 2010 10:05 PM</FONT><BR>
    <B><FONT SIZE="2">To:</FONT></B><FONT SIZE="2"> Jong Lin</FONT><BR>
    <B><FONT SIZE="2">Cc:</FONT></B><FONT SIZE="2"> xorg-devel@lists.x.org</FONT><BR>
    <B><FONT SIZE="2">Subject:</FONT></B><FONT SIZE="2"> RE: [PATCH video-xgi] Add Support-ARM, EXA acceleration,EDID,Custom Modes, Bugs fixed, ...</FONT><BR>
    <BR>
    <BR>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
    &nbsp;<BR>
    <BR>
    On Wed, 2010-01-27 at 15:55 +0800, Jong Lin wrote: <BR>
    <BR>
    <FONT SIZE="1"><FONT COLOR="#000080">Could you please try on the attachment?</FONT></FONT><BR>
    <BR>
    <BR>
    <BR>
    It applies without error. On Linux it shows a ^M character at the end of each line, which was there before. The XGI team may want to investigate further more and adopt common development practises. Some files are in one format and other files are in another.<BR>
    <BR>
    <BR>
    <BR>
    &nbsp;<BR>
    <BR>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
    <BLOCKQUOTE TYPE=CITE>
        <DIV ALIGN=center>
<HR>
</DIV>
    </BLOCKQUOTE>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
    <BLOCKQUOTE TYPE=CITE>
        <B><FONT SIZE="2">From:</FONT></B><FONT SIZE="2">Jong Lin </FONT><BR>
        <B><FONT SIZE="2">Sent:</FONT></B><FONT SIZE="2"> Wednesday, January 27, 2010 11:26 AM</FONT><BR>
        <B><FONT SIZE="2">To:</FONT></B><FONT SIZE="2">'memsize@videotron.ca'</FONT><BR>
        <B><FONT SIZE="2">Cc:</FONT></B><FONT SIZE="2">xorg-devel@lists.x.org</FONT><BR>
        <B><FONT SIZE="2">Subject:</FONT></B><FONT SIZE="2"> RE: [PATCH video-xgi] Add Support-ARM, EXA acceleration, EDID,Custom Modes, Bugs fixed, ...</FONT><BR>
        <BR>
        <BR>
        <BR>
        &nbsp;<BR>
        <BR>
        <FONT SIZE="1"><FONT COLOR="#000080">Hi Gaetan,</FONT></FONT><BR>
        <BR>
        <FONT SIZE="1"><FONT COLOR="#000080">It might be caused by our editing source code on Windows platform.</FONT></FONT><BR>
        <BR>
        <FONT SIZE="1"><FONT COLOR="#000080">It might be fixed by convert files by dos2unix.</FONT></FONT><BR>
        <BR>
        <FONT SIZE="1"><FONT COLOR="#000080">How about your comment?</FONT></FONT><BR>
        <BR>
        <FONT SIZE="1"><FONT COLOR="#000080">&nbsp;</FONT></FONT><BR>
        <BR>
    </BLOCKQUOTE>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
    <BLOCKQUOTE TYPE=CITE>
        <DIV ALIGN=center>
<HR>
</DIV>
    </BLOCKQUOTE>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
    <BLOCKQUOTE TYPE=CITE>
        <B><FONT SIZE="2">From:</FONT></B><FONT SIZE="2">xorg-devel-bounces@lists.x.org [mailto:xorg-devel-bounces@lists.x.org] </FONT><B><FONT SIZE="2">On Behalf Of </FONT></B><FONT SIZE="2">Gaetan Nadon</FONT><BR>
        <B><FONT SIZE="2">Sent:</FONT></B><FONT SIZE="2"> Monday, January 25, 2010 9:43 PM</FONT><BR>
        <B><FONT SIZE="2">To:</FONT></B><FONT SIZE="2">Jong Lin</FONT><BR>
        <B><FONT SIZE="2">Cc:</FONT></B><FONT SIZE="2">xorg-devel@lists.x.org</FONT><BR>
        <B><FONT SIZE="2">Subject:</FONT></B><FONT SIZE="2"> Re: [PATCH video-xgi] Add Support-ARM, EXA acceleration, EDID,Custom Modes, Bugs fixed, ...</FONT><BR>
        <BR>
        <BR>
        <BR>
        &nbsp;<BR>
        <BR>
        On Mon, 2010-01-25 at 16:29 +0800, Jong Lin wrote: <BR>
        <BR>
        <FONT COLOR="#000080">This patch includes the following enhancements and some bug fixings.</FONT><BR>
        <BR>
        <FONT COLOR="#000080">(1). Support ARM</FONT><BR>
        <BR>
        <FONT COLOR="#000080">(2). Support EXA acceleration</FONT><BR>
        <BR>
        <FONT COLOR="#000080">(3). Support EDID with I2C function</FONT><BR>
        <BR>
        <FONT COLOR="#000080">(4). Support Custom Modes of modeline</FONT><BR>
        <BR>
        <FONT COLOR="#000080">(5). Unify code for x86, PowerPC, ARM</FONT><BR>
        <BR>
        <BR>
        I used 'git apply --check' to verify the patch would apply but it doesn't I get errors like:<BR>
        <BR>
        error: patch failed: src/init.c:1 <BR>
        <BR>
<PRE>
&nbsp;
&nbsp;
error: src/init.c: patch does not apply
</PRE>
        <BR>
        <BR>
        The patch shows that the whole content of the init.c file has changed, but I can't see any real code difference. Then I remembered about code page issues when translators worked from different platforms (Unix, Windows...). I checked the file with the 'file' command:<BR>
        <BR>
<PRE>
&nbsp;
&nbsp;
init.c:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ASCII C program text, with CRLF line terminators
vb_ext.c:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ASCII C program text
vb_init.c:&nbsp;&nbsp;&nbsp;&nbsp; ASCII C program text, with CRLF line terminators
vb_setmode.c:&nbsp; ASCII C program text, with CRLF line terminators
xgi_accel.c:&nbsp;&nbsp; ASCII C program text, with CRLF line terminators
xgi_cursor.c:&nbsp; ASCII C program text
xgi_dac.c:&nbsp;&nbsp;&nbsp;&nbsp; ASCII C program text
xgi_dga.c:&nbsp;&nbsp;&nbsp;&nbsp; ASCII C program text
xgi_dri.c:&nbsp;&nbsp;&nbsp;&nbsp; ASCII C program text
xgi_driver.c:&nbsp; ASCII C program text, with CRLF, LF line terminators
xgi_opt.c:&nbsp;&nbsp;&nbsp;&nbsp; ASCII C program text
xgi_setup.c:&nbsp;&nbsp; ASCII C program text, with CRLF, LF line terminators
xgi_vb.c:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ASCII C program text
xgi_vga.c:&nbsp;&nbsp;&nbsp;&nbsp; ASCII C program text, with CRLF line terminators
xgi_video.c:&nbsp;&nbsp; ASCII C program text
xgi_videohw.c: ASCII C program text
&nbsp;
</PRE>
        <BR>
        <BR>
        It just so happens that the files giving errors are the one with CRLF terminators. Most likely, xgi developers edit code on platforms having different file formats. I did a quick scan on other drivers and I have not seen files with CRLF terminators.<BR>
        <BR>
        It's just a theory for now, most likely others have seen this before and know of to fix it.<BR>
        <BR>
        <BR>
        <BR>
    </BLOCKQUOTE>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
    <TABLE CELLSPACING="0" CELLPADDING="0" BORDER="1">
<TR>
<TD>
<FONT SIZE="2">email message attachment</FONT>
</TD>
</TR>
</TABLE>
    <BLOCKQUOTE TYPE=CITE>
        -------- Forwarded Message --------<BR>
        <B>From</B>: <A HREF="mailto:xorg-devel-bounces@lists.x.org">xorg-devel-bounces@lists.x.org</A><BR>
        <B>To</B>: Jong Lin &lt;<A HREF="mailto:Jong%20Lin%20%3cjong_lin@xgitech.com%3e">jong_lin@xgitech.com</A>&gt;<BR>
        <B>Subject</B>: Your message to xorg-devel awaits moderator approval<BR>
        <B>Date</B>: Wed, 27 Jan 2010 15:57:09 +0800<BR>
        <BR>
        <BR>
        <BR>
        <FONT SIZE="2">Your mail to 'xorg-devel' with the subject</FONT><BR>
        <BR>
        <FONT SIZE="2">&nbsp;&nbsp;&nbsp; RE: [PATCH video-xgi] Add Support-ARM, EXA acceleration,</FONT> <BR>
        <FONT SIZE="2">EDID,Custom Modes, Bugs fixed, ...</FONT><BR>
        <BR>
        <FONT SIZE="2">Is being held until the list moderator can review it for approval.</FONT><BR>
        <BR>
        <FONT SIZE="2">The reason it is being held:</FONT><BR>
        <BR>
        <FONT SIZE="2">&nbsp;&nbsp;&nbsp; Message body is too big: 2570937 bytes with a limit of 100 KB</FONT><BR>
        <BR>
        <FONT SIZE="2">Either the message will get posted to the list, or you will receive</FONT> <BR>
        <FONT SIZE="2">notification of the moderator's decision.&nbsp; If you would like to cancel</FONT> <BR>
        <FONT SIZE="2">this posting, please visit the following URL:</FONT><BR>
        <BR>
        <FONT SIZE="2">&nbsp;&nbsp;&nbsp; <A HREF="http://lists.x.org/mailman/confirm/xorg-devel/11507d2971c6e0d13e5ab068a73e90d3be23df2e">http://lists.x.org/mailman/confirm/xorg-devel/11507d2971c6e0d13e5ab068a73e90d3be23df2e</A></FONT><BR>
        <BR>
    </BLOCKQUOTE>
</BLOCKQUOTE>
</BODY>
</HTML>