drivers/gpu/drm/amd/amdgpu/amdgpu_drv.h

Source file repositories/reference/linux-study-clean/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.h

File Facts

System
Linux kernel
Corpus path
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.h
Extension
.h
Size
1872 bytes
Lines
53
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 __AMDGPU_DRV_H__
#define __AMDGPU_DRV_H__

#include <linux/firmware.h>
#include <linux/platform_device.h>

#include "amd_shared.h"

/* General customization:
 */

#define DRIVER_AUTHOR		"AMD linux driver team"

#define DRIVER_NAME		"amdgpu"
#define DRIVER_DESC		"AMD GPU"

extern const struct drm_driver amdgpu_partition_driver;

long amdgpu_drm_ioctl(struct file *filp,
		      unsigned int cmd, unsigned long arg);

long amdgpu_kms_compat_ioctl(struct file *filp,
			     unsigned int cmd, unsigned long arg);

#endif

Annotation

Implementation Notes