[Bug 67435] HDMI audio silent on Radeon Mobility HD4650

2016-11-07 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=67435

madbiologist  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|NEW |RESOLVED

-- 
You are receiving this mail because:
You are the assignee for the bug.
-- next part --
An HTML attachment was scrubbed...
URL: 



[Bug 67435] HDMI audio silent on Radeon Mobility HD4650

2013-07-28 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=67435

--- Comment #1 from Alex Deucher  ---
Can you bisect?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-- next part --
An HTML attachment was scrubbed...
URL: 



[Bug 67435] HDMI audio silent on Radeon Mobility HD4650

2013-07-28 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=67435

--- Comment #2 from Kris Scott  ---
Will do, gonna take some time though. Kernel compiling is not the fastest.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-- next part --
An HTML attachment was scrubbed...
URL: 



[Bug 67435] HDMI audio silent on Radeon Mobility HD4650

2013-07-29 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=67435

--- Comment #3 from Rafa? Mi?ecki  ---
You can also compare output of
avivotool regs hdmi
when using 3.9 and 3.10. That should give some hint.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-- next part --
An HTML attachment was scrubbed...
URL: 



[Bug 67435] HDMI audio silent on Radeon Mobility HD4650

2013-07-29 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=67435

--- Comment #4 from Kris Scott  ---
Bisect complete:

b1f6f47e3e33c4a74534f1301aca241ffabbb3a0 is the first bad commit
commit b1f6f47e3e33c4a74534f1301aca241ffabbb3a0
Author: Alex Deucher 
Date:   Thu Apr 18 10:50:55 2013 -0400

drm/radeon: clean up audio dto programming

Split into DCE2/3 and DCE4/5 variants. Still todo is to
calculate the DTO dividers properly.  Add proper formula
to the comments.

Reviewed-by: Christian K?nig 
Signed-off-by: Alex Deucher 

:04 04 b60cf880f2227596705391e71a56aaa12e1eb61c
a723f4928d1a20bcd0b5759077360f9342c9eecc Mdrivers

-- 
You are receiving this mail because:
You are the assignee for the bug.
-- next part --
An HTML attachment was scrubbed...
URL: 



[Bug 67435] HDMI audio silent on Radeon Mobility HD4650

2013-07-29 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=67435

--- Comment #5 from Rafa? Mi?ecki  ---
As I suggested earlier, can you provide output of "avivotool regs hdmi" before
and after this patch?

This way we will sure if registers are programmed and with what values.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-- next part --
An HTML attachment was scrubbed...
URL: 



[Bug 67435] HDMI audio silent on Radeon Mobility HD4650

2013-07-29 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=67435

--- Comment #6 from Kris Scott  ---
Good:

RADEON_DAC_CNTL
RADEON_DAC_EXT_CNTL
RADEON_DAC_MACRO_CNTL
RADEON_DAC_CNTL2
RADEON_TV_DAC_CNTL
RADEON_DISP_OUTPUT_CNTL
RADEON_CONFIG_MEMSIZE
RADEON_AUX_SC_CNTL804df8a8
RADEON_CRTC_EXT_CNTL
RADEON_CRTC_GEN_CNTL
RADEON_CRTC2_GEN_CNTL
RADEON_DEVICE_ID
RADEON_DISP_MISC_CNTL
RADEON_GPIO_MONID
RADEON_GPIO_MONIDB
RADEON_GPIO_CRT2_DDC
RADEON_GPIO_DVI_DDC
RADEON_GPIO_VGA_DDC
RADEON_LVDS_GEN_CNTL
RADEON_LVDS_PLL_CNTL
RADEON_FP_GEN_CNTL
RADEON_FP2_GEN_CNTL
RADEON_PPLL_CNTL
RADEON_PPLL_REF_DIV
RADEON_PPLL_DIV_3
RADEON_PIXCLKS_CNTL
RADEON_P2PLL_CNTL
RADEON_P2PLL_REF_DIV
RADEON_P2PLL_DIV_0
RADEON_VCLK_ECP_CNTL
RADEON_MEM_TIMING_CNTL
RADEON_TMDS_PLL_CNTL
RADEON_TMDS_TRANSMITTER_CNTL
RADEON_CRTC_MORE_CNTL
RADEON_FP_H_SYNC_STRT_WID
RADEON_FP_V_SYNC_STRT_WID
RADEON_FP_CRTC_H_TOTAL_DISP
RADEON_FP_CRTC_V_TOTAL_DISP
RADEON_FP_HORZ_STRETCH
RADEON_FP_VERT_STRETCH
RADEON_FP_HORZ_VERT_ACTIVE
RADEON_CRTC_H_TOTAL_DISP0004
RADEON_CRTC_H_SYNC_STRT_WID18b8bebc
RADEON_CRTC_V_TOTAL_DISPfffe0a02
RADEON_CRTC_V_SYNC_STRT_WID
RADEON_CRTC2_H_TOTAL_DISP020f
RADEON_CRTC2_H_SYNC_STRT_WID
RADEON_CRTC2_V_TOTAL_DISP0100
RADEON_CRTC2_V_SYNC_STRT_WID0002

