<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - When connecting or disconnecting a displayport to a DP hub with 4.16.2+ kernel, hard freeze with frozen video output"
href="https://bugs.freedesktop.org/show_bug.cgi?id=106159#c11">Comment # 11</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - When connecting or disconnecting a displayport to a DP hub with 4.16.2+ kernel, hard freeze with frozen video output"
href="https://bugs.freedesktop.org/show_bug.cgi?id=106159">bug 106159</a>
from <span class="vcard"><a class="email" href="mailto:sass.joel@gmail.com" title="Joel Sass <sass.joel@gmail.com>"> <span class="fn">Joel Sass</span></a>
</span></b>
<pre>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 ‘dm_dp_mst_dc_sink_create’:
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_mst_types.c:205:2:
error: ‘dc_sink’ undeclared (first use in this function)
dc_sink = 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: ‘init_params’ undeclared (first use in this function)
&init_params);
^
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_mst_types.c: In
function ‘dm_dp_mst_get_modes’:
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_mst_types.c:232:28:
warning: unused variable ‘init_params’ [-Wunused-variable]
struct dc_sink_init_data init_params = {
^
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_mst_types.c:231:19:
warning: unused variable ‘dc_sink’ [-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 ‘sink_signal’ in something not a structure or union
.sink_signal = 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' failed
make[4]: ***
[drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_mst_types.o] Error 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?</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>