You are not logged in.
Pages: 1
I am one of the unlucky people using a fury x on linux and I want to give the powerplay patch for linux 4.4 a try. So I've downloaded the source packages for the vanilla arch kernel using abs I've cloned http://cgit.freedesktop.org/~agd5f/linux/ to my pc. Then I checked out the branch amgpu (origin/amdgpu). However now I don't what I've got to do next. I've got this folder ~/Desktop/git clone/linux/drivers/gpu/drm/amd/amdgpu (I'm guessing that's the folder I need because it wasn't there before the checkout) and I don't really know what to do with it. Am I even doing the right thing or am I taking a completely wrong approach?
Offline
I am one of the unlucky people using a fury x on linux and I want to give the powerplay patch for linux 4.4 a try. So I've downloaded the source packages for the vanilla arch kernel using abs I've cloned http://cgit.freedesktop.org/~agd5f/linux/ to my pc. Then I checked out the branch amgpu (origin/amdgpu). However now I don't what I've got to do next. I've got this folder ~/Desktop/git clone/linux/drivers/gpu/drm/amd/amdgpu (I'm guessing that's the folder I need because it wasn't there before the checkout) and I don't really know what to do with it. Am I even doing the right thing or am I taking a completely wrong approach?
I was a bit confused by your git checkout only producing a folder
When I tried cloning the repository you linked to I obtained a full linux source tree both before and after the checkout see below
[~/builds]$ git clone git://people.freedesktop.org/~agd5f/linux
Cloning into 'linux'...
remote: Counting objects: 4499820, done.
remote: Compressing objects: 100% (670253/670253), done.
remote: Total 4499820 (delta 3803804), reused 4493853 (delta 3797902)
Receiving objects: 100% (4499820/4499820), 971.87 MiB | 4.00 MiB/s, done.
Resolving deltas: 100% (3803804/3803804), done.
Checking connectivity... done.
Checking out files: 100% (37622/37622), done.
[~/builds]$ ls linux
arch Documentation init lib README sound
block drivers ipc MAINTAINERS REPORTING-BUGS tools
COPYING firmware Kbuild Makefile samples usr
CREDITS fs Kconfig mm scripts virt
crypto include kernel net security
[~/builds]$ cd linux
[~/builds/linux]$ git checkout amdgpu-powerplay
Branch amdgpu-powerplay set up to track remote branch amdgpu-powerplay from origin.
Switched to a new branch 'amdgpu-powerplay'
[~/builds/linux]$ ls
arch crypto include kernel net security
block Documentation init lib README sound
certs drivers ipc MAINTAINERS REPORTING-BUGS tools
COPYING firmware Kbuild Makefile samples usr
CREDITS fs Kconfig mm scripts virtI would not recommend copying the drivers/gpu/drm/amd/amdgpu folder onto the mainline 4.4 source tree ( I am assuming you are working off the 4.4 package from testing ) as this assumes no other relevant changes have been made to other directories.
As for the approach have you considered instead basing off the AUR packages linux-git or linux-drm-intel-nightly
See Using_VCS_Sources for the syntax needed to change the source line
which would give you a source line such as
source=('git://people.freedesktop.org/~agd5f/linux#branch=amdgpu-powerplay'Hope some of this helps
Offline
HimTortons wrote:I am one of the unlucky people using a fury x on linux and I want to give the powerplay patch for linux 4.4 a try. So I've downloaded the source packages for the vanilla arch kernel using abs I've cloned http://cgit.freedesktop.org/~agd5f/linux/ to my pc. Then I checked out the branch amgpu (origin/amdgpu). However now I don't what I've got to do next. I've got this folder ~/Desktop/git clone/linux/drivers/gpu/drm/amd/amdgpu (I'm guessing that's the folder I need because it wasn't there before the checkout) and I don't really know what to do with it. Am I even doing the right thing or am I taking a completely wrong approach?
I was a bit confused by your git checkout only producing a folder
When I tried cloning the repository you linked to I obtained a full linux source tree both before and after the checkout see below[~/builds]$ git clone git://people.freedesktop.org/~agd5f/linux Cloning into 'linux'... remote: Counting objects: 4499820, done. remote: Compressing objects: 100% (670253/670253), done. remote: Total 4499820 (delta 3803804), reused 4493853 (delta 3797902) Receiving objects: 100% (4499820/4499820), 971.87 MiB | 4.00 MiB/s, done. Resolving deltas: 100% (3803804/3803804), done. Checking connectivity... done. Checking out files: 100% (37622/37622), done. [~/builds]$ ls linux arch Documentation init lib README sound block drivers ipc MAINTAINERS REPORTING-BUGS tools COPYING firmware Kbuild Makefile samples usr CREDITS fs Kconfig mm scripts virt crypto include kernel net security [~/builds]$ cd linux [~/builds/linux]$ git checkout amdgpu-powerplay Branch amdgpu-powerplay set up to track remote branch amdgpu-powerplay from origin. Switched to a new branch 'amdgpu-powerplay' [~/builds/linux]$ ls arch crypto include kernel net security block Documentation init lib README sound certs drivers ipc MAINTAINERS REPORTING-BUGS tools COPYING firmware Kbuild Makefile samples usr CREDITS fs Kconfig mm scripts virtI would not recommend copying the drivers/gpu/drm/amd/amdgpu folder onto the mainline 4.4 source tree ( I am assuming you are working off the 4.4 package from testing ) as this assumes no other relevant changes have been made to other directories.
As for the approach have you considered instead basing off the AUR packages linux-git or linux-drm-intel-nightly
See Using_VCS_Sources for the syntax needed to change the source line
which would give you a source line such assource=('git://people.freedesktop.org/~agd5f/linux#branch=amdgpu-powerplay'Hope some of this helps
OK so I cloned the repo again and when I actually got the whole branch this time. I don't know why it didn't work before but that's not relevant anymore. I downloaded linux-git from the AUR site and replaced the source url just like you told me
and after a bunch of compiling it finally works. Thanks a lot man
Offline
Pages: 1