-
Bad:

RADEON_DAC_CNTL
RADEON_DAC_EXT_CNTL
RADEON_DAC_MACRO_CNTL
RADEON_DAC_CNTL2
RADEON_TV_DAC_CNTL
RADEON_DISP_OUTPUT_CNTL
RADEON_CONFIG_MEMSIZE
RADEON_AUX_SC_CNTLc045fab8
RADEON_CRTC_EXT_CNTL
RADEON_CRTC_GEN_CNTL
RADEON_CRTC2_GEN_CNTL
RADEON_DEVICE_ID
RADEON_DISP_MISC_CNTL
RADEON_GPIO_MONID
RADEON_GPIO_MONIDB
RADEON_GPIO_CRT2_DDC
RADEON_GPIO_DVI_DDC
RADEON_GPIO_VGA_DDC
RADEON_LVDS_GEN_CNTL
RADEON_LVDS_PLL_CNTL
RADEON_FP_GEN_CNTL
RADEON_FP2_GEN_CNTL
RADEON_PPLL_CNTL
RADEON_PPLL_REF_DIV
RADEON_PPLL_DIV_3
RADEON_PIXCLKS_CNTL
RADEON_P2PLL_CNTL
RADEON_P2PLL_REF_DIV
RADEON_P2PLL_DIV_0
RADEON_VCLK_ECP_CNTL
RADEON_MEM_TIMING_CNTL
RADEON_TMDS_PLL_CNTL
RADEON_TMDS_TRANSMITTER_CNTL
RADEON_CRTC_MORE_CNTL
RADEON_FP_H_SYNC_STRT_WID
RADEON_FP_V_SYNC_STRT_WID
RADEON_FP_CRTC_H_TOTAL_DISP
RADEON_FP_CRTC_V_TOTAL_DISP
RADEON_FP_HORZ_STRETCH
RADEON_FP_VERT_STRETCH
RADEON_FP_HORZ_VERT_ACTIVE
RADEON_CRTC_H_TOTAL_DISP0004
RADEON_CRTC_H_SYNC_STRT_WID18b836bc
RADEON_CRTC_V_TOTAL_DISPfffe0a02
RADEON_CRTC_V_SYNC_STRT_WID
RADEON_CRTC2_H_TOTAL_DISP020f
RADEON_CRTC2_H_SYNC_STRT_WID
RADEON_CRTC2_V_TOTAL_DISP0100
RADEON_CRTC2_V_SYNC_STRT_WID0002

-- 
You are receiving this mail because:
You are the assignee for the bug.
-- next part --
An HTML attachment was scrubbed...
URL: 



[Bug 67435] HDMI audio silent on Radeon Mobility HD4650

2013-07-29 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=67435

--- Comment #7 from Rafa? Mi?ecki  ---
Err, did you call "avivotool regs hdmi" as I asked?

It should return something like:

Audio clocks:
EVERGREEN_AUDIO_PLL1_MUL
EVERGREEN_AUDIO_PLL1_DIV0001
EVERGREEN_AUDIO_PLL1_UNK0070

which is the most interesting part for us.

