ANDROID: i915: Provide workaround to build i915 as vendor module
GKI does not allow to build any vendor module which uses symbol_get/symbol_put as symbol lookup circumvents all ABI checking. Stub out problematic code if CONFIG_INTEL_IPS is not used and scream during compilation otherwise. Bug: 352497771 Bug: 375084559 TEST=two test cases: 1. Enable CONFIG_INTEL_IPS, build AL device, check if compilation fail 2. Disable CONFIG_INTEL_IPS, build AL device, check if compilation passes and if KMI symbols do not contain symbol_get/symbol_put. Change-Id: Ic82a9bc7db5aa5aa077aa54010e76d353557576c Signed-off-by:Tomasz Nowicki <tnowicki@google.com> Signed-off-by:
Slawomir Rosek <srosek@google.com>
Loading
Please sign in to comment