From: Paul Menzel Subject: Re: [PATCH] drm: EDID quirk improvements Date: Sat, 11 Aug 2012 21:52:02 +0200 Message-ID: <1344714722.4251.28.camel@mattotaupa> References: <1344572591-14480-2-git-send-email-arequipeno@gmail.com> <1344624288-2672-1-git-send-email-arequipeno@gmail.com> <1344624288-2672-2-git-send-email-arequipeno@gmail.com> <1344673899.5674.11.camel@mattotaupa> <50267C67.6080007@gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1973563698==" Return-path: Received: from mail.gw90.de (mail.gw90.de [188.40.100.199]) by gabe.freedesktop.org (Postfix) with ESMTP id 6AF439E7F3 for ; Sat, 11 Aug 2012 12:52:11 -0700 (PDT) In-Reply-To: <50267C67.6080007@gmail.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: Ian Pilcher Cc: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1973563698== Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-JxcgMFwwvX8shJf0bPgj" --=-JxcgMFwwvX8shJf0bPgj Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Dear Ian, Am Samstag, den 11.08.2012, 10:38 -0500 schrieb Ian Pilcher: > On 08/11/2012 03:31 AM, Paul Menzel wrote: > > As a side note, could you also mention the patch iteration in the tag, > > that means [PATCH vN] so that I know what is the latest version. That > > would be great. >=20 > Can you (or anyone else reading this) point me to how to do this with > git send-email? No, but you can do that with `git format-patch` [3]. git format-patch --subject-prefix=3D"PATCH v6" =E2=80=A6 > > I would submit adding the new quirk flags and the LG quirk as separate > > patches. If it is not too much work, it would be great if you could > > split them up. >=20 > Does git provide any facility to make this easier? As far as I can > tell, the process is to start over with a newly cloned repository, > apply the current patch, manually back out the changes that I want to > separate, commit, manually redo the separate changes, and commit > again. Is that correct? Kind of. But you can do that in the same clone within your checkout/clone. Basically you go before your commit and then use `git add -p` to add only the hunks to the commit you need [4][5]. Do not worry that your changes get lost. `git reflog` still shows you the commit hash of your original patch. You can always go back to that by doing `git reset --hard ` or checking it out in another branch `git checkout -b myoldpatch_v5 `. You can read the manual with `git help commandname` like `git help add`. The folks in #git on irc.freenode.net are also very helpful. [=E2=80=A6] > >> +DEFINE_MUTEX(edid_quirk_list_mutex); > >> + > >> +/** > >> + * drm_edid_mfg_format - format an "encoded" EDID manufacturer ID for= printing > >> + * @mfg_id: the encoded manufacturer ID > >> + * @buf: destination buffer for the formated manufacturer ID (minimum= 7 bytes) > >=20 > > format*t*ed > >=20 > > http://www.merriam-webster.com/dictionary/formatted >=20 > Thanks for catching that. I keep finding little typos like that; very > annoying. Well, it was the only typo I found. I thought you are using a spell checker already. [=E2=80=A6] > I can't think of a way to provide anything useful within the scope of a > parameter description. Any suggestions? Maybe just say give an example `vendor:model:quirk`. > A URL would be great, but what would it be? (I don't have a personal > web site, and that doesn't seem really appropriate anyway.) http://git.kernel.org/?p=3Dlinux/kernel/git/torvalds/linux.git;a=3Dblob;f= =3Ddrivers/gpu/drm/drm_edid.c > > Thanks again for that great patch. With the comments addressed above yo= u > > can add my acknowledgment. > >=20 > > Acked-by: Paul Menzel >=20 > Thank you for your feedback. >=20 > Are you saying that I should add the acked-by? If so, how? (You can > probably tell that I'm really struggling with git.) That is very easy: `git commit --amend` to just edit the commit message. You can edit the other changes above, by editing the appropriate files and then doing `git commit --amend -a`. This adds all changes in files known to Git also to the last commit. > > I am going to try to test that patch too for a Philips and LG TV [2]. >=20 > I hope it helps. We will see tomorrow. Thanks, Paul [3] http://wireless.kernel.org/en/developers/Documentation/git-guide#Annota= ting_new_revision [4] http://stackoverflow.com/questions/4307095/git-how-to-split-up-a-commit= -buried-in-history [5] http://git.661346.n2.nabble.com/How-to-split-a-big-commit-td6238260.htm= l --=-JxcgMFwwvX8shJf0bPgj Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEABECAAYFAlAmt+IACgkQPX1aK2wOHVg6fwCeLhrL9i7o6zj1OlHfqiTr8iU/ uGcAoIbfX3DiShK+E9aoX4PLzRJHKOhc =UC5/ -----END PGP SIGNATURE----- --=-JxcgMFwwvX8shJf0bPgj-- --===============1973563698== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --===============1973563698==--