diff options
| author | Jason-JH Lin <[email protected]> | 2025-08-29 09:15:59 +0000 |
|---|---|---|
| committer | Chun-Kuang Hu <[email protected]> | 2025-11-01 14:14:56 +0000 |
| commit | afcfb6c8474d9e750880aaa77952cc588f859613 (patch) | |
| tree | 50aae147d7e4c465487ddbb575bf271276239c2b /lib/mpi/mpi-scan.c | |
| parent | drm/mediatek: Disable AFBC support on Mediatek DRM driver (diff) | |
| download | kernel-afcfb6c8474d9e750880aaa77952cc588f859613.tar.gz kernel-afcfb6c8474d9e750880aaa77952cc588f859613.zip | |
drm/mediatek: Add pm_runtime support for GCE power control
Call pm_runtime_resume_and_get() before accessing GCE hardware in
mbox_send_message(), and invoke pm_runtime_put_autosuspend() in the
cmdq callback to release the PM reference and start autosuspend for
GCE. This ensures correct power management for the GCE device.
Fixes: 8afe816b0c99 ("mailbox: mtk-cmdq-mailbox: Implement Runtime PM with autosuspend")
Signed-off-by: Jason-JH Lin <[email protected]>
Reviewed-by: CK Hu <[email protected]>
Link: https://patchwork.kernel.org/project/dri-devel/patch/[email protected]/
Signed-off-by: Chun-Kuang Hu <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-scan.c')
0 files changed, 0 insertions, 0 deletions
