Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.1 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id AA323C433DF for ; Fri, 17 Jul 2020 14:36:37 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 7D96820717 for ; Fri, 17 Jul 2020 14:36:37 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=mg.codeaurora.org header.i=@mg.codeaurora.org header.b="qiZRSWBT" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7D96820717 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 05A1D6E13C; Fri, 17 Jul 2020 14:36:37 +0000 (UTC) Received: from m43-7.mailgun.net (m43-7.mailgun.net [69.72.43.7]) by gabe.freedesktop.org (Postfix) with ESMTPS id B3AE16E13C for ; Fri, 17 Jul 2020 14:36:35 +0000 (UTC) DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1594996596; h=Content-Transfer-Encoding: Content-Type: In-Reply-To: MIME-Version: Date: Message-ID: From: References: Cc: To: Subject: Sender; bh=NnSb7TJWGqQpSkl7k2UjULzlt0I9AkBaZ3dCnmY8dCM=; b=qiZRSWBTfvIRxcYumeB6Hh0tYRqrLquycyPUe0pyaBvc/AlrIbOqdmAl5Sk5WGWl/FAPozv4 JvmgtbxIZMNtGEt2dHcZpwdSJAghdYlyHxhDq+IdjTTQbEqavvu3x52aa3s5yYIR+INqdHCV QjK+hxm9rBRN+I9c5DlsqoUgZ3c= X-Mailgun-Sending-Ip: 69.72.43.7 X-Mailgun-Sid: WyIxOTRiMSIsICJkcmktZGV2ZWxAZnJlZWRlc2t0b3Aub3JnIiwgImJlOWU0YSJd Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by smtp-out-n01.prod.us-west-2.postgun.com with SMTP id 5f11b76b166c1c5494e7e80e (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Fri, 17 Jul 2020 14:36:27 GMT Received: by smtp.codeaurora.org (Postfix, from userid 1001) id B08D0C43391; Fri, 17 Jul 2020 14:36:26 +0000 (UTC) Received: from [192.168.1.9] (unknown [59.99.219.196]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: akhilpo) by smtp.codeaurora.org (Postfix) with ESMTPSA id DD85EC433C6; Fri, 17 Jul 2020 14:36:20 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org DD85EC433C6 Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; spf=none smtp.mailfrom=akhilpo@codeaurora.org Subject: Re: [PATCH] drm: msm: a6xx: fix gpu failure after system resume To: Rob Clark , Matthias Kaehlcke References: <1594733130-398-1-git-send-email-akhilpo@codeaurora.org> <20200714171036.GS3191083@google.com> From: Akhil P Oommen Message-ID: Date: Fri, 17 Jul 2020 20:06:17 +0530 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: Content-Language: en-US X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Rajendra Nayak , Jonathan , linux-arm-msm , Linux Kernel Mailing List , dri-devel@freedesktop.org, freedreno Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" On 7/15/2020 12:12 AM, Rob Clark wrote: > On Tue, Jul 14, 2020 at 10:10 AM Matthias Kaehlcke wrote: >> >> On Tue, Jul 14, 2020 at 06:55:30PM +0530, Akhil P Oommen wrote: >>> On targets where GMU is available, GMU takes over the ownership of GX GDSC >>> during its initialization. So, take a refcount on the GX PD on behalf of >>> GMU before we initialize it. This makes sure that nobody can collapse the >>> GX GDSC once GMU owns the GX GDSC. This patch fixes some weird failures >>> during GPU wake up during system resume. >>> >>> Signed-off-by: Akhil P Oommen >> >> I went through a few dozen suspend/resume cycles on SC7180 and didn't run >> into the kernel panic that typically occurs after a few iterations without >> this patch. >> >> Reported-by: Matthias Kaehlcke >> Tested-by: Matthias Kaehlcke >> >> On which tree is this patch based on? I had to apply it manually because >> 'git am' is unhappy when I try to apply it: >> >> error: sha1 information is lacking or useless (drivers/gpu/drm/msm/adreno/a6xx_gmu.c). >> error: could not build fake ancestor >> >> Both upstream and drm-msm are in my remotes and synced, so I suspect it's >> some private tree. Please make sure to base patches on the corresponding >> maintainer tree or upstream, whichs makes life easier for maintainers, >> testers and reviewers. > > I've run into the same issue frequently :-( > > BR, > -R > Sorry, I was using msm-next brand as the base, but had the opp-next branch merged too inadvertently. -Akhil _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel