From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 106159] When connecting or disconnecting a displayport to a DP hub with 4.16.2+ kernel, hard freeze with frozen video output Date: Wed, 25 Apr 2018 20:58:11 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1754705836==" 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 45A1C6E202 for ; Wed, 25 Apr 2018 20:58:11 +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 --===============1754705836== Content-Type: multipart/alternative; boundary="15246898910.00A61BeFe.22714" Content-Transfer-Encoding: 7bit --15246898910.00A61BeFe.22714 Date: Wed, 25 Apr 2018 20:58:11 +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=3D106159 --- Comment #11 from Joel Sass --- It appears that the patch I manually created isn't working out so hot. Duri= ng compiling, I'm seeing this error for amdgpu_dm_mst_types.c drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_mst_types.c: In function =E2=80=98dm_dp_mst_dc_sink_create=E2=80=99: drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_mst_types.c:205:2: error: =E2=80=98dc_sink=E2=80=99 undeclared (first use in this function) dc_sink =3D dc_link_add_remote_sink( ^ drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_mst_types.c:205:2: note: each undeclared identifier is reported only once for each function it appears in drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_mst_types.c:209:4: error: =E2=80=98init_params=E2=80=99 undeclared (first use in this function) &init_params); ^ drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_mst_types.c: In function =E2=80=98dm_dp_mst_get_modes=E2=80=99: drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_mst_types.c:232:2= 8: warning: unused variable =E2=80=98init_params=E2=80=99 [-Wunused-variable] struct dc_sink_init_data init_params =3D { ^ drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_mst_types.c:231:1= 9: warning: unused variable =E2=80=98dc_sink=E2=80=99 [-Wunused-variable] struct dc_sink *dc_sink; ^ drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_mst_types.c:251:5: error: request for member =E2=80=98sink_signal=E2=80=99 in something not a = structure or union .sink_signal =3D SIGNAL_TYPE_DISPLAY_PORT_MST }; ^ scripts/Makefile.build:332: recipe for target 'drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_mst_types.o' fai= led make[4]: *** [drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_mst_types.o] Err= or 1 scripts/Makefile.build:606: recipe for target 'drivers/gpu/drm/amd/amdgpu' failed make[3]: *** [drivers/gpu/drm/amd/amdgpu] Error 2 scripts/Makefile.build:606: recipe for target 'drivers/gpu/drm' failed make[2]: *** [drivers/gpu/drm] Error 2 scripts/Makefile.build:606: recipe for target 'drivers/gpu' failed make[1]: *** [drivers/gpu] Error 2 make[1]: *** Waiting for unfinished jobs.... Could someone take a look at the file I've attached please? --=20 You are receiving this mail because: You are the assignee for the bug.= --15246898910.00A61BeFe.22714 Date: Wed, 25 Apr 2018 20:58:11 +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

Comme= nt # 11 on bug 10615= 9 from Joel Sass
It appears that the patch I manually created isn't working out=
 so hot. During
compiling, I'm seeing this error for amdgpu_dm_mst_types.c

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_mst_types.c: In
function =E2=80=98dm_dp_mst_dc_sink_create=E2=80=99:
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_mst_types.c:205:2:
error: =E2=80=98dc_sink=E2=80=99 undeclared (first use in this function)
  dc_sink =3D dc_link_add_remote_sink(
  ^
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_mst_types.c:205:2:
note: each undeclared identifier is reported only once for each function it
appears in
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_mst_types.c:209:4:
error: =E2=80=98init_params=E2=80=99 undeclared (first use in this function)
   &init_params);
    ^
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_mst_types.c: In
function =E2=80=98dm_dp_mst_get_modes=E2=80=99:
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_mst_types.c:232:2=
8:
warning: unused variable =E2=80=98init_params=E2=80=99 [-Wunused-variable]
   struct dc_sink_init_data init_params =3D {
                            ^
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_mst_types.c:231:1=
9:
warning: unused variable =E2=80=98dc_sink=E2=80=99 [-Wunused-variable]
   struct dc_sink *dc_sink;
                   ^
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_mst_types.c:251:5:
error: request for member =E2=80=98sink_signal=E2=80=99 in something not a =
structure or union
     .sink_signal =3D SIGNAL_TYPE_DISPLAY_PORT_MST };
     ^
scripts/Makefile.build:332: recipe for target
'drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_mst_types.o' fai=
led
make[4]: ***
[drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_mst_types.o] Err=
or 1
scripts/Makefile.build:606: recipe for target 'drivers/gpu/drm/amd/amdgpu'
failed
make[3]: *** [drivers/gpu/drm/amd/amdgpu] Error 2
scripts/Makefile.build:606: recipe for target 'drivers/gpu/drm' failed
make[2]: *** [drivers/gpu/drm] Error 2
scripts/Makefile.build:606: recipe for target 'drivers/gpu' failed
make[1]: *** [drivers/gpu] Error 2
make[1]: *** Waiting for unfinished jobs....

Could someone take a look at the file I've attached please?


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