Of course on R6xx hardware it won't start with EVERGREEN_*

-- 
You are receiving this mail because:
You are the assignee for the bug.
-- next part --
An HTML attachment was scrubbed...
URL: 



[Bug 67435] HDMI audio silent on Radeon Mobility HD4650

2013-07-29 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=67435

--- Comment #8 from Kris Scott  ---
Oops, sorry, here you go.

Good:

Audio clocks:
R600_AUDIO_PLL1_MUL
R600_AUDIO_PLL1_DIV
R600_AUDIO_PLL2_MUL00249f00
R600_AUDIO_PLL2_DIV00714be8
R600_AUDIO_CLK_SRCSEL0001

Audio general:
R600_AUDIO_ENABLE81f0
R600_AUDIO_TIMING0170

Audio params:
R600_AUDIO_VENDOR_ID1002aa01
R600_AUDIO_REVISION_ID00100100
R600_AUDIO_ROOT_NODE_COUNT00010001
R600_AUDIO_NID1_NODE_COUNT00020002
R600_AUDIO_NID1_TYPE0001
R600_AUDIO_SUPPORTED_SIZE_RATE00020070
R600_AUDIO_SUPPORTED_CODEC0001
R600_AUDIO_SUPPORTED_POWER_STATES0009
R600_AUDIO_NID2_CAPS0201
R600_AUDIO_NID3_CAPS00400381
R600_AUDIO_NID3_PIN_CAPS0094

Audio conn list:
R600_AUDIO_CONN_LIST_LEN0001
R600_AUDIO_CONN_LIST08060402

Audio verbs:
R600_AUDIO_RATE_BPS_CHANNEL4011
R600_AUDIO_PLAYING0010
R600_AUDIO_IMPLEMENTATION_ID104d2e00
R600_AUDIO_CONFIG_DEFAULT18560010
R600_AUDIO_PIN_SENSE7fff
R600_AUDIO_PIN_WIDGET_CNTL40404040
R600_AUDIO_STATUS_BITS0001

HDMI block at 0x7400:
74000011 (17)
7404 (0)
74080010 (16)
740c0001 (65536)
7410 (0)
7414 (0)
7418 (0)
741c (0)
7420 (0)
7424 (0)
7428 (0)
742c (0)
7430 (0)
7434 (0)
7438 (0)
743c (0)
7440 (0)
7444 (0)
7448 (0)
744c (0)
7450 (0)
7454 (0)
7458 (0)
745c (0)
74600200 (33554432)
7464 (0)
7468 (0)
746c (0)
7470 (0)
7474 (0)
7478 (0)
747c (0)
7480 (0)
7484 (0)
7488 (0)
748c (0)
7490 (0)
7494 (0)
7498 (0)
749c (0)
74a0 (0)
74a4 (0)
74a8 (0)
74ac (0)
74b0 (0)
74b4 (0)
74b8 (0)
74bc (0)
74c0 (0)
74c4 (0)
74c8 (0)
74cc0170 (368)
74d0 (0)
74d41000 (268435456)
74d8 (0)
74dc (0)
74e0 (0)
74e4 (0)
74e8 (0)
74ec (0)

HDMI block at 0x7800:
78000011 (17)
78040001 (65536)
780800030010 (196624)
780c1000 (4096)
78100031 (49)
78140033 (51)
78180202 (514)
781c (0)
7820 (0)
7824 (0)
7828 (0)
782c (0)
7830 (0)
7834 (0)
7838 (0)
783c (0)
7840 (0)
7844 (0)
7848 (0)
784c (0)
7850 (0)
785400080065 (524389)
78580004 (4)
785c (0)
7860 (0)
7864 (0)
7868 (0)
786c (0)
7870 (0)
7874 (0)
7878 (0)
787c (0)
7880 (0)
7884 (0)
7888 (0)
788c (0)
7890 (0)
7894 (0)
7898 (0)
789c (0)
78a0 (0)
78a4 (0)
78a8 (0)
78ac1220a000 (304128000)
78b01000 (4096)
78b414244000 (33792)
78b81880 (6272)
78bc1220a000 (304128000)
78c01800 (6144)
78c414242000 (337911808)
78c81880 (6272)
78cc0170 (368)
78d0 (0)
78d4 (0)
78d80002 (2)
78dc1100 (4352)
78e000ff (16777215)
78e4007f (8388607)
78e80001 (1)
78ec0001 (1)


