drm/radeon: Update to Linux 3.9
Rimvydas Jasinskas
rimvydasjas at gmail.com
Wed Feb 18 12:17:09 PST 2015
Works on my older hd5770, a bit noisy too, but doesn't ramp up.
Still waiting for hd7700 to be given back (post valentine's day gaming frenzy).
$ pciconf -lv
vgapci0 at pci0:1:0:0: class=0x030000 card=0x29901682 chip=0x68b81002
rev=0x00 hdr=0x00
device = 'Juniper XT [Radeon HD 5770]'
$ mpv -vo=opengl-hq /data/bsd-0069.mp4
no problems with playback/seeking
when switching full-screen, there are some graphics corruption in
bg(green-yellow stripes)
one -Werror(-Wredundant-decls) issue for 'evergreen_set_uvd_clocks'
missing firware - radeon/CYPRESS_uvd.bin
error: [drm:pid1057:radeon_gem_object_create] *ERROR* Failed to
allocate GEM object
More in attachments.
Regards,
RJ
On Wed, Feb 18, 2015 at 12:36 PM, Romick <yellowrabbit2010 at gmail.com> wrote:
> On Wed, Feb 18, 2015 at 11:58:04AM +0200, Rimvydas Jasinskas wrote:
>> Does this updated version include any improvements in power management?
>> I have good ol' XFX radeon hd 7700 (none of that double prec stuff) with blower
>> turbine fan.
>>
>> On dly-master after 10-15min fan goes full throttle and I have to flip the
>> switch due to noise.
>>
>>
>
> tbh I can't say: this card isn't noisy. Just try this branch & report.
>
> --
> with best reagrds, Yellow Rabbit
> DragonFly 4.1-DEVELOPMENT x86_64
-------------- next part --------------
dly-master
$ vblank_mode=0 glxgears
DVI-1 connected 2048x1152
GL_RENDERER = Gallium 0.4 on AMD JUNIPER
GL_VERSION = 3.0 Mesa 10.3.4
12334 frames in 5.0 seconds = 2466.786 FPS small window
300 frames in 5.0 seconds = 59.948 FPS fullscreen @2048x1152
$ dmesg
info: [drm] Initialized drm 1.1.0 20060810
drm0: <Juniper [Radeon HD 5700 Series]> on vgapci0
info: [drm] RADEON_IS_PCIE
info: [drm] initializing kernel modesetting (JUNIPER 0x1002:0x68B8 0x1682:0x2990).
info: [drm] register mmio base: 0xF0100000
info: [drm] register mmio size: 131072
info: [drm] radeon_atrm_get_bios: ===> Try ATRM...
info: [drm] radeon_atrm_get_bios: pci_find_class() found: 0:1:0:0, vendor=1002, device=68b8
info: [drm] radeon_atrm_get_bios: Get ACPI device handle
info: [drm] radeon_acpi_vfct_bios: ===> Try VFCT...
info: [drm] radeon_acpi_vfct_bios: Get "VFCT" ACPI table
info: [drm] radeon_acpi_vfct_bios: Failed to get "VFCT" table: AE_NOT_FOUND
info: [drm] igp_read_bios_from_vram: ===> Try IGP's VRAM...
info: [drm] igp_read_bios_from_vram: VRAM base address: 0xe0000000
info: [drm] igp_read_bios_from_vram: Map address: 0xffffffe11f186000 (262144 bytes)
info: [drm] igp_read_bios_from_vram: Incorrect BIOS signature: 0x2072
info: [drm] radeon_read_bios: ===> Try PCI Expansion ROM...
info: [drm] radeon_read_bios: Map address: 0xffffffe11f186000 (131072 bytes)
info: [drm] ATOM BIOS: JUNIPER
drm0: info: VRAM: 1024M 0x0000000000000000 - 0x000000003FFFFFFF (1024M used)
drm0: info: GTT: 512M 0x0000000040000000 - 0x000000005FFFFFFF
info: [drm] Detected VRAM RAM=1024M, BAR=256M
info: [drm] RAM width 128bits DDR
[TTM] (struct ttm_mem_global *)0xffffffe0555fdf38
[TTM] Zone kernel: Available graphics memory: 8192 kiB
[TTM] Zone dma32: Available graphics memory: 8192 kiB
[TTM] Initializing pool allocator
info: [drm] radeon: 1024M of VRAM memory ready
info: [drm] radeon: 512M of GTT memory ready.
info: [drm] Supports vblank timestamp caching Rev 1 (10.10.2010).
info: [drm] Driver supports precise vblank timestamp query.
info: [drm] radeon: irq initialized.
info: [drm] GART: num cpu pages 131072, num gpu pages 131072
info: [drm] probing gen 2 caps for device 1002:68b8 = 1/0
info: [drm] Loading JUNIPER Microcode
info: [drm] PCIE GART of 512M enabled (table at 0x0000000000040000).
drm0: info: WB enabled
drm0: info: fence driver on ring 0 use gpu addr 0x0000000040000c00 and cpu addr 0x0xffffdf80039aec00
drm0: info: fence driver on ring 3 use gpu addr 0x0000000040000c0c and cpu addr 0x0xffffdf80039aec0c
info: [drm] ring test on 0 succeeded in 1 usecs
info: [drm] ring test on 3 succeeded in 1 usecs
info: [drm] ib test on ring 0 succeeded in 0 usecs
info: [drm] ib test on ring 3 succeeded in 0 usecs
info: [drm] radeon_device_init: Taking over the fictitious range 0xe0000000-0xf0000000
iicbus0: <Philips I2C bus> on iicbb0 addr 0xff
iicbus1: <Philips I2C bus> on iicbb1 addr 0xff
iicbus2: <Philips I2C bus> on iicbb2 addr 0xff
iicbus3: <Philips I2C bus> on iicbb3 addr 0xff
iicbus4: <Philips I2C bus> on iicbb4 addr 0xff
iicbus5: <Philips I2C bus> on iicbb5 addr 0xff
iicbus6: <Philips I2C bus> on iicbb6 addr 0xff
iicbus7: <Philips I2C bus> on iicbb7 addr 0xff
info: [drm] Radeon Display Connectors
info: [drm] Connector 0:
info: [drm] DP-1
info: [drm] HPD4
info: [drm] DDC: 0x6440 0x6440 0x6444 0x6444 0x6448 0x6448 0x644c 0x644c
info: [drm] Encoders:
info: [drm] DFP1: INTERNAL_UNIPHY2
info: [drm] Connector 1:
info: [drm] HDMI-A-1
info: [drm] HPD5
info: [drm] DDC: 0x6430 0x6430 0x6434 0x6434 0x6438 0x6438 0x643c 0x643c
info: [drm] Encoders:
info: [drm] DFP2: INTERNAL_UNIPHY2
info: [drm] Connector 2:
info: [drm] DVI-I-1
info: [drm] HPD1
info: [drm] DDC: 0x6460 0x6460 0x6464 0x6464 0x6468 0x6468 0x646c 0x646c
info: [drm] Encoders:
info: [drm] DFP3: INTERNAL_UNIPHY1
info: [drm] CRT2: INTERNAL_KLDSCP_DAC2
info: [drm] Connector 3:
info: [drm] DVI-I-2
info: [drm] HPD6
info: [drm] DDC: 0x6450 0x6450 0x6454 0x6454 0x6458 0x6458 0x645c 0x645c
info: [drm] Encoders:
info: [drm] DFP4: INTERNAL_UNIPHY
info: [drm] CRT1: INTERNAL_KLDSCP_DAC1
info: [drm] Internal thermal controller with fan control
info: [drm] radeon: power management initialized
info: [drm] Initialized radeon 2.29.0 20080528
-------------- next part --------------
dfly-master + 3.9 linux reabse - problem with -Werror
/usr/src/sys/dev/drm/radeon/rv770.c:44:5: warning: redundant redeclaration of 'evergreen_set_uvd_clocks' [-Wredundant-decls]
In file included from /usr/src/sys/dev/drm/radeon/rv770.c:33:0:
/usr/src/sys/dev/drm/radeon/radeon_asic.h:466:5: note: previous declaration of 'evergreen_set_uvd_clocks' was here
$ vblank_mode=0 glxgears
DVI-1 connected 2048x1152
GL_RENDERER = Gallium 0.4 on AMD JUNIPER
GL_VERSION = 3.0 Mesa 10.4.3
13177 frames in 5.0 seconds = 2634.209 FPS small window
300 frames in 5.0 seconds = 59.948 FPS fullscreen @2048x1152
$dmesg -a
info: [drm] Initialized drm 1.1.0 20060810
drm0.vgapci0.pci1.pcib1.pci0.pcib0.acpi0.nexus0.root0
drm0: <Juniper [Radeon HD 5700 Series]> [tentative] on vgapci0
info: [drm] RADEON_IS_PCIE
info: [drm] initializing kernel modesetting (JUNIPER 0x1002:0x68B8 0x1682:0x2990).
vgapci0: Reserved 0x20000 bytes for rid 0x18 type 3 at 0xf0100000
info: [drm] register mmio base: 0xF0100000
info: [drm] register mmio size: 131072
vgapci0: Reserved 0x100 bytes for rid 0x20 type 4 at 0x1000
info: [drm] radeon_atrm_get_bios: ===> Try ATRM...
info: [drm] radeon_atrm_get_bios: pci_find_class() found: 0:1:0:0, vendor=1002, device=68b8
info: [drm] radeon_atrm_get_bios: Get ACPI device handle
info: [drm] radeon_acpi_vfct_bios: ===> Try VFCT...
info: [drm] radeon_acpi_vfct_bios: Get "VFCT" ACPI table
info: [drm] radeon_acpi_vfct_bios: Failed to get "VFCT" table: AE_NOT_FOUND
info: [drm] igp_read_bios_from_vram: ===> Try IGP's VRAM...
vgapci0: Reserved 0x10000000 bytes for rid 0x10 type 3 at 0xe0000000
info: [drm] igp_read_bios_from_vram: VRAM base address: 0xe0000000
info: [drm] igp_read_bios_from_vram: Map address: 0xffffffe11ef80000 (262144 bytes)
info: [drm] igp_read_bios_from_vram: Incorrect BIOS signature: 0x2070
info: [drm] radeon_read_bios: ===> Try PCI Expansion ROM...
info: [drm] radeon_read_bios: Map address: 0xffffffe11ef80000 (131072 bytes)
info: [drm] ATOM BIOS: JUNIPER
drm0: info: VRAM: 1024M 0x0000000000000000 - 0x000000003FFFFFFF (1024M used)
drm0: info: GTT: 512M 0x0000000040000000 - 0x000000005FFFFFFF
info: [drm] Detected VRAM RAM=1024M, BAR=256M
info: [drm] RAM width 128bits DDR
[TTM] (struct ttm_mem_global *)0xffffffe11d9b3498
[TTM] Zone kernel: Available graphics memory: 8192 kiB
[TTM] Zone dma32: Available graphics memory: 8192 kiB
[TTM] Initializing pool allocator
info: [drm] radeon: 1024M of VRAM memory ready
info: [drm] radeon: 512M of GTT memory ready.
info: [drm] Supports vblank timestamp caching Rev 1 (10.10.2010).
info: [drm] Driver supports precise vblank timestamp query.
info: [drm] radeon: irq initialized.
radeon/CYPRESS_uvd.bin: could not load firmware image, error 2
drm0: error: radeon_uvd: Can't load firmware "radeon/CYPRESS_uvd.bin"
info: [drm] GART: num cpu pages 131072, num gpu pages 131072
info: [drm] probing gen 2 caps for device 1002:68b8 = 1/0
info: [drm] Loading JUNIPER Microcode
firmware: 'radeonkmsfw_JUNIPER_pfp' version 0: 4480 bytes loaded at 0xffffffff8459e0e0
firmware: 'radeonkmsfw_JUNIPER_me' version 0: 5504 bytes loaded at 0xffffffff845a10e0
firmware: 'radeonkmsfw_JUNIPER_rlc' version 0: 3072 bytes loaded at 0xffffffff845a40e0
info: [drm] PCIE GART of 512M enabled (table at 0x0000000000040000).
drm0: info: WB enabled
drm0: info: fence driver on ring 0 use gpu addr 0x0000000040000c00 and cpu addr 0x0xffffdf8003edac00
drm0: info: fence driver on ring 3 use gpu addr 0x0000000040000c0c and cpu addr 0x0xffffdf8003edac0c
info: [drm] ring test on 0 succeeded in 1 usecs
info: [drm] ring test on 3 succeeded in 1 usecs
info: [drm] ib test on ring 0 succeeded in 0 usecs
info: [drm] ib test on ring 3 succeeded in 0 usecs
info: [drm] radeon_device_init: Taking over the fictitious range 0xe0000000-0xf0000000
iicbus0.iicbb0.radeon_iicbb0.drm0.vgapci0.pci1.pcib1.pci0.pcib0.acpi0.nexus0.root0
iicbus0: <Philips I2C bus> [tentative] on iicbb0 addr 0xff
iicbus0: <Philips I2C bus> [attached!] on iicbb0 addr 0xff
iicbus1.iicbb1.radeon_iicbb1.drm0.vgapci0.pci1.pcib1.pci0.pcib0.acpi0.nexus0.root0
iicbus1: <Philips I2C bus> [tentative] on iicbb1 addr 0xff
iicbus1: <Philips I2C bus> [attached!] on iicbb1 addr 0xff
iicbus2.iicbb2.radeon_iicbb2.drm0.vgapci0.pci1.pcib1.pci0.pcib0.acpi0.nexus0.root0
iicbus2: <Philips I2C bus> [tentative] on iicbb2 addr 0xff
iicbus2: <Philips I2C bus> [attached!] on iicbb2 addr 0xff
iicbus3.iicbb3.radeon_iicbb3.drm0.vgapci0.pci1.pcib1.pci0.pcib0.acpi0.nexus0.root0
iicbus3: <Philips I2C bus> [tentative] on iicbb3 addr 0xff
iicbus3: <Philips I2C bus> [attached!] on iicbb3 addr 0xff
iicbus4.iicbb4.radeon_iicbb4.drm0.vgapci0.pci1.pcib1.pci0.pcib0.acpi0.nexus0.root0
iicbus4: <Philips I2C bus> [tentative] on iicbb4 addr 0xff
iicbus4: <Philips I2C bus> [attached!] on iicbb4 addr 0xff
iicbus5.iicbb5.radeon_iicbb5.drm0.vgapci0.pci1.pcib1.pci0.pcib0.acpi0.nexus0.root0
iicbus5: <Philips I2C bus> [tentative] on iicbb5 addr 0xff
iicbus5: <Philips I2C bus> [attached!] on iicbb5 addr 0xff
iicbus6.iicbb6.radeon_iicbb6.drm0.vgapci0.pci1.pcib1.pci0.pcib0.acpi0.nexus0.root0
iicbus6: <Philips I2C bus> [tentative] on iicbb6 addr 0xff
iicbus6: <Philips I2C bus> [attached!] on iicbb6 addr 0xff
iicbus7.iicbb7.radeon_iicbb7.drm0.vgapci0.pci1.pcib1.pci0.pcib0.acpi0.nexus0.root0
iicbus7: <Philips I2C bus> [tentative] on iicbb7 addr 0xff
iicbus7: <Philips I2C bus> [attached!] on iicbb7 addr 0xff
info: [drm] Radeon Display Connectors
info: [drm] Connector 0:
info: [drm] DP-1
info: [drm] HPD4
info: [drm] DDC: 0x6440 0x6440 0x6444 0x6444 0x6448 0x6448 0x644c 0x644c
info: [drm] Encoders:
info: [drm] DFP1: INTERNAL_UNIPHY2
info: [drm] Connector 1:
info: [drm] HDMI-A-1
info: [drm] HPD5
info: [drm] DDC: 0x6430 0x6430 0x6434 0x6434 0x6438 0x6438 0x643c 0x643c
info: [drm] Encoders:
info: [drm] DFP2: INTERNAL_UNIPHY2
info: [drm] Connector 2:
info: [drm] DVI-I-1
info: [drm] HPD1
info: [drm] DDC: 0x6460 0x6460 0x6464 0x6464 0x6468 0x6468 0x646c 0x646c
info: [drm] Encoders:
info: [drm] DFP3: INTERNAL_UNIPHY1
info: [drm] CRT2: INTERNAL_KLDSCP_DAC2
info: [drm] Connector 3:
info: [drm] DVI-I-2
info: [drm] HPD6
info: [drm] DDC: 0x6450 0x6450 0x6454 0x6454 0x6458 0x6458 0x645c 0x645c
info: [drm] Encoders:
info: [drm] DFP4: INTERNAL_UNIPHY
info: [drm] CRT1: INTERNAL_KLDSCP_DAC1
info: [drm] Internal thermal controller with fan control
info: [drm] radeon: power management initialized
info: [drm] Initialized radeon 2.31.0 20080528
drm0: <Juniper [Radeon HD 5700 Series]> [attached!] on vgapci0
error: [drm:pid1057:radeon_gem_object_create] *ERROR* Failed to allocate GEM object (9175040, 2, 4096, -12)
More information about the Users
mailing list