Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp964909yba; Wed, 15 May 2019 13:08:34 -0700 (PDT) X-Google-Smtp-Source: APXvYqwxlwnxxdrZV0cKjdErlm/Pf48CJcX3YdAhMlaFvhQYdr+TkmEN105nYhQJlgc+7y4OgpJC X-Received: by 2002:a62:e00e:: with SMTP id f14mr48897726pfh.257.1557950914340; Wed, 15 May 2019 13:08:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557950914; cv=none; d=google.com; s=arc-20160816; b=ZMc8UEInyx4VjU5ksOk+KA50cryy3iV8NPQAtqp8fFTOyL2JSxEyhKK5moZeKt7mYA 1VMlsD+5K8vWgJOivimiLh/ADK1CzXC9Pz0cah9XXhIVQ5fTvPu6YXtXa6ZTZHHHSZEK YP6xJViXltjkJdhl2dL8/CyED9iu+dv8Q1FXGBh1S/AIq4I4di1qkWZ+qaUZ8qqz6cL7 HLC+dy4pIBDuTKZdqZkq2ZLrc/f1eaOeY8Uz0/vbtBamakMcpi+scDK31kc6tdUORrtO S5MOS2MqMclEOteFJB89AFshU4zMNtf5yIiEbAN8tUASGuYyP7vo+FlunC19loBSGdfV jUMQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=0SZjyUJw18g2Q4Ed1I9YvRl3YdtVVsLR83EVz3/VhFY=; b=cztC9ybikKMVYrodBR+g1zjh1CbC4syWJw2aCZV2szGUMyeaXLtF9YuXjn0TU7a39j +tibcqsJHN8B7JQItd1Pd3BMDkh/UJe9ws4tkw5puSJaogDZZKavLqkezUvBGKzZFBG9 xw662U15vE6qbd/7RZBNUX4GhhC5u1VxxhgXYBHdfZ8kSy1zmre6gAomeKIrlwtGiOv4 p3QMmm9NtiKf6+UV4VFEtPtDNSwnm+aI6m6svpE5lF0IfgcUsSfpuGb8++fgcpCcR9Jm ErMkiieS2An5flLd5B6Jus5P8g2PvZTP6E0yJqbTpmsiheCQuUdOWorGKghaSUZ2H9Gf LcFA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l61si2569639plb.288.2019.05.15.13.08.19; Wed, 15 May 2019 13:08:34 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727657AbfEOUEk (ORCPT + 99 others); Wed, 15 May 2019 16:04:40 -0400 Received: from gloria.sntech.de ([185.11.138.130]:44950 "EHLO gloria.sntech.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726124AbfEOUEk (ORCPT ); Wed, 15 May 2019 16:04:40 -0400 Received: from ip5f5a6320.dynamic.kabel-deutschland.de ([95.90.99.32] helo=diego.localnet) by gloria.sntech.de with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hR08h-0000bv-3f; Wed, 15 May 2019 22:04:35 +0200 From: Heiko =?ISO-8859-1?Q?St=FCbner?= To: Douglas Anderson Cc: Sandy Huang , Andrzej Hajda , Laurent Pinchart , linux-rockchip@lists.infradead.org, Neil Armstrong , mka@chromium.org, Sean Paul , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, David Airlie , linux-arm-kernel@lists.infradead.org, Daniel Vetter Subject: Re: [PATCH 2/2] drm/rockchip: dw_hdmi: Handle suspend/resume Date: Wed, 15 May 2019 22:04:34 +0200 Message-ID: <16767939.RRcxLiLXmc@diego> In-Reply-To: <20190502223808.185180-2-dianders@chromium.org> References: <20190502223808.185180-1-dianders@chromium.org> <20190502223808.185180-2-dianders@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Am Freitag, 3. Mai 2019, 00:38:08 CEST schrieb Douglas Anderson: > On Rockchip rk3288-based Chromebooks when you do a suspend/resume > cycle: > > 1. You lose the ability to detect an HDMI device being plugged in. > > 2. If you're using the i2c bus built in to dw_hdmi then it stops > working. > > Let's call the core dw-hdmi's suspend/resume functions to restore > things. > > NOTE: in downstream Chrome OS (based on kernel 3.14) we used the > "late/early" versions of suspend/resume because we found that the VOP > was sometimes resuming before dw_hdmi and then calling into us before > we were fully resumed. For now I have gone back to the normal > suspend/resume because I can't reproduce the problems. > > Signed-off-by: Douglas Anderson Reviewed-by: Heiko Stuebner