Bad:

Audio clocks:
R600_AUDIO_PLL1_MUL00249f00
R600_AUDIO_PLL1_DIV00714be8
R600_AUDIO_PLL2_MUL
R600_AUDIO_PLL2_DIV
R600_AUDIO_CLK_SRCSEL

Audio general:
R600_AUDIO_ENABLE811000f0
R600_AUDIO_TIMING0070

Audio params:
R600_AUDIO_VENDOR_ID1002aa01
R600_AUDIO_REVISION_ID00100100
R600_AUDIO_ROOT_NODE_COUNT00010001
R600_AUDIO_NID1_NODE_COUNT00020002
R600_AUDIO_NID1_TYPE0001
R600_AUDIO_SUPPORTED_SIZE_RATE00020070
R600_AUDIO_SUPPORTED_CODEC0001
R600_AUDIO_SUPPORTED_POWER_STATES0009
R600_AUDIO_NID2_CAPS0201
R600_AUDIO_NID3_CAPS00400381
R600_AUDIO_NID3_PIN_CAPS

[Bug 67435] HDMI audio silent on Radeon Mobility HD4650

2013-07-29 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=67435

--- Comment #9 from Rafa? Mi?ecki  ---
@Kris: thank you for you debugging! I hope this is last debugging request.

Can you boot not working (bad) kernel, connect HDMI display and then type:

avivotool regset 0x0524 0x00249f00
avivotool regset 0x0528 0x00714be8
avivotool regset 0x0534 0x0001

I hope this will resume audio on your card, but I just want to be sure, before
asking Alex for getting more details on that.

If you could confirm that above 3 commands fix audio for you, it'd be great.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-- next part --
An HTML attachment was scrubbed...
URL: 



[Bug 67435] HDMI audio silent on Radeon Mobility HD4650

2013-07-29 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=67435

--- Comment #10 from Kris Scott  ---
Yes, those fixed it. Thank you very much.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-- next part --
An HTML attachment was scrubbed...
URL: 



[Bug 67435] HDMI audio silent on Radeon Mobility HD4650

2013-07-29 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=67435

--- Comment #11 from Alex Deucher  ---
Can you tell be the values of 0x7340, 0x7344, 0x520, and 0x530?
avivotool regmatch 0x7340
avivotool regmatch 0x7344
avivotool regmatch 0x520
avivotool regmatch 0x530

-- 
You are receiving this mail because:
You are the assignee for the bug.
-- next part --
An HTML attachment was scrubbed...
URL: 



[Bug 67435] HDMI audio silent on Radeon Mobility HD4650

2013-07-29 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=67435

--- Comment #12 from Kris Scott  ---
0x73400x001b0018 (1769496)
0x73440x0070 (112)
0x5200x0070 (112)
0x5300x0070 (112)

-- 
You are receiving this mail because:
You are the assignee for the bug.
-- next part --
An HTML attachment was scrubbed...
URL: 



[Bug 67435] HDMI audio silent on Radeon Mobility HD4650

2013-07-29 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=67435

--- Comment #13 from Kris Scott  ---
That is also after I had changed the registers that Rafal asked me to change,
if it makes any difference.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-- next part --
An HTML attachment was scrubbed...
URL: 



[Bug 67435] HDMI audio silent on Radeon Mobility HD4650

2013-07-29 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=67435

--- Comment #14 from Alex Deucher  ---
Can you boot back into the broken state and try this alternative fix:
avivotool regset 0x7344 0x0170

-- 
You are receiving this mail because:
You are the assignee for the bug.
-- next part --
An HTML attachment was scrubbed...
URL: 



[Bug 67435] HDMI audio silent on Radeon Mobility HD4650

2013-07-30 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=67435

--- Comment #15 from Kris Scott  ---
Tried it, that did not fix the sound.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-- next part --
An HTML attachment was scrubbed...
URL: 



