From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.9 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D4DE3ECE562 for ; Tue, 18 Sep 2018 01:32:01 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 7EB5E20C0E for ; Tue, 18 Sep 2018 01:32:01 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=canb.auug.org.au header.i=@canb.auug.org.au header.b="SdWURYev" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7EB5E20C0E Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=canb.auug.org.au Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728758AbeIRHCB (ORCPT ); Tue, 18 Sep 2018 03:02:01 -0400 Received: from ozlabs.org ([203.11.71.1]:52941 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727268AbeIRHCA (ORCPT ); Tue, 18 Sep 2018 03:02:00 -0400 Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPSA id 42DlpD2Vnfz9sBJ; Tue, 18 Sep 2018 11:31:47 +1000 (AEST) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=canb.auug.org.au DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=canb.auug.org.au; s=201702; t=1537234314; bh=z/yOAhba1YXPoloOGrVbFdqr1c7Pyi7MzAe+BLPXMNc=; h=Date:From:To:Cc:Subject:From; b=SdWURYev6NkmMh1ZSbpqVvhsPtwEHlDOwoa5ubAHirCqOmpJ9Tpo0LrYr9iqeIkcP h0/wB+fr3iEydUIDpFcmMv/Aq9svAm1w/I97dTMYQhbvOm7wAjW4qu2+HweuuMTHrS aKtCBG+432rBbYSS8N6lPK3wd8ieHnS9pKIy2skGxWh13FpC9x8R6ebvq0xqdgU50v nBoh0a0W0ZDv9z4foH967x3fazJFjlDSuOZzlPxaF3RSLEijlTbBiuhdl5qGm6HeGs Gp/Z0xjyOSqPJoITKWllqBaO+ZSP6ZQi5vKeYkyeoulNuLIL9KXiw0qm1Mol2OCBxp 6bZvM4Voq9kog== Date: Tue, 18 Sep 2018 11:31:46 +1000 From: Stephen Rothwell To: Daniel Vetter , Intel Graphics , DRI , Dave Airlie Cc: Linux-Next Mailing List , Linux Kernel Mailing List , Ville =?UTF-8?B?U3lyasOkbMOk?= , Chris Wilson Subject: linux-next: manual merge of the drm-misc tree with the drm tree Message-ID: <20180918113146.15bb1cf2@canb.auug.org.au> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/KEIqFDM7hYTINl1IY8AxRrQ"; protocol="application/pgp-signature" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --Sig_/KEIqFDM7hYTINl1IY8AxRrQ 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/i915/i915_drv.c between commit: 55ac5a1614f9 ("drm/i915: Attach the pci match data to the device upon cre= ation") from the drm tree and commit: 1feb64c49d7f ("drm/i915: Clear DRIVER_ATOMIC on a per-device basis") 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/i915/i915_drv.c index 5dd7fc582e6f,61199defb470..000000000000 --- a/drivers/gpu/drm/i915/i915_drv.c +++ b/drivers/gpu/drm/i915/i915_drv.c @@@ -1384,14 -1336,22 +1384,14 @@@ int i915_driver_load(struct pci_dev *pd struct drm_i915_private *dev_priv; int ret; =20 - /* Enable nuclear pageflip on ILK+ */ - if (!i915_modparams.nuclear_pageflip && match_info->gen < 5) - driver.driver_features &=3D ~DRIVER_ATOMIC; - ret =3D -ENOMEM; - dev_priv =3D kzalloc(sizeof(*dev_priv), GFP_KERNEL); - if (dev_priv) - ret =3D drm_dev_init(&dev_priv->drm, &driver, &pdev->dev); - if (ret) { - DRM_DEV_ERROR(&pdev->dev, "allocation failed\n"); - goto out_free; - } -- - dev_priv->drm.pdev =3D pdev; - dev_priv->drm.dev_private =3D dev_priv; + dev_priv =3D i915_driver_create(pdev, ent); + if (!dev_priv) + return -ENOMEM; =20 + /* Disable nuclear pageflip by default on pre-ILK */ + if (!i915_modparams.nuclear_pageflip && match_info->gen < 5) + dev_priv->drm.driver_features &=3D ~DRIVER_ATOMIC; +=20 ret =3D pci_enable_device(pdev); if (ret) goto out_fini; --Sig_/KEIqFDM7hYTINl1IY8AxRrQ Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEENIC96giZ81tWdLgKAVBC80lX0GwFAlugVYIACgkQAVBC80lX 0GxuaAf8CY063ClLqU8zaxTWpu5fbgqmPE8WvWknQ5BSL5zx77ECteHbpRkkgtw9 hDgVl0s8+pyOO0QFyiCyrvYmVZbeOMMHFqlBoiSaJL/laASTfgexZhgpsDqSQ9/r lpkadGq2a3JAjyWVhFYYTug9S6Bps7dPVLVdSVRHagLYRFs5wr8JYstRywtxceL1 CLE8lLbZv7GYU4zv8Ea/Q/qgJcNC0zTQsfn4jvImBPn7fXsaPKu5BxC13FOrbMX2 sA+bfb6MjazTsvYhpu9M4G11zYkZ8gkiF+iyusn7Uo3wQIi9PCn5GIASnv3R9Jep 5J1PmzE6JNUUuLsqVkpG7DItbeQnRw== =flOU -----END PGP SIGNATURE----- --Sig_/KEIqFDM7hYTINl1IY8AxRrQ--