Page 7 of 62

Re: Spectre660's Linux downloads for the Sam440/460

Posted: Thu Feb 27, 2014 11:51 am
by Spectre660
Thank you guys for testing.

Re: Spectre660's Linux downloads for the Sam440/460

Posted: Thu Feb 27, 2014 1:08 pm
by xeno74
Spectre660 wrote:Thank you guys for testing.
Thanks for your new kernel. Unfortunately I can't test it because I don't have a Sam460ex. Shall I upload the kernel or shall I wait a bit? Do you use any patches for the Radeon HD cards? We use for the HD cards the following patch:

Code: Select all

diff -rupN linux-3.14/drivers/gpu/drm/radeon/radeon_pm.c linux-3.14-nemo/drivers/gpu/drm/radeon/radeon_pm.c
--- linux-3.14/drivers/gpu/drm/radeon/radeon_pm.c	2014-02-03 01:42:13.000000000 +0100
+++ linux-3.14-nemo/drivers/gpu/drm/radeon/radeon_pm.c	2014-02-03 14:37:31.468243027 +0100
@@ -223,7 +223,10 @@ static void radeon_set_power_state(struc
 		/* set memory clock */
 		if (rdev->asic->pm.set_memory_clock && (mclk != rdev->pm.current_mclk)) {
 			radeon_pm_debug_check_in_vbl(rdev, false);
+               /* D.Stevens 2012 for the A-EON AmigaOne X1000: Setting memory clock only works on CAICOS and 6570, don't set for anything else (We ignore 6570 here */
+               if (rdev->family == CHIP_CAICOS) {
 			radeon_set_memory_clock(rdev, mclk);
+               }
 			radeon_pm_debug_check_in_vbl(rdev, true);
 			rdev->pm.current_mclk = mclk;
 			DRM_DEBUG_DRIVER("Setting: m: %d\n", mclk);
@@ -1005,7 +1008,7 @@ static void radeon_pm_resume_old(struct
 						SET_VOLTAGE_TYPE_ASIC_VDDCI);
 		if (rdev->pm.default_sclk)
 			radeon_set_engine_clock(rdev, rdev->pm.default_sclk);
-		if (rdev->pm.default_mclk)
+		if (rdev->pm.default_mclk && (rdev->family == CHIP_CAICOS))     /* Fix for PPC systems HD6000 >6570 by A-EON Core Linux Support Team */	
 			radeon_set_memory_clock(rdev, rdev->pm.default_mclk);
 	}
 	/* asic init will reset the default power state */
@@ -1057,7 +1060,7 @@ dpm_resume_fail:
 						SET_VOLTAGE_TYPE_ASIC_VDDCI);
 		if (rdev->pm.default_sclk)
 			radeon_set_engine_clock(rdev, rdev->pm.default_sclk);
-		if (rdev->pm.default_mclk)
+		if (rdev->pm.default_mclk && (rdev->family == CHIP_CAICOS))     /* Fix for PPC & > HD6570 by A-EON Linux Core Support Team */	
 			radeon_set_memory_clock(rdev, rdev->pm.default_mclk);
 	}
 }
@@ -1104,7 +1107,7 @@ static int radeon_pm_init_old(struct rad
 							SET_VOLTAGE_TYPE_ASIC_VDDCI);
 			if (rdev->pm.default_sclk)
 				radeon_set_engine_clock(rdev, rdev->pm.default_sclk);
-			if (rdev->pm.default_mclk)
+			if (rdev->pm.default_mclk && (rdev->family == CHIP_CAICOS))     // D.Stevens 2013: fix for >HD6570 on PPC	
 				radeon_set_memory_clock(rdev, rdev->pm.default_mclk);
 		}
 	}
@@ -1217,7 +1220,7 @@ dpm_failed:
 						SET_VOLTAGE_TYPE_ASIC_VDDCI);
 		if (rdev->pm.default_sclk)
 			radeon_set_engine_clock(rdev, rdev->pm.default_sclk);
-		if (rdev->pm.default_mclk)
+		if (rdev->pm.default_mclk && (rdev->family == CHIP_CAICOS))  // D.Stevens 2013: Fix for >HD6570 on ppc	
 			radeon_set_memory_clock(rdev, rdev->pm.default_mclk);
 	}
 	DRM_ERROR("radeon: dpm initialization failed\n");

Rgds,

Christian

Re: Spectre660's Linux downloads for the Sam440/460

Posted: Thu Feb 27, 2014 1:42 pm
by Spectre660
Thanks.
Yes please upload version # 2.
I have not had to apply any other specific pathches for Radeon HD cards. Have tested with HD6670 's with no problem.
So one patch for Sam440ep for correcting the load address of the kernel and one for the Sam460ex to correct the wrong base address type .
xeno74 wrote:
Spectre660 wrote:Thank you guys for testing.
Thanks for your new kernel. Unfortunately I can't test it because I don't have a Sam460ex. Shall I upload the kernel or shall I wait a bit? Do you use any patches for the Radeon HD cards? We use for the HD cards the following patch:




Rgds,

Christian

Re: Spectre660's Linux downloads for the Sam440/460

Posted: Thu Feb 27, 2014 2:30 pm
by xeno74
Spectre660 wrote:Thanks.
Yes please upload version # 2.
I have not had to apply any other specific pathches for Radeon HD cards. Have tested with HD6670 's with no problem.
So one patch for Sam440ep for correcting the load address of the kernel and one for the Sam460ex to correct the wrong base address type .
Here you are: Sam460ex-3.14.0-rc4-2.tar.gz :)

Re: Spectre660's Linux downloads for the Sam440/460

Posted: Mon Mar 03, 2014 1:44 pm
by Spectre660

Re: Spectre660's Linux downloads for the Sam440/460

Posted: Mon Mar 03, 2014 2:43 pm
by Spectre660
Untested Sam460ex 3.14.0-rc5 kernel

https://dl.dropboxusercontent.com/u/542 ... rc5.tar.gz

Re: Spectre660's Linux downloads for the Sam440/460

Posted: Mon Mar 03, 2014 9:08 pm
by xeno74
Thank you! :-)

Kernel 3.14-rc5 for the Sam440ep( Flex): Sam440ep-3.14.0-rc5.tar.gz

Kernel 3.14-rc5 for the Sam460ex( Lite): Sam460ex-3.14.0-rc5.tar.gz

Re: Spectre660's Linux downloads for the Sam440/460

Posted: Tue Mar 04, 2014 11:02 am
by javierdlr
Spectre660 wrote:Untested Sam460ex 3.14.0-rc5 kernel

https://dl.dropboxusercontent.com/u/542 ... rc5.tar.gz

Tested on my SAM460ex and works fine!!!! :-D

Re: Spectre660's Linux downloads for the Sam440/460

Posted: Wed Mar 05, 2014 12:15 pm
by xeno74
Spectre660 wrote:Sam440ep 3.14.0-rc5 kernel

https://dl.dropboxusercontent.com/u/542 ... rc5.tar.gz
It works on my Sam440ep Flex (Radeon 9250 PCI, 128 MB VRAM). Thanks a lot! :-)

Re: Spectre660's Linux downloads for the Sam440/460

Posted: Wed Mar 05, 2014 1:29 pm
by Spectre660
Thanks for testing . :D