[Bug 67435] HDMI audio silent on Radeon Mobility HD4650

2013-07-30 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=67435

--- Comment #16 from Alex Deucher  ---
Created attachment 83304
  --> https://bugs.freedesktop.org/attachment.cgi?id=83304&action=edit
fix

This patch should fix it.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-- next part --
An HTML attachment was scrubbed...
URL: 



[Bug 67435] HDMI audio silent on Radeon Mobility HD4650

2013-07-30 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=67435

--- Comment #17 from Christian K?nig  ---
It's just a guess, but could you just try the following (without any patches):

avivotool regset 0x0514 0x00249f00

Does that helps as well?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-- next part --
An HTML attachment was scrubbed...
URL: 



[Bug 67435] HDMI audio silent on Radeon Mobility HD4650

2013-07-31 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=67435

--- Comment #18 from Kris Scott  ---
Alex: Checking in to confirm that your patch fixed the problem.

Christian: Changing that register had no effect.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-- next part --
An HTML attachment was scrubbed...
URL: 



[Bug 67435] HDMI audio silent on Radeon Mobility HD4650

2013-07-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=67435

--- Comment #1 from Alex Deucher  ---
Can you bisect?

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 67435] HDMI audio silent on Radeon Mobility HD4650

2013-07-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=67435

--- Comment #2 from Kris Scott  ---
Will do, gonna take some time though. Kernel compiling is not the fastest.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 67435] HDMI audio silent on Radeon Mobility HD4650

2013-07-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=67435

--- Comment #3 from Rafał Miłecki  ---
You can also compare output of
avivotool regs hdmi
when using 3.9 and 3.10. That should give some hint.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 67435] HDMI audio silent on Radeon Mobility HD4650

2013-07-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=67435

--- Comment #4 from Kris Scott  ---
Bisect complete:

b1f6f47e3e33c4a74534f1301aca241ffabbb3a0 is the first bad commit
commit b1f6f47e3e33c4a74534f1301aca241ffabbb3a0
Author: Alex Deucher 
Date:   Thu Apr 18 10:50:55 2013 -0400

drm/radeon: clean up audio dto programming

Split into DCE2/3 and DCE4/5 variants. Still todo is to
calculate the DTO dividers properly.  Add proper formula
to the comments.

Reviewed-by: Christian König 
Signed-off-by: Alex Deucher 

:04 04 b60cf880f2227596705391e71a56aaa12e1eb61c
a723f4928d1a20bcd0b5759077360f9342c9eecc Mdrivers

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 67435] HDMI audio silent on Radeon Mobility HD4650

2013-07-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=67435

--- Comment #5 from Rafał Miłecki  ---
As I suggested earlier, can you provide output of "avivotool regs hdmi" before
and after this patch?

This way we will sure if registers are programmed and with what values.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 67435] HDMI audio silent on Radeon Mobility HD4650

2013-07-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=67435

--- Comment #6 from Kris Scott  ---
Good:

