[PATCH 0/4] Fix DP busy wait and defer disabling overlay plane

Dan MacDonald allcoms at gmail.com
Fri Mar 10 11:11:46 UTC 2017


I think the easiest (if definitely not the fastest) way for me to test
these patches the Arch way

IF

they will apply cleanly against 4.11-rc1 is to patch the
linux-armv7-rc PKGBUILD so that it will apply Phillipp's patches
before it builds the kernel.

The linux-armv7-rc PKGBUILD is available from

git clone https://github.com/archlinuxarm/PKGBUILDs.git

under core/linux-armv7-rc. I think all I should need to do is add:

git fetch https://git.pengutronix.de/git/pza/linux.git
tags/v4.10-ipu-dp-plane-fix
git checkout FETCH_HEAD

To the prepare() section of the PKGBUILD, prob just after the last
`git apply ...` line

Should your patches work fine under 4.11-rc1 Phillipp or do I need to
test againt the very latest git? I realise that would be preferred.

If anyone can tell me how I would build linux git specifically for
Arch on the SABRE Lite, that'd be even better! I haven't needed to
build a kernel in a very long time!

Thanks

On Thu, Mar 9, 2017 at 10:00 AM, Dan MacDonald <allcoms at gmail.com> wrote:
> Thanks for your tips and links Philipp and Russell!
>
> My distro of choice is Arch and so really I should try to install the
> patched git kernel "the Arch way" so my first question is, does anyone
> on this list have an Arch PKGBUILD script to create a linux (4.x) git
> kernel package for imx6 alikes?
>
> If the answer to that is no then I think I'm most of the way to having
> created one based upon https://aur.archlinux.org/packages/linux-git/
> but I'm missing a suitable kernel .config file. I tried putting
>
> make imx_v6_v7_defconfig
>
> Into the PKGBUILD but that didn't work out and the ALARM imx6 kernel
> config is for kernel 3.14 so I can't use that either.
>
> Thanks
>
>
>
> On Mon, Mar 6, 2017 at 4:29 PM, Russell King - ARM Linux
> <linux at armlinux.org.uk> wrote:
>> On Mon, Mar 06, 2017 at 02:50:58PM +0100, Philipp Zabel wrote:
>>> Sorry, I should have mentioned that this must be called from inside an
>>> existing kernel git repository. The idea is that you don't have to clone
>>> the whole kernel through our pipe, but can use the upstream repository,
>>> which has a much better internet connection, for most of the data:
>>>
>>> git clone https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
>>> cd linux
>>> git fetch https://git.pengutronix.de/git/pza/linux.git tags/v4.10-ipu-dp-plane-fix
>>> git checkout -b "branchname" FETCH_HEAD
>>
>> If you have an existing tree which is based on Linus' tree, you can save
>> the server and download bandwidth by doing:
>>
>> git clone --dissociate --reference /path/to/local/copy/of/linus/tree https://git.pengutronix.de/git/pza/linux.git
>> cd linux
>> git checkout tags/v4.10-ipu-dp-plane-fix
>>
>> This will clone your tree, but make use of the objects already present
>> in /path/to/local/copy/of/linus/tree, making copies of them (so it
>> doesn't matter if you subsequently get rid of that reference tree.)
>>
>> --
>> RMK's Patch system: http://www.armlinux.org.uk/developer/patches/
>> FTTC broadband for 0.8mile line: currently at 9.6Mbps down 400kbps up
>> according to speedtest.net.


More information about the dri-devel mailing list