File Index
Files and directories
Sign in
FILE

dp_config.h

File preview with syntax highlighting.

linux-6.19.14/drivers/gpu/drm/hisilicon/hibmc/dp/dp_config.h C
 1/* SPDX-License-Identifier: GPL-2.0-or-later */
 2/* Copyright (c) 2024 Hisilicon Limited. */
 3
 4#ifndef DP_CONFIG_H
 5#define DP_CONFIG_H
 6
 7#define HIBMC_DP_BPP			24
 8#define HIBMC_DP_SYMBOL_PER_FCLK	4
 9#define HIBMC_DP_MSA1			0x20
10#define HIBMC_DP_MSA2			0x845c00
11#define HIBMC_DP_OFFSET			0x1e0000
12#define HIBMC_DP_HDCP			0x2
13#define HIBMC_DP_INT_RST		0xffff
14#define HIBMC_DP_DPTX_RST		0x3ff
15#define HIBMC_DP_CLK_EN			0x7
16#define HIBMC_DP_SYNC_EN_MASK		0x3
17#define HIBMC_DP_LINK_RATE_CAL		27
18#define HIBMC_DP_SYNC_DELAY(lanes)	((lanes) == 0x2 ? 86 : 46)
19#define HIBMC_DP_INT_ENABLE		0xc
20/* HIBMC_DP_LINK_RATE_CAL * 10000 * 80% = 216000 */
21#define DP_MODE_VALI_CAL		216000
22
23#endif
~/ Read-only file preview.