From: Mark Brown Subject: linux-next: manual merge of the drm tree with the amdgpu tree Date: Sun, 15 Sep 2019 22:26:34 +0100 Message-ID: <20190915212634.GI4352@sirena.co.uk> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1307432866==" Return-path: Received: from heliosphere.sirena.org.uk (heliosphere.sirena.org.uk [IPv6:2a01:7e01::f03c:91ff:fed4:a3b6]) by gabe.freedesktop.org (Postfix) with ESMTPS id 553A96E02D for ; Sun, 15 Sep 2019 21:26:37 +0000 (UTC) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: Kevin Wang , Huang Rui , Alex Deucher , Prike Liang , Evan Quan , Dave Airlie , DRI Cc: Linux Next Mailing List , Linux Kernel Mailing List List-Id: dri-devel@lists.freedesktop.org --===============1307432866== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="zqjkMoGlbUJ91oFe" Content-Disposition: inline --zqjkMoGlbUJ91oFe Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi all, Today's linux-next merge of the drm tree got a conflict in: drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h between commit: 03dce35deb8575 ("drm/amd/powerplay: remove duplicate macro smu_get_uclk_d= pm_states in amdgpu_smu.h") =66rom the amdgpu tree and commit: eee3258e8f8be8 ("drm/amd/powerplay: add the interface for getting ultimat= e frequency v3") =66rom the drm 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. diff --cc drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h index a78b2e2958950,320ac20146fd1..0000000000000 --- a/drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h +++ b/drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h @@@ -907,10 -746,14 +746,10 @@@ struct smu_func ((smu)->funcs->register_irq_handler ? (smu)->funcs->register_irq_handler= (smu) : 0) #define smu_set_azalia_d3_pme(smu) \ ((smu)->funcs->set_azalia_d3_pme ? (smu)->funcs->set_azalia_d3_pme((smu)= ) : 0) + #define smu_get_dpm_ultimate_freq(smu, param, min, max) \ + ((smu)->funcs->get_dpm_ultimate_freq ? (smu)->funcs->get_dpm_ultimate_f= req((smu), (param), (min), (max)) : 0) -#define smu_get_uclk_dpm_states(smu, clocks_in_khz, num_states) \ - ((smu)->ppt_funcs->get_uclk_dpm_states ? (smu)->ppt_funcs->get_uclk_dpm_= states((smu), (clocks_in_khz), (num_states)) : 0) #define smu_get_max_sustainable_clocks_by_dc(smu, max_clocks) \ ((smu)->funcs->get_max_sustainable_clocks_by_dc ? (smu)->funcs->get_max_= sustainable_clocks_by_dc((smu), (max_clocks)) : 0) --#define smu_get_uclk_dpm_states(smu, clocks_in_khz, num_states) \ -- ((smu)->ppt_funcs->get_uclk_dpm_states ? (smu)->ppt_funcs->get_uclk_dpm_= states((smu), (clocks_in_khz), (num_states)) : 0) #define smu_baco_is_support(smu) \ ((smu)->funcs->baco_is_support? (smu)->funcs->baco_is_support((smu)) : f= alse) #define smu_baco_get_state(smu, state) \ --zqjkMoGlbUJ91oFe Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAl1+rIkACgkQJNaLcl1U h9Aiwwf+PkGOeqgnNp7x4175oFMXXdqvxUilkp95IEqSNy48lzvGMnxqI0fORUIJ Yv+70L1iTsxyoZw/C7hA/VQYc9KROhxFyim+t8wW0rIYirTJQ0MK5gOVSEnrK6tk yGSybok256/iIujuV1DsXLrn425AzbTZZ2QndkbzWKSSX+os+2KEltDLfTGSIkCb wP0aWtN79tpCiGGJ6xcg8QB2kRQJ+/Ol4+YwVRv8C77s1hy9Q5/J8URdZoGyPeFk VmRIROwZPycK33feO2cT14s/nicwLudIGcj4jdyEL06XdLVGSmvYp5NArkctjeAL huOhUFVHHBqeN/zQRK+nqFoHXjoDWA== =VHA4 -----END PGP SIGNATURE----- --zqjkMoGlbUJ91oFe-- --===============1307432866== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs --===============1307432866==--