Skip to content

Commit

Permalink
add chromium v4l2 decoder udev rule for rk3328 hantro decoder
Browse files Browse the repository at this point in the history
  • Loading branch information
amazingfate committed Jul 28, 2024
1 parent d5cb0d6 commit 0579edc
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/bsp/common/etc/udev/rules.d/90-chromium-video.rules
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@ SUBSYSTEM=="video4linux", ATTR{name}=="qcom-venus-decoder", SYMLINK+="video-dec%
# This is qcom venus v4l2 stateful encoder, not tested yet, but chromium did query /dev/video-enc* devives for v4l2 encoding.
SUBSYSTEM=="video4linux", ATTR{name}=="qcom-venus-encoder", SYMLINK+="video-enc%n"

# These rules are for hantro v4l2 stateless decoders found on rk3399, rk3568 and rk3588
SUBSYSTEM=="video4linux", ATTR{name}=="rockchip,rk3568-vpu-dec", SYMLINK+="video-dec%n"
# These rules are for hantro v4l2 stateless decoders found on rk3328, rk3399, rk3568 and rk3588
SUBSYSTEM=="video4linux", ATTR{name}=="rockchip,rk3328-vpu-dec", SYMLINK+="video-dec%n"
SUBSYSTEM=="video4linux", ATTR{name}=="rockchip,rk3399-vpu-dec", SYMLINK+="video-dec%n"
SUBSYSTEM=="video4linux", ATTR{name}=="rockchip,rk3568-vpu-dec", SYMLINK+="video-dec%n"
# AV1 decoder on rk3588 is still not well supported, so disable it now
#SUBSYSTEM=="video4linux", ATTR{name}=="rockchip,rk3588-av1-vpu-dec", SYMLINK+="video-dec%n"
SUBSYSTEM=="media", ATTR{model}=="hantro-vpu", SYMLINK+="media-dec%n"
Expand Down

0 comments on commit 0579edc

Please sign in to comment.