RADEON_DAC_CNTL
RADEON_DAC_EXT_CNTL
RADEON_DAC_MACRO_CNTL
RADEON_DAC_CNTL2
RADEON_TV_DAC_CNTL
RADEON_DISP_OUTPUT_CNTL
RADEON_CONFIG_MEMSIZE
RADEON_AUX_SC_CNTL804df8a8
RADEON_CRTC_EXT_CNTL
RADEON_CRTC_GEN_CNTL
RADEON_CRTC2_GEN_CNTL
RADEON_DEVICE_ID
RADEON_DISP_MISC_CNTL
RADEON_GPIO_MONID
RADEON_GPIO_MONIDB
RADEON_GPIO_CRT2_DDC
RADEON_GPIO_DVI_DDC
RADEON_GPIO_VGA_DDC
RADEON_LVDS_GEN_CNTL
RADEON_LVDS_PLL_CNTL
RADEON_FP_GEN_CNTL
RADEON_FP2_GEN_CNTL
RADEON_PPLL_CNTL
RADEON_PPLL_REF_DIV
RADEON_PPLL_DIV_3
RADEON_PIXCLKS_CNTL
RADEON_P2PLL_CNTL
RADEON_P2PLL_REF_DIV
RADEON_P2PLL_DIV_0
RADEON_VCLK_ECP_CNTL
RADEON_MEM_TIMING_CNTL
RADEON_TMDS_PLL_CNTL
RADEON_TMDS_TRANSMITTER_CNTL
RADEON_CRTC_MORE_CNTL
RADEON_FP_H_SYNC_STRT_WID
RADEON_FP_V_SYNC_STRT_WID
RADEON_FP_CRTC_H_TOTAL_DISP
RADEON_FP_CRTC_V_TOTAL_DISP
RADEON_FP_HORZ_STRETCH
RADEON_FP_VERT_STRETCH
RADEON_FP_HORZ_VERT_ACTIVE
RADEON_CRTC_H_TOTAL_DISP0004
RADEON_CRTC_H_SYNC_STRT_WID18b8bebc
RADEON_CRTC_V_TOTAL_DISPfffe0a02
RADEON_CRTC_V_SYNC_STRT_WID
RADEON_CRTC2_H_TOTAL_DISP020f
RADEON_CRTC2_H_SYNC_STRT_WID
RADEON_CRTC2_V_TOTAL_DISP0100
RADEON_CRTC2_V_SYNC_STRT_WID0002

-
Bad:

RADEON_DAC_CNTL
RADEON_DAC_EXT_CNTL
RADEON_DAC_MACRO_CNTL
RADEON_DAC_CNTL2
RADEON_TV_DAC_CNTL
RADEON_DISP_OUTPUT_CNTL
RADEON_CONFIG_MEMSIZE
RADEON_AUX_SC_CNTLc045fab8
RADEON_CRTC_EXT_CNTL
RADEON_CRTC_GEN_CNTL
RADEON_CRTC2_GEN_CNTL
RADEON_DEVICE_ID
RADEON_DISP_MISC_CNTL
RADEON_GPIO_MONID
RADEON_GPIO_MONIDB
RADEON_GPIO_CRT2_DDC
RADEON_GPIO_DVI_DDC
RADEON_GPIO_VGA_DDC
RADEON_LVDS_GEN_CNTL
RADEON_LVDS_PLL_CNTL
RADEON_FP_GEN_CNTL
RADEON_FP2_GEN_CNTL
RADEON_PPLL_CNTL
RADEON_PPLL_REF_DIV
RADEON_PPLL_DIV_3
RADEON_PIXCLKS_CNTL
RADEON_P2PLL_CNTL
RADEON_P2PLL_REF_DIV
RADEON_P2PLL_DIV_0
RADEON_VCLK_ECP_CNTL
RADEON_MEM_TIMING_CNTL
RADEON_TMDS_PLL_CNTL
RADEON_TMDS_TRANSMITTER_CNTL
RADEON_CRTC_MORE_CNTL
RADEON_FP_H_SYNC_STRT_WID
RADEON_FP_V_SYNC_STRT_WID
RADEON_FP_CRTC_H_TOTAL_DISP
RADEON_FP_CRTC_V_TOTAL_DISP
RADEON_FP_HORZ_STRETCH
RADEON_FP_VERT_STRETCH
RADEON_FP_HORZ_VERT_ACTIVE
RADEON_CRTC_H_TOTAL_DISP0004
RADEON_CRTC_H_SYNC_STRT_WID18b836bc
RADEON_CRTC_V_TOTAL_DISPfffe0a02
RADEON_CRTC_V_SYNC_STRT_WID
RADEON_CRTC2_H_TOTAL_DISP020f
RADEON_CRTC2_H_SYNC_STRT_WID
RADEON_CRTC2_V_TOTAL_DISP0100
RADEON_CRTC2_V_SYNC_STRT_WID0002

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 67435] HDMI audio silent on Radeon Mobility HD4650

2013-07-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=67435

--- Comment #7 from Rafał Miłecki  ---
Err, did you call "avivotool regs hdmi" as I asked?

It should return something like:

Audio clocks:
EVERGREEN_AUDIO_PLL1_MUL
EVERGREEN_AUDIO_PLL1_DIV0001
EVERGREEN_AUDIO_PLL1_UNK0070

