Commit 1e38a98e authored by Tomasz Nowicki's avatar Tomasz Nowicki Committed by Slawomir Rosek
Browse files

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: default avatarTomasz Nowicki <tnowicki@google.com>
Signed-off-by: default avatarSlawomir Rosek <srosek@google.com>
parent 30ff3aa3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment