drivers/gpu/drm/renesas/shmobile/shmob_drm_kms.h

Source file repositories/reference/linux-study-clean/drivers/gpu/drm/renesas/shmobile/shmob_drm_kms.h

File Facts

System
Linux kernel
Corpus path
drivers/gpu/drm/renesas/shmobile/shmob_drm_kms.h
Extension
.h
Size
812 bytes
Lines
33
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

struct shmob_drm_format_info {
	u32 fourcc;
	u32 lddfr;	/* LCD Data Format Register */
	u16 ldbbsifr;	/* CHn Source Image Format Register low bits */
	u8 ldddsr;	/* LCDC Input Image Data Swap Register low bits */
	u8 bpp;
};

#define shmob_drm_format_is_yuv(format)	((format)->lddfr & LDDFR_CC)

const struct shmob_drm_format_info *shmob_drm_format_info(u32 fourcc);

int shmob_drm_modeset_init(struct shmob_drm_device *sdev);

#endif /* __SHMOB_DRM_KMS_H__ */

Annotation

Implementation Notes