Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp3892783ybi; Tue, 18 Jun 2019 08:09:47 -0700 (PDT) X-Google-Smtp-Source: APXvYqxSsVhzoIcqrZMl9iz129ZXlB0OwYCHlwHSMfS5fdZXJ9hS/2gk/7FoD1ULQJCBoySlN9FO X-Received: by 2002:a62:6344:: with SMTP id x65mr15752710pfb.111.1560870587686; Tue, 18 Jun 2019 08:09:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560870587; cv=none; d=google.com; s=arc-20160816; b=qHIYcFmp1kkxBZVf5JgGRWyT2pDyHM5DTAmhtwxKwO36bJonK0U2aw7m5c/6QGvv1g 41elss+eKf7lvpVkav529zjTwqa1Hlv8puZvLwE7LxbgqZITIzJeatsRdh5pHtTp68IN U1c7udrvuzHk3x3NPl8l3d/BfjwVZGMADxleaVvwl1PHZCfxxJbv+AxKZquhs3j5mDz+ RvFrphgwwyk3LfPleL0faMCc+FffqLEBkgNK13IObNF2Nt1oZtZRP70JB6CD1cCzGZo8 XbE4csjn5tbpWlJoxeo4UnCXEClxhOkvbQKL+ICu58FbisUWHLfZcPfm3rYS9Z0J0n6t bf9w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=E3z4ooMqqLKD/hzgGGQWs+ev7PXuSayk0SXXm5Gk74A=; b=nUXCs1d0ZWEa1APBeyRFfpgTZ5HdKRlQo88VOuj6hwm+G7xvcFzICYnwZ056GmU3/m g+9cW6vqqR0YajJCCcU8KD5PEnAeCsBLTABonBsWIwuQaIQalXP3JaZ28PYBp1F3VQMl sIvMWs9U1OdsAI05Y7tLBMJkmcnE8Aye8EL0UCZWhD5A2YYEwvdJ/3NfURi3wn5FAKKr smGOhrHCCya0yohgFxbafXLZ4TqPO30l6mOTKJlriNtMYUt5rC5FPccgimRU/dUTNyOb F4/+hK0Qxvw1PIGWGIMTja4ROiGZiYQmaq6xP4XM0DwhHKsVJsOna2AbVA0EK5wR09GG YqPQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=YTSpVpVP; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 1si449654ply.180.2019.06.18.08.09.32; Tue, 18 Jun 2019 08:09:47 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=YTSpVpVP; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729307AbfFRPJP (ORCPT + 99 others); Tue, 18 Jun 2019 11:09:15 -0400 Received: from mail-lf1-f65.google.com ([209.85.167.65]:42341 "EHLO mail-lf1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727097AbfFRPJO (ORCPT ); Tue, 18 Jun 2019 11:09:14 -0400 Received: by mail-lf1-f65.google.com with SMTP id y13so9557981lfh.9; Tue, 18 Jun 2019 08:09:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=E3z4ooMqqLKD/hzgGGQWs+ev7PXuSayk0SXXm5Gk74A=; b=YTSpVpVP1wJifrXotuGKFrWnUobbeYF1bpGOYnUcWWtAlAkm2yyUzaOJzEYmwd1Fvx XdYJgqrEkXfQ8QzUmfgvcBHfLVvr0/pCQtDtxWgxSqN2McdLMMNETqTqJTB5blwFdYJg ZLCvexoMxK0ZpFP7cM9LySFPJNeEmNXbObOtGxkKTWbiwBJDOAnGC1VA80A9Wa2sQDf1 sQrNGbuvvMWEJDsV84Q1W/FMyzLrvPiweWXCiJ6h+5yam95dDNslkMn13w5tcTz5tqYY XUkrUaIRCu8bA9lgl9/qDkIBrNobZCY2R66bHhBKiiFRZke5qijXoZGxYiwD8fr8tPrV 1icg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=E3z4ooMqqLKD/hzgGGQWs+ev7PXuSayk0SXXm5Gk74A=; b=FzAVB6HQYkUYD0HvRWoj5J8yz7Ot33wMD5d+hb+JtMcOMYi/ZYCdI1pV8Vbls8/Fg+ ZA5THXSWHAa3XT6ZjVW9jbIlTg+wGyFdLHYnSrbqAXUTJhGCEKZbirbL+semUFmL5Vbc d83qzaNMFLQ0jxdn2qyoC2eDrVdv7TnRl7WYktBsDR4daUFEBggAFoGaRc2uQsnM22st xHgEN0SGSkOUu7tq/KzKDSscrSmSssiUJVqC2dIKOepf5ek0Cao3HYfLYeNj7Fs+zOog nq8fbQHxx9w/nYP3jfT7LDFYqleBsJhgOO9x+mst4tyt/rI7rVwHbrweAeB7dBRD7oVO ltNg== X-Gm-Message-State: APjAAAXRk/3MKpLe3wiIkFuV6Qq3rMBZGjg2bYdC9j6G9KwyDyBah8KQ G4Ip/mMFV33cabn+THLL91MT11MWeF35M+LNdtM= X-Received: by 2002:ac2:5a5e:: with SMTP id r30mr16092246lfn.12.1560870552439; Tue, 18 Jun 2019 08:09:12 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Fabio Estevam Date: Tue, 18 Jun 2019 12:09:23 -0300 Message-ID: Subject: Re: [IMX] [DRM]: suspend/resume support To: Pintu Agarwal Cc: open list , "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" , Kernelnewbies , linux-pm@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jun 18, 2019 at 11:46 AM Pintu Agarwal wrote: > Thank you so much for your reply. > Yes, I already checked the latest mainline kernel changes until 5.2-**. > I see that there are many cleanup related changes, but still I see > that suspend/resume functions are missing in dw_hdmi-imx driver. Please see this recently submitted patch: https://lore.kernel.org/patchwork/patch/1084057/ > So, I am trying to implement myself. > Also, I see that suspend/resume is missing even in : > drivers/gpu/drm/imx/ipuv3-crtc.c > I am trying this also (not sure if we need this as well). > > Can you point out some specific patches which can be helpful ? > > Currently, what I observed is that hdmi bind() functions are not getting called. > Not sure who is responsible for triggering this bind function. > Or, irq remains disabled after resume, and we need to enable it back > again (but how ?) > Or, we may need to enable vblank events and thus irqs can be enabled. > > So, I am exploring many possibilities. > If you have any suggestions please let me know. The suggestion I have is to try to use latest mainline kernel. If you see any issues with it, please report. The combination you mentioned in a prior thread (kernel 3.10 + backported drm patches 4.9) is not really something the community can help you.