aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorShashank Sharma <[email protected]>2016-10-14 19:56:50 +0530
committerJani Nikula <[email protected]>2016-10-18 12:42:54 +0300
commit6389dd83768485a251dc0c5252dbc9a96f86ca53 (patch)
treedadbec0d3b74b0539ee50f015c64842e3a2a884b /lib/memory-notifier-error-inject.c
parentdbe9e61b8e4306df24b3e8370a62f7954a81ff5d (diff)
drm/i915: Parse VBT data for lspcon
Many GEN9 boards come with on-board lspcon cards. Fot these boards, VBT configuration should properly point out if a particular port contains lspcon device, so that driver can initialize it properly. This patch adds a utility function, which checks the VBT flag for lspcon bit, and tells us if a port is configured to have a lspcon device or not. V2: Fixed review comments from Ville - Do not forget PORT_D while checking lspcon for GEN9 V3: Addressed review comments from Rodrigo - Create a HAS_LSPCON() macro for better use case handling. - Do not dump warnings for non-gen-9 platforms, it will be noise. V4: Rebase V5: Rebase V6: Pass dev_priv to HAS_LSPCON() macro Signed-off-by: Shashank Sharma <[email protected]> Reviewed-by: Rodrigo Vivi <[email protected]> Acked-by: Ville Syrjälä <[email protected]> Signed-off-by: Jani Nikula <[email protected]> Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions