[Intel-gfx] linux-next: Tree for Mar 29 (i915, no ACPI)
jani.nikula at linux.intel.com
Tue Apr 2 12:29:09 UTC 2019
On Fri, 29 Mar 2019, Randy Dunlap <rdunlap at infradead.org> wrote:
> On 3/28/19 8:18 PM, Stephen Rothwell wrote:
>> Hi all,
>> Changes since 20190328:
>> The pidfd tree lost its build failures.
> on x86_64, when # CONFIG_ACPI is not set/enabled:
> ld: drivers/gpu/drm/i915/intel_panel.o: in function `intel_backlight_device_register':
> intel_panel.c:(.text+0x2c49): undefined reference to `backlight_device_register'
> ld: drivers/gpu/drm/i915/intel_panel.o: in function `intel_backlight_device_unregister':
> intel_panel.c:(.text+0x2d01): undefined reference to `backlight_device_unregister'
> Full randconfig file is attached.
# CONFIG_ACPI is not set
select BACKLIGHT_CLASS_DEVICE if ACPI
The above pretty much sums it up. It's been reported before, the
earliest I could find was .
I've previously suggested patches that would make backlight a dependency
instead of selecting it, in line with . However we can't do that in
i915 alone without recursive dependencies, and changing all backlight
users was met with opposition because "select is convenient".
Maybe I'll look at this one of these days, but don't hold your breath.
 Documentation/kbuild/kconfig-language.txt "In general use select
only for non-visible symbols (no prompts anywhere) and for symbols
with no dependencies."
Jani Nikula, Intel Open Source Graphics Center
More information about the Intel-gfx