which is the most interesting part for us.

Of course on R6xx hardware it won't start with EVERGREEN_*

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 67435] HDMI audio silent on Radeon Mobility HD4650

2013-07-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=67435

--- Comment #8 from Kris Scott  ---
Oops, sorry, here you go.

Good:

Audio clocks:
R600_AUDIO_PLL1_MUL
R600_AUDIO_PLL1_DIV
R600_AUDIO_PLL2_MUL00249f00
R600_AUDIO_PLL2_DIV00714be8
R600_AUDIO_CLK_SRCSEL0001

Audio general:
R600_AUDIO_ENABLE81f0
R600_AUDIO_TIMING0170

Audio params:
R600_AUDIO_VENDOR_ID1002aa01
R600_AUDIO_REVISION_ID00100100
R600_AUDIO_ROOT_NODE_COUNT00010001
R600_AUDIO_NID1_NODE_COUNT00020002
R600_AUDIO_NID1_TYPE0001
R600_AUDIO_SUPPORTED_SIZE_RATE00020070
R600_AUDIO_SUPPORTED_CODEC0001
R600_AUDIO_SUPPORTED_POWER_STATES0009
R600_AUDIO_NID2_CAPS0201
R600_AUDIO_NID3_CAPS00400381
R600_AUDIO_NID3_PIN_CAPS0094

Audio conn list:
R600_AUDIO_CONN_LIST_LEN0001
R600_AUDIO_CONN_LIST08060402

Audio verbs:
R600_AUDIO_RATE_BPS_CHANNEL4011
R600_AUDIO_PLAYING0010
R600_AUDIO_IMPLEMENTATION_ID104d2e00
R600_AUDIO_CONFIG_DEFAULT18560010
R600_AUDIO_PIN_SENSE7fff
R600_AUDIO_PIN_WIDGET_CNTL40404040
R600_AUDIO_STATUS_BITS0001

HDMI block at 0x7400:
74000011 (17)
7404 (0)
74080010 (16)
740c0001 (65536)
7410 (0)
7414 (0)
7418 (0)
741c (0)
7420 (0)
7424 (0)
7428 (0)
742c (0)
7430 (0)
7434 (0)
7438 (0)
743c (0)
7440 (0)
7444 (0)
7448 (0)
744c (0)
7450 (0)
7454 (0)
7458 (0)
745c (0)
74600200 (33554432)
7464 (0)
7468 (0)
746c (0)
7470 (0)
7474 (0)
7478 (0)
747c (0)
7480 (0)
7484 (0)
7488 (0)
748c (0)
7490 (0)
7494 (0)
7498 (0)
749c (0)
74a0 (0)
74a4 (0)
74a8 (0)
74ac (0)
74b0 (0)
74b4 (0)
74b8 (0)
74bc (0)
74c0 (0)
74c4 (0)
74c8 (0)
74cc0170 (368)
74d0 (0)
74d41000 (268435456)
74d8 (0)
74dc (0)
74e0 (0)
74e4 (0)
74e8 (0)
74ec (0)

HDMI block at 0x7800:
78000011 (17)
78040001 (65536)
780800030010 (196624)
780c1000 (4096)
78100031 (49)
78140033 (51)
78180202 (514)
781c (0)
7820 (0)
7824 (0)
7828 (0)
782c (0)
7830 (0)
7834 (0)
7838 (0)
783c (0)
7840 (0)
7844 (0)
7848 (0)
784c (0)
7850 (0)
785400080065 (524389)
78580004 (4)
785c (0)
7860 (0)
7864 (0)
7868 (0)
786c (0)
7870 (0)
7874 (0)
7878 (0)
787c (0)
7880 (0)
7884 (0)
7888 (0)
788c (0)
7890 (0)
7894 (0)
7898 (0)
789c (0)
78a0 (0)
78a4 (0)
78a8 (0)
78ac1220a000 (304128000)
78b01000 (4096)
78b414244000 (33792)
78b81880 (6272)
78bc1220a000 (304128000)
78c01800 (6144)
78c414242000 (337911808)
78c81880 (6272)
78cc0170 (368)
78d0 (0)
78d4 (0)
78d80002 (2)
78dc1100 (4352)
78e000ff (16777215)
78e4007f (8388607)
78e80001 (1)
78ec0001 (1)


