From: Stephen Rothwell Subject: linux-next: manual merge of the drm-misc tree with the drm tree Date: Wed, 9 Oct 2019 10:38:30 +1100 Message-ID: <20191009103830.0b75dbb5@canb.auug.org.au> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0704864165==" Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" To: Daniel Vetter , Intel Graphics , Dave Airlie , DRI Cc: Jani Nikula , Linux Next Mailing List , Linux Kernel Mailing List , Gerd Hoffmann List-Id: dri-devel@lists.freedesktop.org --===============0704864165== Content-Type: multipart/signed; boundary="Sig_/_/zJcqceIEDcW/o/wfX083J"; protocol="application/pgp-signature"; micalg=pgp-sha256 --Sig_/_/zJcqceIEDcW/o/wfX083J 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: 2d6f6f359fd8 ("drm/i915: add i915_driver_modeset_remove()") from the drm tree and commit: f2521f7731ed ("drm/i915: switch to drm_fb_helper_remove_conflicting_pci_f= ramebuffers") 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 15abad5c2d62,1c4ff8b5b0a2..000000000000 --- a/drivers/gpu/drm/i915/i915_drv.c +++ b/drivers/gpu/drm/i915/i915_drv.c @@@ -350,44 -422,6 +350,19 @@@ out return ret; } =20 - static int i915_kick_out_firmware_fb(struct drm_i915_private *dev_priv) - { - struct apertures_struct *ap; - struct pci_dev *pdev =3D dev_priv->drm.pdev; - struct i915_ggtt *ggtt =3D &dev_priv->ggtt; - bool primary; - int ret; -=20 - ap =3D alloc_apertures(1); - if (!ap) - return -ENOMEM; -=20 - ap->ranges[0].base =3D ggtt->gmadr.start; - ap->ranges[0].size =3D ggtt->mappable_end; -=20 - primary =3D - pdev->resource[PCI_ROM_RESOURCE].flags & IORESOURCE_ROM_SHADOW; -=20 - ret =3D drm_fb_helper_remove_conflicting_framebuffers(ap, "inteldrmfb", = primary); -=20 - kfree(ap); -=20 - return ret; - } -=20 +static void i915_driver_modeset_remove(struct drm_i915_private *i915) +{ + intel_modeset_driver_remove(i915); + + intel_bios_driver_remove(i915); + + i915_switcheroo_unregister(i915); + + intel_vga_unregister(i915); + + intel_csr_ucode_fini(i915); +} + static void intel_init_dpio(struct drm_i915_private *dev_priv) { /* --Sig_/_/zJcqceIEDcW/o/wfX083J Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEENIC96giZ81tWdLgKAVBC80lX0GwFAl2dHfYACgkQAVBC80lX 0GwyhAf/ebekB2v3yeFzeOUNfR+hb/RMJVxhfa8dyuaoqO8jX8X+QuyDPM0ZoyZ1 M/MMTW1aEcPn4c+1j9u/ctM92gklAaJGVYmhM+mRN0Jk2zt1+7oZ9tewCXDSFtiv 63EVFP3/L75/38bhe7PVyGkDWo8hBgteXVc06+MY+ZTQpqLCt69u86RqVTCvo5ss hbNjJBVZW9hAcXMYF3bfxDByFDDCku+FysGkBPj2TG5tndGY08CHURV7tXipdHb4 psKyOZdwKPwJCyZxaFuti1kCAAX53HJBswWZ9rIlcUASXwp+rOmabO33PrPCErBZ /PhBPCa4dyaU6v5hRH/6IyEbJAhudg== =UVGC -----END PGP SIGNATURE----- --Sig_/_/zJcqceIEDcW/o/wfX083J-- --===============0704864165== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KSW50ZWwtZ2Z4 IG1haWxpbmcgbGlzdApJbnRlbC1nZnhAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vaW50ZWwtZ2Z4 --===============0704864165==--