<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEEDINFO "
title="NEEDINFO - [SKL] Intel HD 520 failed to train DP when connected with a external monitor"
href="https://bugs.freedesktop.org/show_bug.cgi?id=93578#c130">Comment # 130</a>
on <a class="bz_bug_link
bz_status_NEEDINFO "
title="NEEDINFO - [SKL] Intel HD 520 failed to train DP when connected with a external monitor"
href="https://bugs.freedesktop.org/show_bug.cgi?id=93578">bug 93578</a>
from <span class="vcard"><a class="email" href="mailto:yann.argotti@intel.com" title="yann <yann.argotti@intel.com>"> <span class="fn">yann</span></a>
</span></b>
<pre>(In reply to Rien Heuver from <a href="show_bug.cgi?id=93578#c129">comment #129</a>)
<span class="quote">> @yann thanks, I got to do that now. It now crashes on the build command with
> this in the make.log:
> /var/lib/dkms/i915_bpo/usbc/build/intel_pm.c:32:45: fatal error:
> ../../../platform/x86/intel_ips.h: No such file or directory
> I don't know what the sed-command exactly does, but should I have changed
> something in there? The file intel_ips.h exists in
> linux-sources-4.8.0/drivers/platform/x86 (fyi). I feel like I'm very close
> to using my new monitor :P.</span >
here sed is allowing you to do some string substitution automatically:
it replaces all occurrences of ../../drivers/platform/x86/intel_ips.h string by
../../linux-source-4.4.0/drivers/platform/x86/intel_ips.h
in intel_pm.c file.
However, in you case, you are not using 4.4.0 kernel and the #include is not
../../drivers/platform/x86/intel_ips.h but ../../../platform/x86/intel_ips.h
so the corresponding sed command line for a 4.8.0 kernel should be:
sed -i
's#../../../platform/x86/intel_ips.h#../../linux-source-4.8.0/drivers/platform/x86/intel_ips.h#g'
intel_pm.c
but of course it depends where your files / folders are located</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
<li>You are the assignee for the bug.</li>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>