From patchwork Sat Apr 1 10:50:44 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dan MacDonald X-Patchwork-Id: 9658251 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 1D8DA60349 for ; Sat, 1 Apr 2017 20:20:19 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0784D2850F for ; Sat, 1 Apr 2017 20:20:19 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id F02662855E; Sat, 1 Apr 2017 20:20:18 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 5CCD22852D for ; Sat, 1 Apr 2017 20:20:09 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 2E2366E1B5; Sat, 1 Apr 2017 20:18:52 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr0-x241.google.com (mail-wr0-x241.google.com [IPv6:2a00:1450:400c:c0c::241]) by gabe.freedesktop.org (Postfix) with ESMTPS id 3F7E16E14C for ; Sat, 1 Apr 2017 10:50:47 +0000 (UTC) Received: by mail-wr0-x241.google.com with SMTP id k6so22361489wre.3 for ; Sat, 01 Apr 2017 03:50:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=/d6I4BPkgb6s2yUavdXL4/gN8alTw9iZI/6XA9GnV+U=; b=tXMO5lJHq+X/2cK4j7Xmnrr66MaoqKZ5xyt2VALO+xuEC9d6EgQ1C9tskk3Ux7OVOQ iGVGGUkgFraUoccZvjebrD9pu2RU/TIckj4kIwJSHgFwKX4Sy4+WFjaO0uPDOsp8iBJV uixgIx72LOaOVBMctWFSMPAiN/Ar5mwfFkXWDSvAll5MBh3R3KM/2Kf3b8EyCdsHcvXY AFbMuRXEM62HtpyhPrgQ9FQoGrxUE68A9636RwFQvv28KciDA9+dRo9SgGZA44HUbvk6 JYvZXYg9ymJ6TdROkVCq+7D7XvqaKU+otwMHGX2RoH13mH/hRJvJcaF1o1+O427OImN3 YbfA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=/d6I4BPkgb6s2yUavdXL4/gN8alTw9iZI/6XA9GnV+U=; b=uR93A0B8PO+aPzFzI7FHf3pFEBtu4K3mJUco4tZ7b4Ag2lBAvIHQmAa4DmKsazV3O+ XrlnPWgsJiVlh/rJGc8/0WYyyPzJICVGTVxRberOVFyInG21NFroUiPeohZM+jKjgMh6 NqjnCNRMUML2zcOn6OTmNHlFXM8tXtYcno84Ir553Jt6rlHYXqYTG10RyeKKcOAkMjsM uKKpJH3X3Q3kV4AO/XXnnbtgnZp/Ve6KJ/kffcj9xki8UYN2SJY71af7vVCeTBLo5b3m vIvY0VJI1+rXT22j0x2A+ZszlRxN60lEUWbU7PZpjSXFBdc7FRGWNdvnXaLxSMTLS/GU kLXw== X-Gm-Message-State: AFeK/H1PLXD1iBkyPRvdUcaxAW9T86b1DPhgDGcV80qMOJ7PHscIhy8TWhj+JuOe3zGzcaxyDRjgGKkRFXK6vA== X-Received: by 10.223.130.193 with SMTP id 59mr7322714wrc.114.1491043845835; Sat, 01 Apr 2017 03:50:45 -0700 (PDT) MIME-Version: 1.0 Received: by 10.223.152.173 with HTTP; Sat, 1 Apr 2017 03:50:44 -0700 (PDT) In-Reply-To: References: <1488789571.2464.10.camel@pengutronix.de> <1488808258.2464.38.camel@pengutronix.de> <20170306162900.GW21222@n2100.armlinux.org.uk> <1489403507.2288.36.camel@pengutronix.de> <20170331141559.GT7909@n2100.armlinux.org.uk> From: Dan MacDonald Date: Sat, 1 Apr 2017 11:50:44 +0100 Message-ID: Subject: Re: [PATCH 0/4] Fix DP busy wait and defer disabling overlay plane To: Russell King - ARM Linux X-Mailman-Approved-At: Sat, 01 Apr 2017 20:18:17 +0000 Cc: dri-devel@lists.freedesktop.org, kernel@pengutronix.de X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP No such luck. The patch I used (against 4.11-rc4) is attached. The error was: SHIPPED arch/arm/boot/compressed/bswapsdi2.S AS arch/arm/boot/compressed/bswapsdi2.o LD arch/arm/boot/compressed/vmlinux OBJCOPY arch/arm/boot/zImage Kernel: arch/arm/boot/zImage is ready Building modules, stage 2. MODPOST 3341 modules ERROR: "ipu_plane_disable_deferred" [drivers/gpu/drm/imx/imxdrm.ko] undefined! make[1]: *** [scripts/Makefile.modpost:91: __modpost] Error 1 make: *** [Makefile:1200: modules] Error 2 ==> ERROR: A failure occurred in build(). Aborting... On Sat, Apr 1, 2017 at 1:26 AM, Dan MacDonald wrote: > Thanks Russell! > > I think the patch has applied OK - I've just started the build so it > could be a while yet. 12 hours maybe? Its building support for every > arm7 thing under the sun because I'm too lazy (sensible?) to try > hacking it down to size. > > Adding the patch to the Arch rc kernel PKGBUILD was as simple as > adding the name of the patch to the source() section, adding a > corresponding 'SKIP' to the end of the md5sums() section and then > adding: > > git apply ../sabre-lite.patch > > to the prepare() section of the PKGBUILD. I copied the patch into the > same dir as the PKGBUILD and then ran: > > $ makepkg > > In the same dir as the kernel PKGBUILD and patches. > > Results at last! :D > > On Fri, Mar 31, 2017 at 3:15 PM, Russell King - ARM Linux > wrote: >> On Fri, Mar 31, 2017 at 02:36:31PM +0100, Dan MacDonald wrote: >>> Hi all >>> >>> Up until now I've only ever used the most basic features of git, so >>> I've had to do some research into how to best/cleanly extract >>> Phillipps patches so that I can include his changes into an Arch >>> kernel PKGBUILD. >>> >>> I think the following should work: >>> >>> 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 FETCH_HEAD >>> git whatchanged -p origin/master..FETCH_HEAD > sabre-lite.patch >> >> I don't think that will work, because it'll output the changes as >> individual patches in reverse order (newest first) which will be >> no good when trying to feed it into patch or git apply. >> >> I think what you instead want is: >> >> git diff origin/master...FETCH_HEAD > sabre-lite.patch >> >> which will be the changes that are in FETCH_HEAD that aren't in >> origin/master as a single patch. >> >>> I should then be able to include that patch in a 4.11-rc4 PKGBUILD - >>> I'll give it a go this weekend and see if it applies and builds OK but >>> please let me know if anyone sees any flaws in this procedure. >> >> Thanks - one of the issues is that not everyone knows the details of >> distribution package build systems (each distro seems to have their >> own unique way of building and packaging stuff.) >> >> -- >> 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. diff --git a/drivers/gpu/drm/imx/imx-drm-core.c b/drivers/gpu/drm/imx/imx-drm-core.c index 33404295b447..b07499214c72 100644 --- a/drivers/gpu/drm/imx/imx-drm-core.c +++ b/drivers/gpu/drm/imx/imx-drm-core.c @@ -30,6 +30,7 @@ #include