Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp876962rwi; Wed, 19 Oct 2022 04:12:27 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6nTzAvSqcJoPrkCXYfFlaGo3NjxNgnJ/glC+4UtIm3wCG2/wk9lhiBJnjb/oyAMyx0ymc6 X-Received: by 2002:a05:6402:b3c:b0:458:f680:6ab8 with SMTP id bo28-20020a0564020b3c00b00458f6806ab8mr7136973edb.267.1666177946991; Wed, 19 Oct 2022 04:12:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666177946; cv=none; d=google.com; s=arc-20160816; b=QhKNkKfeHeYy1/rQDRVbtVHAE15vf1TlOUSJDvmjgSq47qesymghRtAR7eZ2nYto0x g7pk4QZyDwlQa2aTTeFLo9K98zsnOgShMVgNHGX4w8tznGOyolgmSW8BZ3yXlx2Xzqjq nU0U77azN9wgRSIxTBX8MlZ7+x8Ud9iQhZRrXu2yIaAcAStBTdUy1oHa3qLmDBiJA2Vd aKFYtrc4Z0mBhKCRFqO2L0v1cQxbWiIMKUVDSPXf2dJbq3hg3cKA5eIBDOeQIZFnLt9j zV8f3tPhKq4sZtDfWRlywzS0hGgt8j/xaRFa0C9rvSSvz1rXjCHk/aW/oGH7ZRI03Oew praA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=Ko9cPGMesre6Lm8lyZdkvZ3XiHviKS2Au2xKN1iwn7c=; b=gBB51RxdHPkWmi18S67uMMI6KjIJcsvtyj3xxpir/YUrB0R8DlzKZiYS2AjDP/GoPU h8Rkyk+Jtx8m5732MlbHUZdrUuv79peWw3W5arbn8t3wvpaUyzVKdO0Q3nDGzJM2pIWv MmqokhgJr4yuaUxYOHY+7X8QA3hdSZ/QBM5lVL9Otn8rRKQqCtoTu+LoPxD1RhspG4V+ D/nKyWNXbDV+QZw+CcXdN2+ZEescE7v7MNwY7mn1fenEuhEDK+6XrrqFn5spxahQtC2h WmPOkTQY0BQqLoyizZRBYyrSPRrq/bfkRzE/+sUlF6wM9ZVT3wfaJfTPLGCvrn76YGLa CknQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="m0Cap/cR"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e19-20020a056402089300b00458cbb6b6easi12548417edy.167.2022.10.19.04.12.01; Wed, 19 Oct 2022 04:12:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="m0Cap/cR"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231520AbiJSKjm (ORCPT + 99 others); Wed, 19 Oct 2022 06:39:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46678 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232079AbiJSKiz (ORCPT ); Wed, 19 Oct 2022 06:38:55 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0BDE8156264; Wed, 19 Oct 2022 03:18:03 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id A65D3B823A2; Wed, 19 Oct 2022 08:53:56 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 09C92C433D6; Wed, 19 Oct 2022 08:53:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1666169635; bh=phSnUqnY7Kv4or2QaTwjWCnYha4ABTmtG8iuKHhbVc4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=m0Cap/cRl7UFypbqz0lJu+ekgouYE7mUPpff2b0dt5OI9wqg3zS15OiKKJem0qclr DChIMB793OTQKVbSxUazac3l4uPZDM5bg4mK42o8SoxAVzI0rMAPHdKrJ4a8Xz6U2Q 2jkR0VcNPlifScje8zynrbFuna+UcDNGYF94rqxE= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Pin-Yen Lin , Allen Chen , Robert Foss , Sasha Levin Subject: [PATCH 6.0 351/862] drm/bridge: it6505: Power on downstream device in .atomic_enable Date: Wed, 19 Oct 2022 10:27:18 +0200 Message-Id: <20221019083305.554417900@linuxfoundation.org> X-Mailer: git-send-email 2.38.0 In-Reply-To: <20221019083249.951566199@linuxfoundation.org> References: <20221019083249.951566199@linuxfoundation.org> User-Agent: quilt/0.67 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Pin-Yen Lin [ Upstream commit fbc1fdaa8338ec4ebd862d918a0ce3e12033e8a3 ] Send DPCD DP_SET_POWER_D0 command to the monitor in .atomic_enable callback. Without this command, some monitors won't show up again after changing the resolution. Fixes: 46ca7da7f1e8 ("drm/bridge: it6505: Send DPCD SET_POWER to downstream") Signed-off-by: Pin-Yen Lin Reviewed-by: Allen Chen Fixes: 46ca7da7f1e8 ("drm/bridge: it6505: Send DPCD SET_POWER to downstream") Signed-off-by: Robert Foss Link: https://patchwork.freedesktop.org/patch/msgid/20220714173715.v2.1.I85af54e9ceda74ec69f661852825845f983fc343@changeid Signed-off-by: Sasha Levin --- drivers/gpu/drm/bridge/ite-it6505.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/bridge/ite-it6505.c b/drivers/gpu/drm/bridge/ite-it6505.c index 4b673c4792d7..e5626035f311 100644 --- a/drivers/gpu/drm/bridge/ite-it6505.c +++ b/drivers/gpu/drm/bridge/ite-it6505.c @@ -2945,6 +2945,9 @@ static void it6505_bridge_atomic_enable(struct drm_bridge *bridge, if (ret) dev_err(dev, "Failed to setup AVI infoframe: %d", ret); + it6505_drm_dp_link_set_power(&it6505->aux, &it6505->link, + DP_SET_POWER_D0); + it6505_update_video_parameter(it6505, mode); ret = it6505_send_video_infoframe(it6505, &frame); -- 2.35.1