Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp1970036rwe; Fri, 2 Sep 2022 06:46:56 -0700 (PDT) X-Google-Smtp-Source: AA6agR4mRscUPbf9So8NuQssMB2d1sm5U12eus4CkUF39n/HCv9VG3rfjHe3rxmprC/NXdGyl5+3 X-Received: by 2002:a62:b50a:0:b0:536:3a64:3492 with SMTP id y10-20020a62b50a000000b005363a643492mr36352262pfe.52.1662126415784; Fri, 02 Sep 2022 06:46:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662126415; cv=none; d=google.com; s=arc-20160816; b=Dp16B1x+Yze9m8EgBRVqC2DSovfhYIWVYcDArygJYSlb1AHet12KfuEu5J0ij5Rc0L 8DODpnSGAuX4H6vA7w84FpeoppgM0mFNus9Lc8bNjDpGjs9kup/uhJcLsyc561v98MD2 E8CcDv6vudwbRDKSUx/RdlUYibQpArnm62F+3WitCKSKkQn+WxKl/CfO6npPzQx9dQ8m zjcCdkiS3x5ZMkddB1XtWBwJQzYyWnx8Db8hcJxT++4wx16IRm5ATH6TLABEGZvSnJpy dsnIUXuFpwZDA7TyXB3YoT42P2gi15LWCVf5uhzI/VOoyG7dlHroPn8xvq+xu0BM0UmX nphQ== 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=PhN2Odbj3ollaZbwqDjpjK0ItrdLq1glMuc2jEoEojs=; b=BWU//EUoGtuZOFu+vjbefWXqUNaPmLb1rmn3QDmhbMaCC9DiGDB9Mizb/DKlUQaAWB evv5HFMDSFS3q1Om0sh/dnO2Nth5w0qpR0rlpjzrrMMoQzMxE5uze377wOxROCJ+J/NJ 0M9sU4A77xb/RJ8Zwl0GzDjuIzmhDra3uGs84XPmpHcStdiYAv3/+DjOfW/QMcTvbZ5I ZjPTydMzjbyUK16VR4lrBVPFUsvI81BT+03mw8NupHnxf4MC1gJ0lOX0j1d7yaHo2HJl /gdW5JeYejRZ/igOD7mak/CVaUrEl5tzTX4y1Uamo3dgmpfxH17z6ZYJgr3W4257k6Cc 1ESw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=lTglJVPe; 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 18-20020a631252000000b00412a9231955si2008396pgs.233.2022.09.02.06.46.44; Fri, 02 Sep 2022 06:46:55 -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=lTglJVPe; 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 S237985AbiIBMxJ (ORCPT + 99 others); Fri, 2 Sep 2022 08:53:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44668 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237772AbiIBMw3 (ORCPT ); Fri, 2 Sep 2022 08:52:29 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8CE70F8EF3; Fri, 2 Sep 2022 05:37:31 -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 4C03DB82AE1; Fri, 2 Sep 2022 12:36:27 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8BB3EC433D6; Fri, 2 Sep 2022 12:36:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1662122186; bh=8Bzd14O19A2258YjjDY4ZPQow/ufTIN14o0tuAKVt7w=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=lTglJVPe00RAkQHIr5Vixggcgxee1G+PZaMQ5ST2OAUOpVtK/fLF0zEuunibkggUx thGSySdQ6YoN0kQcN+7c2jb8oDMtncatJSenBxklve6FbOu8+gbGg5l+SUBIo9GN5p YTsjzqrNK+SEc+Q/AXOpmrlurKyWtONRWZAFeb7A= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Martin Leung , Tom Chung , Alvin Lee , Daniel Wheeler , Alex Deucher , Sasha Levin Subject: [PATCH 5.19 40/72] drm/amd/display: For stereo keep "FLIP_ANY_FRAME" Date: Fri, 2 Sep 2022 14:19:16 +0200 Message-Id: <20220902121406.089729673@linuxfoundation.org> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20220902121404.772492078@linuxfoundation.org> References: <20220902121404.772492078@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.1 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,T_SCC_BODY_TEXT_LINE 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: Alvin Lee [ Upstream commit 84ef99c728079dfd21d6bc70b4c3e4af20602b3c ] [Description] Observed in stereomode that programming FLIP_LEFT_EYE can cause hangs. Keep FLIP_ANY_FRAME in stereo mode so the surface flip can take place before left or right eye Reviewed-by: Martin Leung Acked-by: Tom Chung Signed-off-by: Alvin Lee Tested-by: Daniel Wheeler Signed-off-by: Alex Deucher Signed-off-by: Sasha Levin --- drivers/gpu/drm/amd/display/dc/dcn30/dcn30_hubp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/display/dc/dcn30/dcn30_hubp.c b/drivers/gpu/drm/amd/display/dc/dcn30/dcn30_hubp.c index 6a4dcafb9bba5..dc3e8df706b34 100644 --- a/drivers/gpu/drm/amd/display/dc/dcn30/dcn30_hubp.c +++ b/drivers/gpu/drm/amd/display/dc/dcn30/dcn30_hubp.c @@ -86,7 +86,7 @@ bool hubp3_program_surface_flip_and_addr( VMID, address->vmid); if (address->type == PLN_ADDR_TYPE_GRPH_STEREO) { - REG_UPDATE(DCSURF_FLIP_CONTROL, SURFACE_FLIP_MODE_FOR_STEREOSYNC, 0x1); + REG_UPDATE(DCSURF_FLIP_CONTROL, SURFACE_FLIP_MODE_FOR_STEREOSYNC, 0); REG_UPDATE(DCSURF_FLIP_CONTROL, SURFACE_FLIP_IN_STEREOSYNC, 0x1); } else { -- 2.35.1