Bug 98697 - drivers/gpu/drm/i915/intel_display.c:14712:20: error: ‘intel_crtc_set_crc_source’ undeclared
Summary: drivers/gpu/drm/i915/intel_display.c:14712:20: error: ‘intel_crtc_set_crc_sou...
Status: CLOSED INVALID
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-11-12 19:20 UTC by Adam Jirasek
Modified: 2016-11-16 08:27 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
kernel config file (118.39 KB, text/plain)
2016-11-15 03:28 UTC, Adam Jirasek
no flags Details

Description Adam Jirasek 2016-11-12 19:20:21 UTC
Hello

I have a compilation error for drm-intel linux from today (12-Nov-2016) referring to undeclared variable - see output below:

CC [M]  net/ipv6/xfrm6_tunnel.o
*  CC [M]  drivers/gpu/drm/i915/intel_display.o
*  CC [M]  drivers/hwmon/lm75.o
*  CC [M]  drivers/gpu/drm/i915/intel_dpio_phy.o
*  CC [M]  drivers/hwmon/lm77.o
*drivers/gpu/drm/i915/intel_display.c:14712:20: error: ‘intel_crtc_set_crc_source’ undeclared here (not in a function)
*  .set_crc_source = intel_crtc_set_crc_source,
*                    ^
*  CC [M]  net/ipv6/tunnel6.o
*scripts/Makefile.build:290: recipe for target 'drivers/gpu/drm/i915/intel_display.o' failed
*make[4]: *** [drivers/gpu/drm/i915/intel_display.o] Error 1
*make[4]: *** Waiting for unfinished jobs....
*  CC [M]  drivers/hwmon/lm78.o
*  CC [M]  net/irda/iriap.o
*scripts/Makefile.build:475: recipe for target 'drivers/gpu/drm/i915' failed
*make[3]: *** [drivers/gpu/drm/i915] Error 2
*scripts/Makefile.build:475: recipe for target 'drivers/gpu/drm' failed
*make[2]: *** [drivers/gpu/drm] Error 2
*scripts/Makefile.build:475: recipe for target 'drivers/gpu' failed
*make[1]: *** [drivers/gpu] Error 2
*--
*  CC [M]  net/ipv6/netfilter/ip6t_frag.o
*  CC [M]  net/irda/discovery.o
*  CC [M]  net/ipv6/netfilter/ip6t_ipv6header.o
*  CC [M]  net/ipv6/netfilter/ip6t_mh.o
*  CC [M]  net/irda/parameters.o
*Makefile:983: recipe for target 'drivers' failed
*make: *** [drivers] Error 2
*--
* Running with options: --menuconfig all
* Using genkernel.conf from /etc/genkernel.conf
* Sourcing arch-specific config.sh from /usr/share/genkernel/arch/x86_64/config.sh ..
* Sourcing arch-specific modules_load from /usr/share/genkernel/arch/x86_64/modules_load ..
*
* ERROR: Failed to compile the "modules" target...
* 
* -- End log... --
* 
* Please consult /var/log/genkernel.log for more information and any
* errors that were reported above.
* 
* Report any genkernel bugs to bugs.gentoo.org and
* assign your bug to genkernel@gentoo.org. Please include
* as much information as you can in your bug report; attaching
* /var/log/genkernel.log so that your issue can be dealt with effectively.
* 
* Please do *not* report compilation failures as genkernel bugs!
*
Comment 1 Jani Nikula 2016-11-14 10:47:56 UTC
(In reply to Adam Jirasek from comment #0)
> I have a compilation error for drm-intel linux from today (12-Nov-2016)
> referring to undeclared variable - see output below:

"drm-intel linux from today (12-Nov-2016)" does not accurately specify what you're actually trying to build. We need the *upstream* git repo, branch, commit that fails.

We also need the kernel config you're trying to build.

> *drivers/gpu/drm/i915/intel_display.c:14712:20: error:
> ‘intel_crtc_set_crc_source’ undeclared here (not in a function)
> *  .set_crc_source = intel_crtc_set_crc_source,
> *                    ^

I've seen a patch adding this, but this has not been merged upstream. We do not have this line in upstream source.
Comment 2 Adam Jirasek 2016-11-15 03:28:19 UTC
Created attachment 127971 [details]
kernel config file
Comment 3 Adam Jirasek 2016-11-15 03:31:29 UTC
(In reply to Jani Nikula from comment #1)
> (In reply to Adam Jirasek from comment #0)
> > I have a compilation error for drm-intel linux from today (12-Nov-2016)
> > referring to undeclared variable - see output below:
> 
> "drm-intel linux from today (12-Nov-2016)" does not accurately specify what
> you're actually trying to build. We need the *upstream* git repo, branch,
> commit that fails.
> 
> We also need the kernel config you're trying to build.
> 
> > *drivers/gpu/drm/i915/intel_display.c:14712:20: error:
> > ‘intel_crtc_set_crc_source’ undeclared here (not in a function)
> > *  .set_crc_source = intel_crtc_set_crc_source,
> > *                    ^
> 
> I've seen a patch adding this, but this has not been merged upstream. We do
> not have this line in upstream source.

Here is the info:

repo: git://anongit.freedesktop.org/drm-intel
branch : drm-intel-nightly
commit: 1af808dba57ca773d463026a2e8a9296cb0db42a
kernel x86_64-4.9.0-rc4

kernel config file should be in next post
Comment 4 Jani Nikula 2016-11-15 15:33:12 UTC
Again, current drm-intel-nightly does not have this.
Comment 5 Adam Jirasek 2016-11-16 04:45:04 UTC
(In reply to Jani Nikula from comment #4)
> Again, current drm-intel-nightly does not have this.

I'm using drm-intel-nightly only, updated today, the last commit is 
7d920f01ab1c5b838011d553f5ac8f656061cacc

and the compilation error is still there
Comment 6 Chris Wilson 2016-11-16 07:30:14 UTC
fatal: bad object 7d920f01ab1c5b838011d553f5ac8f656061cacc

$ git grep intel_crtc_set_crc_source
=1

Whatever you think you are compiling it is not drm-intel.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.