From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 105996] [DC][CIK] Bonaire mobile - No displays being turned on Date: Mon, 16 Apr 2018 04:11:47 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0874696283==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id 56F886E2B4 for ; Mon, 16 Apr 2018 04:11:47 +0000 (UTC) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0874696283== Content-Type: multipart/alternative; boundary="15238519072.b613efF.2149" Content-Transfer-Encoding: 7bit --15238519072.b613efF.2149 Date: Mon, 16 Apr 2018 04:11:47 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D105996 --- Comment #5 from Shawn Starr --- For reference compiling amdgpu.ko with custom patch on a Fedora kernel: 1) rpm -ivh kernel-4.17.0-0.rc0.git7.2.fc29.src.rpm 2) Copy custom patch into rpmbuild/SOURCES 3) Modify kernel.spec to add patch into the listing 4) cd ~/rpmbuild/SPECS; rpmbuild -bp kernel.spec 5) cd ~/rpmbuild/BUILD/kernel-4.16.fc27/linux-4.17.0-0.rc0.git7.2.fc29.x86_= 64 6) vi Makefile --> add the proper matching kernel version '-0.rc0.git7.2.fc29.x86_64' to EXTRAVERSION. 7) cp /boot/config-4.17.0-0.rc0.git7.2.fc29.x86_64 ~/rpmbuild/BUILD/kernel/4.16.fc17/linux-4.17.0-0.rc0.git7.2.fc29.x86_64/.co= nfig 8) cp /lib/modules/4.17.0-0.rc0.git7.2.fc29.x86_64/build/Module.symvers ~/rpmbuild/BUILD/kernel/4.16.fc17/linux-4.17.0-0.rc0.git7.2.fc29.x86_64/ 9) cd ~/rpmbuild/BUILD/kernel/4.16.fc17/linux-4.17.0-0.rc0.git7.2.fc29.x86_64/cer= ts && cp ~/rpmbuild/SOURCES/x509.genkey . 10) cd .. && make certs 11) make modules_prepare 12) make M=3D drivers/gpu/drm/amd/amdgpu modules 13) ./scripts/sign-file sha256 certs/signing_key.pem certs/signing_key.x509= =20 drivers/gpu/drm/amd/amdgpu/amdgpu.ko 14) compress kernel modules with xz 15) Replace/move original in /lib/modules/4.17.0-0.rc0.git7.2.fc29.x86_64/drives/dpu/drm/amd/amdgpu/ of = way 16) depmod -a 17) Remove old initramfs and rebuild with dracut --=20 You are receiving this mail because: You are the assignee for the bug.= --15238519072.b613efF.2149 Date: Mon, 16 Apr 2018 04:11:47 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated

Commen= t # 5 on bug 10599= 6 from Shawn Starr
For reference compiling amdgpu.ko with custom patch on a Fedor=
a kernel:

1) rpm -ivh kernel-4.17.0-0.rc0.git7.2.fc29.src.rpm

2) Copy custom patch into rpmbuild/SOURCES

3) Modify kernel.spec to add patch into the listing

4) cd ~/rpmbuild/SPECS; rpmbuild -bp kernel.spec

5) cd ~/rpmbuild/BUILD/kernel-4.16.fc27/linux-4.17.0-0.rc0.git7.2.fc29.x86_=
64

6) vi Makefile --> add the proper matching kernel version
'-0.rc0.git7.2.fc29.x86_64' to EXTRAVERSION.

7) cp /boot/config-4.17.0-0.rc0.git7.2.fc29.x86_64
~/rpmbuild/BUILD/kernel/4.16.fc17/linux-4.17.0-0.rc0.git7.2.fc29.x86_64/.co=
nfig

8) cp /lib/modules/4.17.0-0.rc0.git7.2.fc29.x86_64/build/Module.symvers
~/rpmbuild/BUILD/kernel/4.16.fc17/linux-4.17.0-0.rc0.git7.2.fc29.x86_64/

9) cd
~/rpmbuild/BUILD/kernel/4.16.fc17/linux-4.17.0-0.rc0.git7.2.fc29.x86_64/cer=
ts
&& cp ~/rpmbuild/SOURCES/x509.genkey .

10) cd .. && make certs

11) make modules_prepare

12) make M=3D drivers/gpu/drm/amd/amdgpu modules

13) ./scripts/sign-file sha256 certs/signing_key.pem certs/signing_key.x509=
=20
drivers/gpu/drm/amd/amdgpu/amdgpu.ko

14) compress kernel modules with xz

15) Replace/move original in
/lib/modules/4.17.0-0.rc0.git7.2.fc29.x86_64/drives/dpu/drm/amd/amdgpu/ of =
way

16) depmod -a

17) Remove old initramfs and rebuild with dracut


You are receiving this mail because:
  • You are the assignee for the bug.
= --15238519072.b613efF.2149-- --===============0874696283== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0874696283==--