// SPDX-License-Identifier: MIT /* * Copyright 2019 Intel Corporation. */ #include "i915_drv.h" #include "i915_utils.h" #include "intel_pch.h" /* Map PCH device id to PCH type, or PCH_NONE if unknown. */ static enum intel_pch intel_pch_type(const struct drm_i915_private *dev_priv, unsigned short id) { … } static bool intel_is_virt_pch(unsigned short id, unsigned short svendor, unsigned short sdevice) { … } static void intel_virt_detect_pch(const struct drm_i915_private *dev_priv, unsigned short *pch_id, enum intel_pch *pch_type) { … } void intel_detect_pch(struct drm_i915_private *dev_priv) { … }