← Documents Documentation/accel/rocket/index.rst GitHub 원문 ↗

Linux 6.18.37 · Compute accelerators / Rocket

accel/rocket Rockchip NPU driver

RK3588 NPU의 minimal kernel driver와 Mesa3D Gallium rocket userspace driver 역할을 설명합니다.

Source pathDocumentation/accel/rocket/index.rst
Source versionLinux v6.18.37
TranslationDUJINLABS 전문 번역 + 해설

요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.

1. 요약·해설

원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.

RK3588 지원 범위

index.rst:1-19

Kernel은 power·buffer·job submission만 맡고 나머지는 Mesa3D userspace가 처리합니다.

2. 영어 원문 전체

번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.

원문 전체 펼치기
1 .. SPDX-License-Identifier: GPL-2.0-only
2
3 =====================================
4 accel/rocket Rockchip NPU driver
5 =====================================
6
7 The accel/rocket driver supports the Neural Processing Units (NPUs) inside some
8 Rockchip SoCs such as the RK3588. Rockchip calls it RKNN and sometimes RKNPU.
9
10 The hardware is described in chapter 36 in the RK3588 TRM.
11
12 This driver just powers the hardware on and off, allocates and maps buffers to
13 the device and submits jobs to the frontend unit. Everything else is done in
14 userspace, as a Gallium driver (also called rocket) that is part of the Mesa3D
15 project.
16
17 Hardware currently supported:
18
19 * RK3588
20

3. 한국어 전문 번역

영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.

Rockchip NPU driver

1-19

`GPL-2.0-only` 문서입니다. `accel/rocket` driver는 RK3588 같은 일부 Rockchip SoC 내부 NPU를 지원합니다. Rockchip은 이 hardware를 RKNN 또는 RKNPU라고도 부르며 RK3588 TRM chapter 36에 설명돼 있습니다.

Kernel driver는 hardware power on/off, device buffer allocate/map, frontend unit에 job submit만 담당합니다. 나머지는 Mesa3D project의 일부인 `rocket` Gallium userspace driver가 처리합니다. 현재 지원 hardware는 `RK3588`입니다.

Rocket kernel/userspace split
LayerResponsibilities
accel/rocket kernel driverPower, buffer allocation/mapping, frontend job submission
Mesa3D rocket Gallium driverAll remaining NPU operation

Minimal KMD와 Mesa3D Gallium driver의 역할을 구분합니다.