Hi, Please enable RV7xx radeon cards to work similarly to r600 and evergreen:
--- a/deblob-4.8 2016-10-17 00:31:26.019970411 +0300 +++ b/deblob-4.8 2016-10-16 17:24:38.645368361 +0300 @@ -744,6 +744,9 @@ clean_sed ' /r = r600_init_microcode(rdev);/,/}/ s,return r;,/*(DEBLOBBED)*/, ' drivers/gpu/drm/radeon/evergreen.c 'enable blobless activation' +clean_sed ' +/r = r600_init_microcode(rdev);/,/}/ s,return r;,/*(DEBLOBBED)*/, +' drivers/gpu/drm/radeon/rv770.c 'enable blobless activation' reject_firmware drivers/gpu/drm/radeon/ni.c clean_blob drivers/gpu/drm/radeon/ni.c reject_firmware drivers/gpu/drm/radeon/si.c I tested this on Linux-libre-4.8.1 (running on GuixSD), and with the patch the card is correctly initialized and Xorg loads the proper driver. (And I have access to 1920x1080 resolution, instead of 1280x1024 that I get with the default vesa). Of course OpenGL acceleration is missing (it is done with softpipe or perhaps should be llvmpipe), but that is expected. My card is according to lspci: 01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] RV730 PRO [Radeon HD 4650] dmesg from patched linux-libre kernel: Oct 16 21:08:51 localhost vmunix: [ 4.803140] [drm] radeon kernel modesetting enabled. Oct 16 21:08:51 localhost vmunix: [ 4.862664] radeon 0000:01:00.0: VRAM: 1024M 0x0000000000000000 - 0x000000003FFFFFFF (1024M used) Oct 16 21:08:51 localhost vmunix: [ 4.862701] radeon 0000:01:00.0: GTT: 1024M 0x0000000040000000 - 0x000000007FFFFFFF Oct 16 21:08:51 localhost vmunix: [ 4.866509] [drm] radeon: 1024M of VRAM memory ready Oct 16 21:08:51 localhost vmunix: [ 4.866546] [drm] radeon: 1024M of GTT memory ready. Oct 16 21:08:51 localhost vmunix: [ 4.867252] radeon 0000:01:00.0: Direct firmware load for /*(DEBLOBBED)*/ failed with error -2 Oct 16 21:08:51 localhost vmunix: [ 4.867345] [drm:rv770_init [radeon]] *ERROR* Failed to load firmware! Oct 16 21:08:51 localhost vmunix: [ 4.867473] [drm] radeon: power management initialized Oct 16 21:08:51 localhost vmunix: [ 4.867559] radeon 0000:01:00.0: Direct firmware load for /*(DEBLOBBED)*/ failed with error -2 Oct 16 21:08:51 localhost vmunix: [ 4.867595] radeon 0000:01:00.0: radeon_uvd: Can't load firmware "/*(DEBLOBBED)*/" Oct 16 21:08:51 localhost vmunix: [ 4.867637] radeon 0000:01:00.0: failed UVD (-22) init. Oct 16 21:08:51 localhost vmunix: [ 4.868974] [drm] enabling PCIE gen 2 link speeds, disable with radeon.pcie_gen2=0 Oct 16 21:08:51 localhost vmunix: [ 4.881531] radeon 0000:01:00.0: WB enabled Oct 16 21:08:51 localhost vmunix: [ 4.881564] radeon 0000:01:00.0: fence driver on ring 0 use gpu addr 0x0000000040000c00 and cpu addr 0xffff920cea341c00 Oct 16 21:08:51 localhost vmunix: [ 4.881598] radeon 0000:01:00.0: fence driver on ring 3 use gpu addr 0x0000000040000c0c and cpu addr 0xffff920cea341c0c Oct 16 21:08:51 localhost vmunix: [ 4.881693] radeon 0000:01:00.0: radeon: MSI limited to 32-bit Oct 16 21:08:51 localhost vmunix: [ 4.881758] radeon 0000:01:00.0: radeon: using MSI. Oct 16 21:08:51 localhost vmunix: [ 4.881812] [drm] radeon: irq initialized. Oct 16 21:08:51 localhost vmunix: [ 4.881917] [drm:rv770_startup [radeon]] *ERROR* radeon: IH init failed (-22). Oct 16 21:08:51 localhost vmunix: [ 4.881973] radeon 0000:01:00.0: disabling GPU acceleration Oct 16 21:08:52 localhost vmunix: [ 4.953115] fbcon: radeondrmfb (fb0) is primary device Oct 16 21:08:52 localhost vmunix: [ 5.163712] radeon 0000:01:00.0: fb0: radeondrmfb frame buffer device Oct 16 21:08:52 localhost vmunix: [ 5.184500] [drm] Initialized radeon 2.46.0 20080528 for 0000:01:00.0 on minor 0 Xorg: [ 7.843] (--) RADEON(0): Chipset: "ATI RV730 PRO [Radeon HD 4650]" (ChipID = 0x9498) Best regards, -- Edwin Török | Co-founder and Lead Developer Skylable open-source object storage: reliable, fast, secure http://www.skylable.com _______________________________________________ linux-libre mailing list linux-libre@fsfla.org http://www.fsfla.org/cgi-bin/mailman/listinfo/linux-libre