Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp7659683rwb; Tue, 15 Nov 2022 16:01:26 -0800 (PST) X-Google-Smtp-Source: AA0mqf7JrmsMCsfOzYm9wtdhVKssZ7Vulj+MGsgw42tk2TcMFLeIQwWdrJyJx7wOYAPHta2FUKxl X-Received: by 2002:a17:907:2123:b0:7a2:335e:90e2 with SMTP id qo3-20020a170907212300b007a2335e90e2mr15565186ejb.712.1668556886610; Tue, 15 Nov 2022 16:01:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668556886; cv=none; d=google.com; s=arc-20160816; b=Xw3uB1yCNXWLBgJCVwb0OyrXSjfFIojO9TDQoyMsFgPK8aPBYSO6OITGxQN3JHmwjy rUsHrz6/p6ltpGF4Eg8o7ACpT3UHEkAe77qgcJIaJiElqF+P30d9Ccv5fWEbXJydEU69 uYs6pjhoLfmcJyM3xUHG/Bf6hXGxF+kGSvvSIiUOaEpluJEZDXe33chtoMAAk88iKBpz JgmN8/pRgFMUP2pBXUpI1kLIFtao/E1C28bq6e1qT452PQHXnqzFV1NTY9dWr/jtpTq8 rQZarLjw0C0iHUF7phzaxVeYlmc/Um2B9V9KYRXRZsbzePVyRNhi04vtS58+RtBk8QUA GD7A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:subject:cc:to:from:date :dkim-signature; bh=SOAAR+njNw3INBbf23L+zGH83Vm3xaTAHvnq1EaTm9w=; b=zQtiRPruKMcUW3w18qendVIfp+QwEI6rAcOm2q3U1XStOzE4VLpfUUB7vfKg0RPf3z Gk+UMqo5vP1JROGsjX+KOMmxBgwTiFAgR6smrUeTHD0rXPu71XJyuGvfQy7ljhKlUdy7 lwyOg9M/jVxnwpchDp38DsQZGBZfzwrG3bVhIHSh/P8lZOhLeNPPakYcUZg5v4zTsOEE 3YLxYq3z8aBRg7DXS/MRq/JLaAUI+fJprKg9mT9pwSQE0QSdxNQqKXwmHfK2k+F1lh0X 0oz+BmGy5E8jdyNpby/W+H2zlP3j4wcQ6mXiVV/CUEKQA8dYZz0dHlpj/BYEEziGWqM9 E3zg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=dFFEw71Z; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x14-20020aa7d6ce000000b00461d97e5287si11204182edr.344.2022.11.15.16.01.00; Tue, 15 Nov 2022 16:01:26 -0800 (PST) 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=@canb.auug.org.au header.s=201702 header.b=dFFEw71Z; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231216AbiKOX5J (ORCPT + 90 others); Tue, 15 Nov 2022 18:57:09 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48712 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231166AbiKOX5H (ORCPT ); Tue, 15 Nov 2022 18:57:07 -0500 Received: from gandalf.ozlabs.org (mail.ozlabs.org [IPv6:2404:9400:2221:ea00::3]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8356C1AF39; Tue, 15 Nov 2022 15:57:06 -0800 (PST) Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4NBjlN0Qr6z4xDK; Wed, 16 Nov 2022 10:57:04 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canb.auug.org.au; s=201702; t=1668556624; bh=SOAAR+njNw3INBbf23L+zGH83Vm3xaTAHvnq1EaTm9w=; h=Date:From:To:Cc:Subject:From; b=dFFEw71ZV9IPGSSlK8bMIhrvK/8LswAo675y4s0xoj8Fgx2vEVg/d0zAqCpC+KfW2 SLOHQqiTskERziUwvNS+PpxRYoYppcRNk7s7zCQdLXlGLAOFdewxgdp55TVhBhE3Qz VT5J23vwhNuwyuP8x40+oW+0ynF55YHlW+RfaXzWkaxQvJD92BaKfYBukng9UPXhoq 0sMzimdjNKJ8cfp/YkiOBb/VuWMQkWtvuWaxHuhSHstoeRrj1dSFOLt4W5nWDVsxE3 Ux6+Nt1yS+MBCNbkGojfL/lNzl6bjNsuXC34B5gCthzbb+WtWtQXQy9E7FP8cdwdos oaVfNwb6KKVFw== Date: Wed, 16 Nov 2022 10:57:02 +1100 From: Stephen Rothwell To: Daniel Vetter , Intel Graphics , DRI Cc: =?UTF-8?B?Sm9zw6kgRXhww7NzaXRv?= , Linux Kernel Mailing List , Linux Next Mailing List , Maxime Ripard Subject: linux-next: manual merge of the drm-misc tree with the origin tree Message-ID: <20221116105702.746ce3cf@canb.auug.org.au> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/P12Sa_2We=6e8ciHH2y4_Od"; protocol="application/pgp-signature"; micalg=pgp-sha256 X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,RCVD_IN_DNSWL_MED,SPF_HELO_PASS,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 --Sig_/P12Sa_2We=6e8ciHH2y4_Od Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi all, Today's linux-next merge of the drm-misc tree got a conflict in: drivers/gpu/drm/vc4/vc4_hdmi.c between commit: 682f99b8ae88 ("drm/vc4: hdmi: Take our lock to reset the link") from the origin tree and commits: d218750805a3 ("drm/vc4: hdmi: Pass vc4_hdmi to vc4_hdmi_supports_scrambli= ng()") 0a99962c0dbf ("drm/vc4: hdmi: Fix pointer dereference before check") from the drm-misc tree. I fixed it up (see below) and can carry the fix as necessary. This is now fixed as far as linux-next is concerned, but any non trivial conflicts should be mentioned to your upstream maintainer when your tree is submitted for merging. You may also want to consider cooperating with the maintainer of the conflicting tree to minimise any particularly complex conflicts. --=20 Cheers, Stephen Rothwell diff --cc drivers/gpu/drm/vc4/vc4_hdmi.c index d7fcc7a4c082,6b223a5fcf6f..000000000000 --- a/drivers/gpu/drm/vc4/vc4_hdmi.c +++ b/drivers/gpu/drm/vc4/vc4_hdmi.c @@@ -349,12 -348,9 +348,13 @@@ static int vc4_hdmi_reset_link(struct d if (!crtc_state->active) return 0; =20 + mutex_lock(&vc4_hdmi->mutex); + - if (!vc4_hdmi_supports_scrambling(encoder)) { + vc4_hdmi =3D connector_to_vc4_hdmi(connector); - if (!vc4_hdmi_supports_scrambling(vc4_hdmi)) ++ if (!vc4_hdmi_supports_scrambling(vc4_hdmi)) { + mutex_unlock(&vc4_hdmi->mutex); return 0; + } =20 scrambling_needed =3D vc4_hdmi_mode_needs_scrambling(&vc4_hdmi->saved_ad= justed_mode, vc4_hdmi->output_bpc, --Sig_/P12Sa_2We=6e8ciHH2y4_Od Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEENIC96giZ81tWdLgKAVBC80lX0GwFAmN0J04ACgkQAVBC80lX 0GwRaQf/Q8h2ktVV7CYeiKNBoJU9zX+j/yv9PTNMbMzO8mTbb4ahk9s3SYINU4LC 6hkdaOsDeAaGtPCETYDJEirGMh12PRtgUIKAyHcm4MJSazMQnJo8MaO3ZpONw452 P7twC11nUDolbgOkYOU35YHvkD1b11l1XFWj3OR8rndF74AKv6uMpt4Dr6L96NhC 3037MLMBoKgn4H9SCTY7MkGbEtQ74v/oRIPMjcN3p1a6sqbJusq/gAH4W6Hl+JqJ CalnbdgwPCVt7PnvPq9lcfZoSyK6J2hF5BP9keO1KdsaQ7y+Bzv0Pgfcmdhg/Q4e GrammVlfft+eJo1asqQEfpl0K4MGXA== =2tJB -----END PGP SIGNATURE----- --Sig_/P12Sa_2We=6e8ciHH2y4_Od--