* [Bug 97258] Polaris: no sound over HDMI
2016-08-09 12:38 [Bug 97258] Polaris: no sound over HDMI bugzilla-daemon
@ 2016-08-09 12:55 ` bugzilla-daemon
2016-08-09 14:06 ` bugzilla-daemon
` (9 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2016-08-09 12:55 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 384 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=97258
--- Comment #1 from Alex Deucher <alexdeucher@gmail.com> ---
Audio is only supported with the new DAL display code which is not upstream
yet. You can use this branch in the interim:
https://cgit.freedesktop.org/~agd5f/linux/log/?h=amd-staging-4.6
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1202 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 12+ messages in thread* [Bug 97258] Polaris: no sound over HDMI
2016-08-09 12:38 [Bug 97258] Polaris: no sound over HDMI bugzilla-daemon
2016-08-09 12:55 ` bugzilla-daemon
@ 2016-08-09 14:06 ` bugzilla-daemon
2016-08-09 14:32 ` bugzilla-daemon
` (8 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2016-08-09 14:06 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 403 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=97258
--- Comment #2 from Marius Orcsik <marius@habarnam.ro> ---
Thank you Alex, I'll try it.
I've already tried the branches "drm-next-4.8-wip-dal" and
"drm-next-4.6-wip-dal" from the same tree - the latter being suggested in
another bug - and the compile was failing.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1160 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 12+ messages in thread* [Bug 97258] Polaris: no sound over HDMI
2016-08-09 12:38 [Bug 97258] Polaris: no sound over HDMI bugzilla-daemon
2016-08-09 12:55 ` bugzilla-daemon
2016-08-09 14:06 ` bugzilla-daemon
@ 2016-08-09 14:32 ` bugzilla-daemon
2016-08-09 14:50 ` bugzilla-daemon
` (7 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2016-08-09 14:32 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 1260 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=97258
--- Comment #3 from Marius Orcsik <marius@habarnam.ro> ---
Well, the compile of amd-staging-4.6 failed too:
CC [M]
drivers/gpu/drm/amd/amdgpu/../dal/dc/i2caux/dce80/i2c_sw_engine_dce80.o
drivers/gpu/drm/amd/amdgpu/../dal/dc/i2caux/dce80/i2c_sw_engine_dce80.c:53:23:
error: 'ddc_hw_status_addr' defined but not used
[-Werror=unused-const-variable=]
static const uint32_t ddc_hw_status_addr[] = {
^~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[4]: *** [scripts/Makefile.build:292:
drivers/gpu/drm/amd/amdgpu/../dal/dc/i2caux/dce80/i2c_sw_engine_dce80.o] Error
1
make[3]: *** [scripts/Makefile.build:440: drivers/gpu/drm/amd/amdgpu] Error 2
make[2]: *** [scripts/Makefile.build:440: drivers/gpu/drm] Error 2
make[1]: *** [scripts/Makefile.build:440: drivers/gpu] Error 2
make: *** [Makefile:962: drivers] Error 2
The (I assume relevant) .config settings:
$ grep AMD_DAL .config
CONFIG_DRM_AMD_DAL=y
CONFIG_DRM_AMD_DAL_VBIOS_PRESENT=y
CONFIG_DRM_AMD_DAL_DCE8_0=y
CONFIG_DRM_AMD_DAL_DCE10_0=y
CONFIG_DRM_AMD_DAL_DCE11_0=y
CONFIG_DRM_AMD_DAL_DCE11_2=y
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1997 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 12+ messages in thread* [Bug 97258] Polaris: no sound over HDMI
2016-08-09 12:38 [Bug 97258] Polaris: no sound over HDMI bugzilla-daemon
` (2 preceding siblings ...)
2016-08-09 14:32 ` bugzilla-daemon
@ 2016-08-09 14:50 ` bugzilla-daemon
2016-08-09 14:53 ` bugzilla-daemon
` (6 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2016-08-09 14:50 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 1615 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=97258
--- Comment #4 from Alex Deucher <alexdeucher@gmail.com> ---
(In reply to Marius Orcsik from comment #3)
> Well, the compile of amd-staging-4.6 failed too:
>
>
> CC [M]
> drivers/gpu/drm/amd/amdgpu/../dal/dc/i2caux/dce80/i2c_sw_engine_dce80.o
> drivers/gpu/drm/amd/amdgpu/../dal/dc/i2caux/dce80/i2c_sw_engine_dce80.c:53:
> 23: error: 'ddc_hw_status_addr' defined but not used
> [-Werror=unused-const-variable=]
> static const uint32_t ddc_hw_status_addr[] = {
> ^~~~~~~~~~~~~~~~~~
> cc1: all warnings being treated as errors
> make[4]: *** [scripts/Makefile.build:292:
> drivers/gpu/drm/amd/amdgpu/../dal/dc/i2caux/dce80/i2c_sw_engine_dce80.o]
> Error 1
> make[3]: *** [scripts/Makefile.build:440: drivers/gpu/drm/amd/amdgpu] Error 2
> make[2]: *** [scripts/Makefile.build:440: drivers/gpu/drm] Error 2
> make[1]: *** [scripts/Makefile.build:440: drivers/gpu] Error 2
> make: *** [Makefile:962: drivers] Error 2
>
Your version of gcc seems to warn on different things than mine. Try removing
-Werror from the Makefile:
diff --git a/drivers/gpu/drm/amd/dal/Makefile
b/drivers/gpu/drm/amd/dal/Makefile
index b84a2db..2ef2128 100644
--- a/drivers/gpu/drm/amd/dal/Makefile
+++ b/drivers/gpu/drm/amd/dal/Makefile
@@ -5,8 +5,6 @@
AMDDALPATH = $(RELATIVE_AMD_DAL_PATH)
-subdir-ccflags-y += -Werror
-
subdir-ccflags-y += -I$(AMDDALPATH)/ -I$(AMDDALPATH)/include
subdir-ccflags-y += -I$(FULL_AMD_DAL_PATH)/dc/inc/
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 2494 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply related [flat|nested] 12+ messages in thread* [Bug 97258] Polaris: no sound over HDMI
2016-08-09 12:38 [Bug 97258] Polaris: no sound over HDMI bugzilla-daemon
` (3 preceding siblings ...)
2016-08-09 14:50 ` bugzilla-daemon
@ 2016-08-09 14:53 ` bugzilla-daemon
2016-08-09 14:55 ` bugzilla-daemon
` (5 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2016-08-09 14:53 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 637 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=97258
--- Comment #5 from Marius Orcsik <marius@habarnam.ro> ---
Created attachment 125641
--> https://bugs.freedesktop.org/attachment.cgi?id=125641&action=edit
Removing some unused structures from DAL related files
OK, there were a few other issues in getting this branch to compile, but I
managed in the end.
I suppose most of them were related to too restrictive compile options (as they
were triggered by -Werror=unused-const-variable), but I attached a patch
removing the offending structs.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1659 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 12+ messages in thread* [Bug 97258] Polaris: no sound over HDMI
2016-08-09 12:38 [Bug 97258] Polaris: no sound over HDMI bugzilla-daemon
` (4 preceding siblings ...)
2016-08-09 14:53 ` bugzilla-daemon
@ 2016-08-09 14:55 ` bugzilla-daemon
2016-08-09 18:32 ` bugzilla-daemon
` (4 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2016-08-09 14:55 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 311 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=97258
--- Comment #6 from Marius Orcsik <marius@habarnam.ro> ---
Thank you Alex. I'll compile again without -Werror.
Sorry for all the spam and thank you (again) for your replies.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1048 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 12+ messages in thread* [Bug 97258] Polaris: no sound over HDMI
2016-08-09 12:38 [Bug 97258] Polaris: no sound over HDMI bugzilla-daemon
` (5 preceding siblings ...)
2016-08-09 14:55 ` bugzilla-daemon
@ 2016-08-09 18:32 ` bugzilla-daemon
2016-08-10 10:19 ` bugzilla-daemon
` (3 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2016-08-09 18:32 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 646 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=97258
Marius Orcsik <marius@habarnam.ro> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |WORKSFORME
--- Comment #7 from Marius Orcsik <marius@habarnam.ro> ---
Hi again, sound works fine with the amd-staging-4.6 branch.
May I ask about an estimation of when will the DAL changes be accepted to main
tree?
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 2091 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 12+ messages in thread* [Bug 97258] Polaris: no sound over HDMI
2016-08-09 12:38 [Bug 97258] Polaris: no sound over HDMI bugzilla-daemon
` (6 preceding siblings ...)
2016-08-09 18:32 ` bugzilla-daemon
@ 2016-08-10 10:19 ` bugzilla-daemon
2016-08-10 18:03 ` bugzilla-daemon
` (2 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2016-08-10 10:19 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 2555 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=97258
--- Comment #8 from Maximilian Böhm <winlux@gmail.com> ---
I get only to:
CC drivers/gpu/drm/amd/amdgpu/../dal/dc/audio/audio_base.o
drivers/gpu/drm/amd/amdgpu/../dal/dc/adapter/adapter_service.c: In Funktion
»create_hw_ctx«:
drivers/gpu/drm/amd/amdgpu/../dal/dc/adapter/adapter_service.c:677:10: Fehler:
Implizite Deklaration der Funktion »dal_adapter_service_create_hw_ctx_dce110«
[-Werror=implicit-function-declaration]
return dal_adapter_service_create_hw_ctx_dce110(ctx);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../dal/dc/adapter/adapter_service.c:677:10: Warnung:
return erzeugt Zeiger von Ganzzahl ohne Typkonvertierung [-Wint-conversion]
return dal_adapter_service_create_hw_ctx_dce110(ctx);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CC drivers/gpu/drm/amd/amdgpu/../dal/dc/audio/hw_ctx_audio.o
CC drivers/gpu/drm/amd/amdgpu/../dal/dc/basics/conversion.o
CC drivers/gpu/drm/amd/amdgpu/../dal/dc/basics/fixpt31_32.o
CC drivers/gpu/drm/amd/amdgpu/../dal/dc/basics/fixpt32_32.o
cc1: Einige Warnungen werden als Fehler behandelt
make[4]: *** [scripts/Makefile.build:291:
drivers/gpu/drm/amd/amdgpu/../dal/dc/adapter/adapter_service.o] Fehler 1
make[4]: *** Es wird auf noch nicht beendete Prozesse gewartet....
drivers/gpu/drm/amd/amdgpu/../dal/dc/audio/audio_base.c: In Funktion
»dal_audio_create«:
drivers/gpu/drm/amd/amdgpu/../dal/dc/audio/audio_base.c:279:10: Fehler:
Implizite Deklaration der Funktion »dal_audio_create_dce110«
[-Werror=implicit-function-declaration]
return dal_audio_create_dce110(init_data);
^~~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../dal/dc/audio/audio_base.c:279:10: Warnung: return
erzeugt Zeiger von Ganzzahl ohne Typkonvertierung [-Wint-conversion]
return dal_audio_create_dce110(init_data);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: Einige Warnungen werden als Fehler behandelt
make[4]: *** [scripts/Makefile.build:291:
drivers/gpu/drm/amd/amdgpu/../dal/dc/audio/audio_base.o] Fehler 1
make[3]: *** [scripts/Makefile.build:440: drivers/gpu/drm/amd/amdgpu] Fehler 2
make[2]: *** [scripts/Makefile.build:440: drivers/gpu/drm] Fehler 2
make[1]: *** [scripts/Makefile.build:440: drivers/gpu] Fehler 2
make: *** [Makefile:962: drivers] Fehler 2
Manjaro, GCC 6.1.1. Sorry for the German, I hope it's OK for Alex.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 3355 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 12+ messages in thread* [Bug 97258] Polaris: no sound over HDMI
2016-08-09 12:38 [Bug 97258] Polaris: no sound over HDMI bugzilla-daemon
` (7 preceding siblings ...)
2016-08-10 10:19 ` bugzilla-daemon
@ 2016-08-10 18:03 ` bugzilla-daemon
2016-08-10 20:38 ` bugzilla-daemon
2016-08-11 18:00 ` bugzilla-daemon
10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2016-08-10 18:03 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 572 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=97258
--- Comment #9 from Alex Deucher <alexdeucher@gmail.com> ---
(In reply to Maximilian Böhm from comment #8)
> I get only to:
What DAL config items did you select? You have to select all of them as there
are some inter-dependencies that have slipped in.
CONFIG_DRM_AMD_DAL=y
CONFIG_DRM_AMD_DAL_VBIOS_PRESENT=y
CONFIG_DRM_AMD_DAL_DCE8_0=y
CONFIG_DRM_AMD_DAL_DCE10_0=y
CONFIG_DRM_AMD_DAL_DCE11_0=y
CONFIG_DRM_AMD_DAL_DCE11_2=y
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1443 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 12+ messages in thread* [Bug 97258] Polaris: no sound over HDMI
2016-08-09 12:38 [Bug 97258] Polaris: no sound over HDMI bugzilla-daemon
` (8 preceding siblings ...)
2016-08-10 18:03 ` bugzilla-daemon
@ 2016-08-10 20:38 ` bugzilla-daemon
2016-08-11 18:00 ` bugzilla-daemon
10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2016-08-10 20:38 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 770 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=97258
--- Comment #10 from Maximilian Böhm <winlux@gmail.com> ---
Created attachment 125687
--> https://bugs.freedesktop.org/attachment.cgi?id=125687&action=edit
Won't boot
OK, thank you, got it compiled!
But: First, mkinitcpio was telling me:
==> ERROR: module not found: `crc32c'
==> Generating module dependencies
==> Creating xz-compressed initcpio image: /boot/initramfs-4.6-amd-staging.img
==> WARNING: errors were encountered during the build. The image may not be
complete.
And now the kernel won't boot. See the photo in the attachment. I see eight
Tuxes and and a couple lines output but it won't go further. :/
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1695 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 12+ messages in thread* [Bug 97258] Polaris: no sound over HDMI
2016-08-09 12:38 [Bug 97258] Polaris: no sound over HDMI bugzilla-daemon
` (9 preceding siblings ...)
2016-08-10 20:38 ` bugzilla-daemon
@ 2016-08-11 18:00 ` bugzilla-daemon
10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2016-08-11 18:00 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 400 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=97258
--- Comment #11 from Maximilian Böhm <winlux@gmail.com> ---
The last line "fb: switching to amdgpudrmfb from EFI VGA" is the same as in
this bug report: https://community.amd.com/thread/197176
So maybe something is wrong with the PowerPlay code? I have a R9 380.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1265 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 12+ messages in thread