From: bugzilla-daemon@freedesktop.org Subject: [Bug 97258] Polaris: no sound over HDMI Date: Tue, 09 Aug 2016 14:50:00 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1950523937==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id 91D776E5D1 for ; Tue, 9 Aug 2016 14:50:00 +0000 (UTC) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1950523937== Content-Type: multipart/alternative; boundary="14707542000.aDaA7Edc.26647"; charset="UTF-8" --14707542000.aDaA7Edc.26647 Date: Tue, 9 Aug 2016 14:50:00 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D97258 --- Comment #4 from Alex Deucher --- (In reply to Marius Orcsik from comment #3) > Well, the compile of amd-staging-4.6 failed too: >=20 >=20 > CC [M]=20 > 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:5= 3: > 23: error: 'ddc_hw_status_addr' defined but not used > [-Werror=3Dunused-const-variable=3D] > static const uint32_t ddc_hw_status_addr[] =3D { > ^~~~~~~~~~~~~~~~~~ > 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] Err= or 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 >=20 Your version of gcc seems to warn on different things than mine. Try remov= ing -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 =3D $(RELATIVE_AMD_DAL_PATH) -subdir-ccflags-y +=3D -Werror - subdir-ccflags-y +=3D -I$(AMDDALPATH)/ -I$(AMDDALPATH)/include subdir-ccflags-y +=3D -I$(FULL_AMD_DAL_PATH)/dc/inc/ --=20 You are receiving this mail because: You are the assignee for the bug.= --14707542000.aDaA7Edc.26647 Date: Tue, 9 Aug 2016 14:50:00 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated

Comment= # 4 on bug 97258<= /a> from Alex Deucher
(In reply to Marius Orcsik from comment #3)
> Well, the compile of amd-staging-4.6 failed too:
>=20
>=20
>   CC [M]=20
> 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=3Dunused-const-variable=3D]
>  static const uint32_t ddc_hw_status_addr[] =3D {
>                        ^~~~~~~~~~~~~~~~~~
> 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 remov=
ing
-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 =3D $(RELATIVE_AMD_DAL_PATH)

-subdir-ccflags-y +=3D -Werror
-
 subdir-ccflags-y +=3D -I$(AMDDALPATH)/ -I$(AMDDALPATH)/include

 subdir-ccflags-y +=3D -I$(FULL_AMD_DAL_PATH)/dc/inc/


You are receiving this mail because:
  • You are the assignee for the bug.
= --14707542000.aDaA7Edc.26647-- --===============1950523937== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1950523937==--