drivers/gpu/drm/hisilicon/hibmc/dp/dp_config.h

Source file repositories/reference/linux-study-clean/drivers/gpu/drm/hisilicon/hibmc/dp/dp_config.h

File Facts

System
Linux kernel
Corpus path
drivers/gpu/drm/hisilicon/hibmc/dp/dp_config.h
Extension
.h
Size
674 bytes
Lines
24
Domain
Driver Families
Bucket
drivers/gpu
Inferred role
Driver Families: implementation source
Status
source implementation candidate

Why This File Exists

Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.

Dependency Surface

Detected Declarations

Annotated Snippet

#ifndef DP_CONFIG_H
#define DP_CONFIG_H

#define HIBMC_DP_BPP			24
#define HIBMC_DP_SYMBOL_PER_FCLK	4
#define HIBMC_DP_MSA1			0x20
#define HIBMC_DP_MSA2			0x845c00
#define HIBMC_DP_OFFSET			0x1e0000
#define HIBMC_DP_HDCP			0x2
#define HIBMC_DP_INT_RST		0xffff
#define HIBMC_DP_DPTX_RST		0x3ff
#define HIBMC_DP_CLK_EN			0x7
#define HIBMC_DP_SYNC_EN_MASK		0x3
#define HIBMC_DP_LINK_RATE_CAL		27
#define HIBMC_DP_SYNC_DELAY(lanes)	((lanes) == 0x2 ? 86 : 46)
#define HIBMC_DP_INT_ENABLE		0xc
/* HIBMC_DP_LINK_RATE_CAL * 10000 * 80% = 216000 */
#define DP_MODE_VALI_CAL		216000

#endif

Annotation

Implementation Notes