From: Stephen Rothwell Subject: Re: linux-next: build failure after merge of the amdgpu tree Date: Thu, 27 Jun 2019 13:35:27 +1000 Message-ID: <20190627133527.391ed0a1@canb.auug.org.au> References: <20190626212212.25b41df4@canb.auug.org.au> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_//MP+Z9Llcv8VHsmmv4T4QEi"; protocol="application/pgp-signature" Return-path: In-Reply-To: <20190626212212.25b41df4@canb.auug.org.au> Sender: linux-kernel-owner@vger.kernel.org To: Dave Airlie Cc: Alex Deucher , Linux Next Mailing List , Linux Kernel Mailing List , Hawking Zhang , Huang Rui , DRI List-Id: dri-devel@lists.freedesktop.org --Sig_//MP+Z9Llcv8VHsmmv4T4QEi Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi Dave, On Wed, 26 Jun 2019 21:22:12 +1000 Stephen Rothwell = wrote: > > Hi Alex, >=20 > After merging the amdgpu tree, today's linux-next build (powerpc > allyesconfig) failed like this: >=20 > In file included from drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c:25: > drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c: In function 'gfx_v10_0_cp_gfx_res= ume': > drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c:2628:27: error: 'CP_RB1_CNTL__BUF_= SWAP_MASK' undeclared (first use in this function); did you mean 'CP_RB_CNT= L__BUF_SWAP_MASK'? > tmp =3D REG_SET_FIELD(tmp, CP_RB1_CNTL, BUF_SWAP, 1); > ^~~~~~~~~~~ > drivers/gpu/drm/amd/amdgpu/amdgpu.h:1067:36: note: in definition of macro= 'REG_FIELD_MASK' > #define REG_FIELD_MASK(reg, field) reg##__##field##_MASK > ^~~ > drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c:2628:8: note: in expansion of macr= o 'REG_SET_FIELD' > tmp =3D REG_SET_FIELD(tmp, CP_RB1_CNTL, BUF_SWAP, 1); > ^~~~~~~~~~~~~ > drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c:2628:27: note: each undeclared ide= ntifier is reported only once for each function it appears in > tmp =3D REG_SET_FIELD(tmp, CP_RB1_CNTL, BUF_SWAP, 1); > ^~~~~~~~~~~ > drivers/gpu/drm/amd/amdgpu/amdgpu.h:1067:36: note: in definition of macro= 'REG_FIELD_MASK' > #define REG_FIELD_MASK(reg, field) reg##__##field##_MASK > ^~~ > drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c:2628:8: note: in expansion of macr= o 'REG_SET_FIELD' > tmp =3D REG_SET_FIELD(tmp, CP_RB1_CNTL, BUF_SWAP, 1); > ^~~~~~~~~~~~~ > drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c:2628:27: error: 'CP_RB1_CNTL__BUF_= SWAP__SHIFT' undeclared (first use in this function); did you mean 'CP_RB0_= CNTL__BUF_SWAP__SHIFT'? > tmp =3D REG_SET_FIELD(tmp, CP_RB1_CNTL, BUF_SWAP, 1); > ^~~~~~~~~~~ > drivers/gpu/drm/amd/amdgpu/amdgpu.h:1066:37: note: in definition of macro= 'REG_FIELD_SHIFT' > #define REG_FIELD_SHIFT(reg, field) reg##__##field##__SHIFT > ^~~ > drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c:2628:8: note: in expansion of macr= o 'REG_SET_FIELD' > tmp =3D REG_SET_FIELD(tmp, CP_RB1_CNTL, BUF_SWAP, 1); > ^~~~~~~~~~~~~ >=20 > Caused by commit >=20 > a644d85a5cd4 ("drm/amdgpu: add gfx v10 implementation (v10)") >=20 > I have disabled that driver for today. Please let me know when it is > fixed so that I can enable it again. I assume that this has now been inherited by the drm tree (since there has been no fix). So the AMD_GPU driver will still be disabled in linux-next today as of the drm tree merge. --=20 Cheers, Stephen Rothwell --Sig_//MP+Z9Llcv8VHsmmv4T4QEi Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEENIC96giZ81tWdLgKAVBC80lX0GwFAl0UOX8ACgkQAVBC80lX 0Gw+Ogf/Xu+akNc/wMNACdscrFniFALvWRPZZpd1TNGFkbzX6BglbzbQeKxTS6Qt sJg6CSPEwwlUezmoXyb4wOOFY+idiSEXdQC3B3MeUYOpirvAvM5kGKi2i267OKuB QQ9y1oLFKpX7frtF8tGDl+FRp/rPOcFluosrA2lxTxTwLf7WyUbswunEA223adOh Bbhfbw1EBNWyExV6UN/DJQ1sF4hYkqx5v8GK0f+a5fae/Q3CQH4oKFuO+LMPhNkl mt6OhpG33e4MjZ5Cht1IJZpWTgk9LbmExxS/30LI/IYs2vECmvJ4yj0e3A3fng4r HJOWz0oRx4eWTmz5yYOrMdxTbeA5jQ== =2p2Q -----END PGP SIGNATURE----- --Sig_//MP+Z9Llcv8VHsmmv4T4QEi--