dri-devel.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
From: bugzilla-daemon@freedesktop.org
To: dri-devel@lists.freedesktop.org
Subject: [Bug 105996] [DC][CIK] Bonaire mobile -  No displays being turned on
Date: Mon, 16 Apr 2018 04:11:47 +0000	[thread overview]
Message-ID: <bug-105996-502-fdYaRVv5RU@http.bugs.freedesktop.org/> (raw)
In-Reply-To: <bug-105996-502@http.bugs.freedesktop.org/>


[-- Attachment #1.1: Type: text/plain, Size: 1519 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=105996

--- Comment #5 from Shawn Starr <shawn.starr@rogers.com> ---
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/.config

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/certs
&& cp ~/rpmbuild/SOURCES/x509.genkey .

10) cd .. && make certs

11) make modules_prepare

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

13) ./scripts/sign-file sha256 certs/signing_key.pem certs/signing_key.x509 
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.

[-- Attachment #1.2: Type: text/html, Size: 2333 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

  parent reply	other threads:[~2018-04-16  4:11 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-12  8:20 [Bug 105996] [DC][CIK] Bonaire mobile - No displays being turned on bugzilla-daemon
2018-04-12  8:20 ` bugzilla-daemon
2018-04-12 12:45 ` bugzilla-daemon
2018-04-12 12:45 ` bugzilla-daemon
2018-04-12 16:36 ` bugzilla-daemon
2018-04-12 19:05 ` bugzilla-daemon
2018-04-16  4:04 ` bugzilla-daemon
2018-04-16  4:11 ` bugzilla-daemon [this message]
2018-04-16  4:24 ` bugzilla-daemon
2018-04-16 10:23 ` bugzilla-daemon
2018-08-14 20:53 ` bugzilla-daemon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-105996-502-fdYaRVv5RU@http.bugs.freedesktop.org/ \
    --to=bugzilla-daemon@freedesktop.org \
    --cc=dri-devel@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).