The HTI or HDPORT handling is sprinkled around. Centralize to one place. Add a note about how subtle the mapping from HDPORT_STATE register to dpll mask actually is. Signed-off-by: Jani Nikula <jani.nikula@intel.com> Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20221109144209.3624739-1-jani.nikula@intel.com
18 lines
401 B
C
18 lines
401 B
C
/* SPDX-License-Identifier: MIT */
|
|
/*
|
|
* Copyright © 2022 Intel Corporation
|
|
*/
|
|
|
|
#ifndef __INTEL_HTI_H__
|
|
#define __INTEL_HTI_H__
|
|
|
|
#include <linux/types.h>
|
|
|
|
struct drm_i915_private;
|
|
enum phy;
|
|
|
|
void intel_hti_init(struct drm_i915_private *i915);
|
|
bool intel_hti_uses_phy(struct drm_i915_private *i915, enum phy phy);
|
|
u32 intel_hti_dpll_mask(struct drm_i915_private *i915);
|
|
|
|
#endif /* __INTEL_HTI_H__ */
|