Skip to content

Instantly share code, notes, and snippets.

@devarsht
Last active June 18, 2024 18:58
Show Gist options
  • Save devarsht/70cd95d4440ddc678489d93885ddd4dd to your computer and use it in GitHub Desktop.
Save devarsht/70cd95d4440ddc678489d93885ddd4dd to your computer and use it in GitHub Desktop.
v14_jpeg_encoder_runtime_pm_check_idle_state
Idle state :
=============
root@am62axx-evm:~# k3conf dump devices 201
|------------------------------------------------------------------------------|
| VERSION INFO |
|------------------------------------------------------------------------------|
| K3CONF | (version v0.1-90-g1dd468d built Mon Jul 10 05:34:55 PM UTC 2023) |
| SoC | AM62Ax SR1.0 |
| SYSFW | ABI: 3.1 (firmware version 0x0009 '9.2.7--v09.02.07 (Kool Koala))') |
|------------------------------------------------------------------------------|
|---------------------------------------------------|
| Device ID | Device Name | Device Status |
|---------------------------------------------------|
| 201 | AM62AX_DEV_JPGENC0 | DEVICE_STATE_OFF |
|---------------------------------------------------|
# cat /sys/bus/platform/devices/bus@f0000/fd20000.jpeg-encoder/power/runtime_status
suspended
Launch use-case:
==================
gst-launch-1.0 videotestsrc ! video/x-raw, width=1280, height=720, format=NV61 ! v4l2jpegenc ! fakesink
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Redistribute latency...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
Redistribute latency...
New clock: GstSystemClock
root@am62axx-evm:~# cat /sys/bus/platform/devices/bus@f0000/fd20000.jpeg-encoder/power/runtime_status
active
root@am62axx-evm:~# k3conf dump devices 201
|------------------------------------------------------------------------------|
| VERSION INFO |
|------------------------------------------------------------------------------|
| K3CONF | (version v0.1-90-g1dd468d built Mon Jul 10 05:34:55 PM UTC 2023) |
| SoC | AM62Ax SR1.0 |
| SYSFW | ABI: 3.1 (firmware version 0x0009 '9.2.7--v09.02.07 (Kool Koala))') |
|------------------------------------------------------------------------------|
|--------------------------------------------------|
| Device ID | Device Name | Device Status |
|--------------------------------------------------|
| 201 | AM62AX_DEV_JPGENC0 | DEVICE_STATE_ON |
|--------------------------------------------------|
root@am62axx-evm:~#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment