Skip to content

docs: add rga and g2d usage guide docs#1713

Merged
Milir-Radxa merged 1 commit intoradxa-docs:mainfrom
Ronin-1124:main
Apr 22, 2026
Merged

docs: add rga and g2d usage guide docs#1713
Milir-Radxa merged 1 commit intoradxa-docs:mainfrom
Ronin-1124:main

Conversation

@Ronin-1124
Copy link
Copy Markdown
Contributor

@Ronin-1124 Ronin-1124 commented Apr 21, 2026

Description of changes

Add rga and g2d usage guide docs.

Agent-doc checklist

  • I ran scripts/agent-doc-lint.sh on changed doc files.
  • Changed page docs are not empty, include front matter, and have an H1 heading.
  • Code fences in changed docs include language labels.
  • I removed TODO/TBD/XXX placeholders from non-template docs.
  • I reviewed whether docs/ and i18n/en/... need to be synced.
  • I did not introduce new docs/i18n path drift, or I updated .github/agent-doc-drift-baseline.md intentionally.
  • I did not introduce new translation placeholders, or I updated .github/agent-doc-translation-baseline.md and .github/agent-doc-translation-backlog.md intentionally.

Validation notes

  • pre-commit:
  • additional checks:

Signed-off-by: Ronin <dengluoning@radxa.com>
@Ronin-1124 Ronin-1124 requested review from a team and RadxaStephen as code owners April 21, 2026 11:04
@Milir-Radxa Milir-Radxa merged commit d4b6872 into radxa-docs:main Apr 22, 2026
4 of 6 checks passed

```bash
# 检查驱动模块是否已加载
lsmod | grep g2d
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

当前镜像不需要换 内核 就可以直接 insmod 吗

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

要换内核,这里没写怎么换,不太知道怎么写,我感觉可以单独写一个,然后加一个链接跳转过去

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

换内核就是 下载 并 安装 那两个 deb, 然后重启,提供下载连接吧,参考 https://docs.radxa.com/cubie/a5e/app-dev/npu-dev/a5e-npu-setup

| 示例 | 操作 | 结果 |
| ----------------- | --------------------------- | -------------------------- |
| `g2d_rotation` | ARGB8888 1920×1080 旋转 90° | **8.24 ms**,251.8 MP/sec |
| `g2d_format_conv` | ARGB8888 → YUV420 1920×1080 | **9.56 ms**,216.8 MP/sec |
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这下面几个的代码在哪

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这里觉得太长了就没加上去了,要传 github 吗

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

传 github 吧

- docs/common/ai/rockchip/_rga_usage_guide.mdx
---

import RGA from '../../../common/ai/rockchip/\_rga_usage_guide.mdx';
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

RGA 兼容 RK3588 RK3566 RK3568 RK3576 RK3528 在各个产品中补齐吧

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants