No HDMI Audio with Radeon HD7750 on Acube Sam460ex AMCC powerpc 460ex board

Julian Margetson runaway at candw.ms
Mon Mar 9 02:47:21 PDT 2015


The issues get worse with the Kernel 4.0-rc1-3 versions.
Both Radeon HD6750 and HD7750  oops if HDMI is active but boot with dvi .
I had tried a bisect on 4.0.0-rc1 but could not get it finished.

Kernel wont compile after 10th bisect

. drivers/built-in.o: In function `drm_mode_atomic_ioctl': 
(.text+0x865dc): undefined reference to `__get_user_bad' make: *** 
[vmlinux] Error 1 root at julian-VirtualBox:/usr

/src/linux# git bisect log git bisect start # bad: 
[c517d838eb7d07bbe9507871fab3931deccff539] Linux 4.0-rc1 git bisect bad 
c517d838eb7d07bbe9507871fab3931deccff539 # good: 
[bfa76d49576599a4b9f9b7a71f23d73d6dcff735] Linux 3.19 git bisect good 
bfa76d49576599a4b9f9b7a71f23d73d6dcff735 # good: 
[02f1f2170d2831b3233e91091c60a66622f29e82] kernel.h: remove ancient 
__FUNCTION__ hack git bisect good 
02f1f2170d2831b3233e91091c60a66622f29e82 # bad: 
[796e1c55717e9a6ff5c81b12289ffa1ffd919b6f] Merge branch 'drm-next' of 
git://people.freedesktop.org/~airlied/linux git bisect bad 
796e1c55717e9a6ff5c81b12289ffa1ffd919b6f # good: 
[9682ec9692e5ac11c6caebd079324e727b19e7ce] Merge tag 
'driver-core-3.20-rc1' of 
git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core git 
bisect good 9682ec9692e5ac11c6caebd079324e727b19e7ce # good: 
[a9724125ad014decf008d782e60447c811391326] Merge tag 'tty-3.20-rc1' of 
git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty git bisect good 
a9724125ad014decf008d782e60447c811391326 # good: 
[f43dff0ee00a259f524ce17ba4f8030553c66590] Merge tag 
'drm-amdkfd-next-fixes-2015-01-25' of 
git://people.freedesktop.org/~gabbayo/linux into drm-next git bisect 
good f43dff0ee00a259f524ce17ba4f8030553c66590 # bad: 
[cffe1e89dc9bf541a39d9287ced7c5addff07084] drm: sti: HDMI add audio 
infoframe git bisect bad cffe1e89dc9bf541a39d9287ced7c5addff07084 # 
good: [2f5b4ef15c60bc5292a3f006c018acb3da53737b] Merge tag 
'drm/tegra/for-3.20-rc1' of git://anongit.freedesktop.org/tegra/linux 
into drm-next git bisect good 2f5b4ef15c60bc5292a3f006c018acb3da53737b # 
bad: [865844448ce80ccd714793e9ba4140d7ae214229] drm/udl: optimize 
udl_compress_hline16 (v2) git bisect bad 
865844448ce80ccd714793e9ba4140d7ae214229 # bad: 
[d47df63393ed81977e0f6435988d9cbd70c867f7] drm/panel: simple: Add AVIC 
TM070DDH03 panel support git bisect bad 
d47df63393ed81977e0f6435988d9cbd70c867f7 # bad: 
[9469244d869623e8b54d9f3d4d00737e377af273] drm/atomic: Fix potential use 
of state after free git bisect bad 9469244d869623e8b54d9f3d4d00737e377af273
git bisect skip There are only 'skip'ped commits left to test. The first 
bad commit could be any of: b486e0e6d599b9ca8667fb9a7d49b7383ee963c7 
eab3bbeffd152125ae0f90863b8e9bc8eef49423 
960cd9d4fef6dd9e235c0e5c0d4ed027f8a48025 
f02ad907cd9e7fe3a6405d2d005840912f1ed258 
6a425c2a9b37ca3d2c37e3c1cdf973dba53eaa79 
ee0a89cf3c2c550e6d877dda21dd2947afb90cb6 
92890583627ee2a0518e55b063fcff86826fef96 
95d6eb3b134e1826ed04cc92b224d93de13e281f 
9469244d869623e8b54d9f3d4d00737e377af273 We cannot bisect more!

[    6.221759] snd_hda_intel 0001:81:00.1: enabling device (0000 -> 0002)
[    6.249169] snd_hda_intel 0001:81:00.1: Force to snoop mode by module option
[    6.276522] ppc4xx_setup_msi_irqs: fail allocating msi interrupt

  * Setting sensors limits       #[240G
  * Setting up X socket directories...       #[240G
[   28.336533] Unable to handle kernel paging request for data at address 0x00000008
[   28.352724] Faulting instruction address: 0xc04a4d10
[   30.386494] Oops: Kernel access of bad area, sig: 11 [#1]
[   30.392213] PREEMPT Canyonlands
[   30.395536] Modules linked in:
[   30.398771] CPU: 0 PID: 2372 Comm: Xorg Not tainted 4.0.0-rc3-Sam460ex #1
[   30.405912] task: eda9f580 ti: ee6d0000 task.ti: ee6d0000
[   30.411596] NIP: c04a4d10 LR: c03e6818 CTR: c03d7938
[   30.416822] REGS: ee6d1c50 TRAP: 0300   Not tainted  (4.0.0-rc3-Sam460ex)
[   30.423964] MSR: 00029000 <CE,EE,ME>  CR: 24004442  XER: 00000000
[   30.430501] DEAR: 00000008 ESR: 00000000
GPR00: c03e6818 ee6d1d00 eda9f580 eea9c000 00000000 0000000f ee6d1be8 00000000
GPR08: 0000f60b 00000000 eeac8400 ee6d1cc0 28004422 b7b95ff8 b8214258 b8214590
GPR16: 00000000 ffffffff 00000000 ee6d1e18 eeac8578 ee4ed300 00000001 00004000
GPR24: 00004000 c075acc8 fffffff2 00000000 eea9c000 00000001 00000001 eeb6c000
[   30.465032] NIP [c04a4d10] radeon_audio_enable+0x4/0x18
[   30.470538] LR [c03e6818] radeon_dvi_detect+0x388/0x3ac
[   30.476030] Call Trace:
[   30.487799] [ee6d1d00] [c03e6818] radeon_dvi_detect+0x388/0x3ac (unreliable)
[   30.504497] [ee6d1d30] [c0391a90] drm_helper_probe_single_connector_modes_merge_bits+0xf4/0x434
[   30.523217] [ee6d1d70] [c03adc98] drm_mode_getconnector+0xe4/0x330
[   30.539561] [ee6d1e10] [c03a0988] drm_ioctl+0x348/0x464
[   30.554828] [ee6d1ed0] [c00d0aac] do_vfs_ioctl+0x52c/0x6e8
[   30.570238] [ee6d1f20] [c00d0ca8] SyS_ioctl+0x40/0x68
[   30.585162] [ee6d1f40] [c000ab04] ret_from_syscall+0x0/0x3c
[   30.600748] --- interrupt: c01 at 0x6fae92bc
[   30.600748]     LR = 0x6fae91e0
[   30.628444] Instruction dump:
[   30.641700] 8129012c 806a0018 2f890000 419e0018 81290004 2f890000 419e000c 7d2903a6
[   30.660422] 4e800420 38600000 4e800020 81231cd8 <81290008> 2f890000 4d9e0020 7d2903a6
[   30.823766] ---[ end trace d6c8f96d5427e5b1 ]---
[   30.828383]





On 3/8/2015 3:14 PM, Julian Margetson wrote:
> Thanks.
> Proper firmware now included and loading ok.
> hda audio driver is  loaded and the various outputs options are showing.
> but still no audio out. Can confirm that audio does work with a Radeon 
> HD6670.
> Still same error with the Radeon HD7750
> [drm:dce6_audio_get_pin] *ERROR* No connected audio pins found!
> Julian
>
> On 3/8/2015 1:45 PM, Alex Deucher wrote:
>> On Sun, Mar 8, 2015 at 9:33 AM, Julian Margetson<runaway at candw.ms>  wrote:
>>> With Kernel 3.19  HDMI audio works ok with Radeon HD 6670 but not Radeon HD
>>> 7750 on
>>> Acube Sam460ex AMCC powerpc 460ex board.Also a problem with direct firmware
>>> loading or the radeon firmware which loads ok for the Radeon HD 6670 .
>> Make sure you've included the proper firmware images.  Note the case.
>> We switched to a new firmware format for SI and newer and the firmware
>> files names are now lower case (new verde_pfp.bin vs old
>> VERDE_pfp.bin).  The older asics still use the old firmware format
>> with the upper case names.
>>
>> As to the audio, I've never tested it on non-x86.  Make sure the hda
>> audio driver is loaded correctly.
>>
>> Alex
>
> [    0.000000] Using Canyonlands machine description
> [    0.000000] Initializing cgroup subsys cpu
> [    0.000000] Linux version 3.19.1-Sam460ex (root at julian-VirtualBox) (gcc version 4.8.2 (Ubuntu 4.8.2-16ubuntu3) ) #3 PREEMPT Sun Mar 8 14:49:11 AST 2015
>
> [    2.562014] Linux agpgart interface v0.103
> [    2.566342] [drm] Initialized drm 1.1.0 20060810
> [    2.571237] [drm] radeon kernel modesetting enabled.
> [    2.577292] [drm] initializing kernel modesetting (VERDE 0x1002:0x683F 0x1545:0x7750).
> [    2.585454] [drm] register mmio base: 0xe90000000
> [    2.590235] [drm] register mmio size: 262144
> [    2.925651] ATOM BIOS: C44501
> [    2.928918] radeon 0001:81:00.0: VRAM: 1024M 0x0000000000000000 - 0x000000003FFFFFFF (1024M used)
> [    2.937840] radeon 0001:81:00.0: GTT: 1024M 0x0000000040000000 - 0x000000007FFFFFFF
> [    2.945524] [drm] Detected VRAM RAM=1024M, BAR=256M
> [    2.950417] [drm] RAM width 128bits DDR
> [    2.954459] [TTM] Zone  kernel: Available graphics memory: 379228 kiB
> [    2.960944] [TTM] Zone highmem: Available graphics memory: 1034588 kiB
> [    2.967496] [TTM] Initializing pool allocator
> [    2.971889] [TTM] Initializing DMA pool allocator
> [    2.976725] [drm] radeon: 1024M of VRAM memory ready
> [    2.981723] [drm] radeon: 1024M of GTT memory ready.
> [    2.986764] [drm] Loading verde Microcode
> [    2.990826] [drm] Internal thermal controller with fan control
> [    2.996969] [drm] probing gen 2 caps for device aaa1:bed1 = 18cc41/0
> [    3.051126] [drm] radeon: dpm initialized
> [    3.055331] [drm] GART: num cpu pages 262144, num gpu pages 262144
> [    3.066908] [drm] probing gen 2 caps for device aaa1:bed1 = 18cc41/0
> [    3.106472] [drm] PCIE GART of 1024M enabled (table at 0x0000000000277000).
> [    3.113800] radeon 0001:81:00.0: WB enabled
> [    3.118041] radeon 0001:81:00.0: fence driver on ring 0 use gpu addr 0x0000000040000c00 and cpu addr 0xffc01c00
> [    3.128158] radeon 0001:81:00.0: fence driver on ring 1 use gpu addr 0x0000000040000c04 and cpu addr 0xffc01c04
> [    3.138280] radeon 0001:81:00.0: fence driver on ring 2 use gpu addr 0x0000000040000c08 and cpu addr 0xffc01c08
> [    3.148401] radeon 0001:81:00.0: fence driver on ring 3 use gpu addr 0x0000000040000c0c and cpu addr 0xffc01c0c
> [    3.158522] radeon 0001:81:00.0: fence driver on ring 4 use gpu addr 0x0000000040000c10 and cpu addr 0xffc01c10
> [    3.189794] radeon 0001:81:00.0: fence driver on ring 5 use gpu addr 0x0000000000075a18 and cpu addr 0xf90b5a18
> [    3.199930] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
> [    3.206569] [drm] Driver supports precise vblank timestamp query.
> [    3.212689] radeon 0001:81:00.0: radeon: MSI limited to 32-bit
> [    3.218564] ppc4xx_setup_msi_irqs: fail allocating msi interrupt
> [    3.224658] [drm] radeon: irq initialized.
> [    3.984480] [drm:r600_ring_test] *ERROR* radeon: ring 0 test failed (scratch(0x850C)=0xCAFEDEAD)
> [    3.993333] radeon 0001:81:00.0: disabling GPU acceleration
> [    4.197974] [drm] Radeon Display Connectors
> [    4.202563] [drm] Connector 0:
> [    4.205677] [drm]   HDMI-A-1
> [    4.208671] [drm]   HPD4
> [    4.211250] [drm]   DDC: 0x6570 0x6570 0x6574 0x6574 0x6578 0x6578 0x657c 0x657c
> [    4.218692] [drm]   Encoders:
> [    4.221703] [drm]     DFP1: INTERNAL_UNIPHY2
> [    4.225996] [drm] Connector 1:
> [    4.229062] [drm]   DVI-I-1
> [    4.231864] [drm]   HPD2
> [    4.234412] [drm]   DDC: 0x6560 0x6560 0x6564 0x6564 0x6568 0x6568 0x656c 0x656c
> [    4.241831] [drm]   Encoders:
> [    4.244809] [drm]     DFP2: INTERNAL_UNIPHY
> [    4.249011] [drm]     CRT1: INTERNAL_KLDSCP_DAC1
> [    4.401128] [drm] fb mappable at 0x80478000
> [    4.405348] [drm] vram apper at 0x80000000
> [    4.409461] [drm] size 8294400
> [    4.412526] [drm] fb depth is 24
> [    4.415763] [drm]    pitch is 7680
> [    4.709626] Console: switching to colour frame buffer device 240x67
> [    4.787660] radeon 0001:81:00.0: fb0: radeondrmfb frame buffer device
> [    4.794476] radeon 0001:81:00.0: registered panic notifier
> [    4.805066] [drm] Initialized radeon 2.40.0 20080528 for 0001:81:00.0 on minor 0
>
> [   29.867280] [drm:dce6_audio_get_pin] *ERROR* No connected audio pins found!
>>> [    2.561952] Linux agpgart interface v0.103
>>> [    2.566290] [drm] Initialized drm 1.1.0 20060810
>>> [    2.571164] [drm] radeon kernel modesetting enabled.
>>> [    2.577230] [drm] initializing kernel modesetting (VERDE 0x1002:0x683F
>>> 0x1545:0x7750).
>>> [    2.585379] [drm] register mmio base: 0xe90000000
>>> [    2.590143] [drm] register mmio size: 262144
>>> [    2.925520] ATOM BIOS: C44501
>>> [    2.928803] radeon 0001:81:00.0: VRAM: 1024M 0x0000000000000000 -
>>> 0x000000003FFFFFFF (1024M used)
>>> [    2.937725] radeon 0001:81:00.0: GTT: 1024M 0x0000000040000000 -
>>> 0x000000007FFFFFFF
>>> [    2.945401] [drm] Detected VRAM RAM=1024M, BAR=256M
>>> [    2.950294] [drm] RAM width 128bits DDR
>>> [    2.954331] [TTM] Zone  kernel: Available graphics memory: 379212 kiB
>>> [    2.960822] [TTM] Zone highmem: Available graphics memory: 1034572 kiB
>>> [    2.967373] [TTM] Initializing pool allocator
>>> [    2.971766] [TTM] Initializing DMA pool allocator
>>> [    2.976604] [drm] radeon: 1024M of VRAM memory ready
>>> [    2.981610] [drm] radeon: 1024M of GTT memory ready.
>>> [    2.986651] [drm] Loading verde Microcode
>>> [    2.990757] radeon 0001:81:00.0: Direct firmware load for
>>> radeon/verde_pfp.bin failed with error -2
>>> [    2.999908] radeon 0001:81:00.0: Direct firmware load for
>>> radeon/verde_me.bin failed with error -2
>>> [    3.008995] radeon 0001:81:00.0: Direct firmware load for
>>> radeon/verde_ce.bin failed with error -2
>>> [    3.018041] radeon 0001:81:00.0: Direct firmware load for
>>> radeon/verde_rlc.bin failed with error -2
>>> [    3.027184] radeon 0001:81:00.0: Direct firmware load for
>>> radeon/verde_mc.bin failed with error -2
>>> [    3.036203] [drm] radeon/VERDE_mc2.bin: 31500 bytes
>>> [    3.041171] radeon 0001:81:00.0: Direct firmware load for
>>> radeon/verde_smc.bin failed with error -2
>>> [    3.050278] [drm] Internal thermal controller with fan control
>>> [    3.056448] [drm] probing gen 2 caps for device aaa1:bed1 = 18cc41/0
>>> [    3.110566] [drm] radeon: dpm initialized
>>> [    3.114788] [drm] GART: num cpu pages 262144, num gpu pages 262144
>>> [    3.126445] [drm] probing gen 2 caps for device aaa1:bed1 = 18cc41/0
>>> [    3.171357] [drm] PCIE GART of 1024M enabled (table at
>>> 0x0000000000277000).
>>> [    3.178681] radeon 0001:81:00.0: WB enabled
>>> [    3.182925] radeon 0001:81:00.0: fence driver on ring 0 use gpu addr
>>> 0x0000000040000c00 and cpu addr 0xffc01c00
>>> [    3.193045] radeon 0001:81:00.0: fence driver on ring 1 use gpu addr
>>> 0x0000000040000c04 and cpu addr 0xffc01c04
>>> [    3.203167] radeon 0001:81:00.0: fence driver on ring 2 use gpu addr
>>> 0x0000000040000c08 and cpu addr 0xffc01c08
>>> [    3.213287] radeon 0001:81:00.0: fence driver on ring 3 use gpu addr
>>> 0x0000000040000c0c and cpu addr 0xffc01c0c
>>> [    3.223409] radeon 0001:81:00.0: fence driver on ring 4 use gpu addr
>>> 0x0000000040000c10 and cpu addr 0xffc01c10
>>> [    3.255059] radeon 0001:81:00.0: fence driver on ring 5 use gpu addr
>>> 0x0000000000075a18 and cpu addr 0xf90b5a18
>>> [    3.265199] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
>>> [    3.271837] [drm] Driver supports precise vblank timestamp query.
>>> [    3.277957] radeon 0001:81:00.0: radeon: MSI limited to 32-bit
>>> [    3.283833] ppc4xx_setup_msi_irqs: fail allocating msi interrupt
>>> [    3.289927] [drm] radeon: irq initialized.
>>> [    4.047989] [drm:r600_ring_test] *ERROR* radeon: ring 0 test failed
>>> (scratch(0x850C)=0xCAFEDEAD)
>>> [    4.056845] radeon 0001:81:00.0: disabling GPU acceleration
>>> [    4.261053] [drm] Radeon Display Connectors
>>> [    4.265626] [drm] Connector 0:
>>> [    4.268744] [drm]   HDMI-A-1
>>> [    4.271735] [drm]   HPD4
>>> [    4.274313] [drm]   DDC: 0x6570 0x6570 0x6574 0x6574 0x6578 0x6578 0x657c
>>> 0x657c
>>> [    4.281755] [drm]   Encoders:
>>> [    4.284768] [drm]     DFP1: INTERNAL_UNIPHY2
>>> [    4.289060] [drm] Connector 1:
>>> [    4.292125] [drm]   DVI-I-1
>>> [    4.294929] [drm]   HPD2
>>> [    4.297476] [drm]   DDC: 0x6560 0x6560 0x6564 0x6564 0x6568 0x6568 0x656c
>>> 0x656c
>>> [    4.304894] [drm]   Encoders:
>>> [    4.307872] [drm]     DFP2: INTERNAL_UNIPHY
>>> [    4.312064] [drm]     CRT1: INTERNAL_KLDSCP_DAC1
>>> [    4.465445] [drm] fb mappable at 0x80478000
>>> [    4.469662] [drm] vram apper at 0x80000000
>>> [    4.473775] [drm] size 8294400
>>> [    4.476840] [drm] fb depth is 24
>>> [    4.480084] [drm]    pitch is 7680
>>> [    4.759376] Console: switching to colour frame buffer device 240x67
>>> [    4.838736] radeon 0001:81:00.0: fb0: radeondrmfb frame buffer device
>>> [    4.845560] radeon 0001:81:00.0: registered panic notifier
>>> [    4.856007] [drm] Initialized radeon 2.40.0 20080528 for 0001:81:00.0 on
>>> minor 0
>>>
>>> [   31.335598] [drm:dce6_audio_get_pin] *ERROR* No connected audio pins
>>> found!
>>>
>>>
>>>
>>> _______________________________________________
>>> dri-devel mailing list
>>> dri-devel at lists.freedesktop.org
>>> http://lists.freedesktop.org/mailman/listinfo/dri-devel
>>>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20150309/eb266b5b/attachment-0001.html>


More information about the dri-devel mailing list