mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-23 17:30:02 +00:00
![Jani Nikula](/assets/img/avatar_default.png)
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
16 lines
387 B
C
16 lines
387 B
C
/* SPDX-License-Identifier: MIT */
|
|
/*
|
|
* Copyright © 2022 Intel Corporation
|
|
*/
|
|
|
|
#ifndef __INTEL_HTI_REGS_H__
|
|
#define __INTEL_HTI_REGS_H__
|
|
|
|
#include "i915_reg_defs.h"
|
|
|
|
#define HDPORT_STATE _MMIO(0x45050)
|
|
#define HDPORT_DPLL_USED_MASK REG_GENMASK(15, 12)
|
|
#define HDPORT_DDI_USED(phy) REG_BIT(2 * (phy) + 1)
|
|
#define HDPORT_ENABLED REG_BIT(0)
|
|
|
|
#endif /* __INTEL_HTI_REGS_H__ */
|