Bad:

Audio clocks:
R600_AUDIO_PLL1_MUL00249f00
R600_AUDIO_PLL1_DIV00714be8
R600_AUDIO_PLL2_MUL
R600_AUDIO_PLL2_DIV
R600_AUDIO_CLK_SRCSEL

Audio general:
R600_AUDIO_ENABLE811000f0
R600_AUDIO_TIMING0070

Audio params:
R600_AUDIO_VENDOR_ID1002aa01
R600_AUDIO_REVISION_ID00100100
R600_AUDIO_ROOT_NODE_COUNT00010001
R600_AUDIO_NID1_NODE_COUNT00020002
R600_AUDIO_NID1_TYPE0001
R600_AUDIO_SUPPORTED_SIZE_RATE00020070
R600_AUDIO_SUPPORTED_CODEC0001
R600_AUDIO_SUPPORTED_POWER_STATES0009
R600_AUDIO_NID2_CAPS0201
R600_AUDIO_NID3_CAPS00400381
R600_AUDIO_NID3_PIN_CAPS

[Bug 67435] HDMI audio silent on Radeon Mobility HD4650

2013-07-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=67435

--- Comment #9 from Rafał Miłecki  ---
@Kris: thank you for you debugging! I hope this is last debugging request.

Can you boot not working (bad) kernel, connect HDMI display and then type:

avivotool regset 0x0524 0x00249f00
avivotool regset 0x0528 0x00714be8
avivotool regset 0x0534 0x0001

I hope this will resume audio on your card, but I just want to be sure, before
asking Alex for getting more details on that.

If you could confirm that above 3 commands fix audio for you, it'd be great.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 67435] HDMI audio silent on Radeon Mobility HD4650

2013-07-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=67435

--- Comment #10 from Kris Scott  ---
Yes, those fixed it. Thank you very much.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 67435] HDMI audio silent on Radeon Mobility HD4650

2013-07-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=67435

--- Comment #11 from Alex Deucher  ---
Can you tell be the values of 0x7340, 0x7344, 0x520, and 0x530?
avivotool regmatch 0x7340
avivotool regmatch 0x7344
avivotool regmatch 0x520
avivotool regmatch 0x530

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 67435] HDMI audio silent on Radeon Mobility HD4650

2013-07-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=67435

--- Comment #12 from Kris Scott  ---
0x73400x001b0018 (1769496)
0x73440x0070 (112)
0x5200x0070 (112)
0x5300x0070 (112)

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 67435] HDMI audio silent on Radeon Mobility HD4650

2013-07-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=67435

--- Comment #13 from Kris Scott  ---
That is also after I had changed the registers that Rafal asked me to change,
if it makes any difference.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 67435] HDMI audio silent on Radeon Mobility HD4650

2013-07-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=67435

--- Comment #14 from Alex Deucher  ---
Can you boot back into the broken state and try this alternative fix:
avivotool regset 0x7344 0x0170

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 67435] HDMI audio silent on Radeon Mobility HD4650

2013-07-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=67435

--- Comment #15 from Kris Scott  ---
Tried it, that did not fix the sound.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 67435] HDMI audio silent on Radeon Mobility HD4650

2013-07-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=67435

--- Comment #16 from Alex Deucher  ---
Created attachment 83304
  --> https://bugs.freedesktop.org/attachment.cgi?id=83304&action=edit
fix

This patch should fix it.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 67435] HDMI audio silent on Radeon Mobility HD4650

2013-07-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=67435

--- Comment #17 from Christian König  ---
It's just a guess, but could you just try the following (without any patches):

avivotool regset 0x0514 0x00249f00

Does that helps as well?

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 67435] HDMI audio silent on Radeon Mobility HD4650

2013-07-31 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=67435

--- Comment #18 from Kris Scott  ---
Alex: Checking in to confirm that your patch fixed the problem.

Christian: Changing that register had no effect.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel