[Bug 93578] [SKL] Intel HD 520 failed to train DP when connected with a external monitor

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Mar 28 12:36:12 UTC 2017


https://bugs.freedesktop.org/show_bug.cgi?id=93578

--- Comment #130 from yann <yann.argotti at intel.com> ---
(In reply to Rien Heuver from comment #129)
> @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.

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

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20170328/09068357/attachment.html>


More information about the intel-gfx-bugs mailing list