drm: Add PSR helpers
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 4 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | drm: Add helpers to kick off PSR enable/disableDocumentation/ drivers/ drivers/ +8 more | +482 | 4 replies | |
| 2/5 | drm/rockchip: Check for fast link training before enabling psrdrivers/ | +5 | 0 replies | |
| 3/5 | drm/rockchip: Use the helpers for PSRdrivers/ drivers/ drivers/ +7 more | +177 | 0 replies | |
| 4/5 | drm/rockchip: Don't fully disable vop on PSRdrivers/ | +38 | 0 replies | |
| 5/5 | drm/rockchip: Use drm_atomic_helper_commit_tail_rpmdrivers/ | +1 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/5] drm: Add PSR helpers
From: Sean Paul <[email protected]>
Hey all,
Here's a set to add some helpers for drivers looking to implement PSR. I've converted rockchip as a proof of concept, and will likely do the work for msm dsi sometime in the coming months.
PTAL,
Sean
Sean Paul (5):
drm: Add helpers to kick off PSR enable/disable drm/rockchip: Check for fast link training before enabling psr drm/rockchip: Use the helpers for PSR
drm/rockchip: Don't fully disable vop on PSR drm/rockchip: Use drm_atomic_helper_commit_tail_rpm
Documentation/gpu/drm-kms-helpers.rst | 9 + drivers/gpu/drm/Makefile | 2 +- .../drm/bridge/analogix/analogix_dp_core.c | 206 +++++++---- .../drm/bridge/analogix/analogix_dp_core.h | 1 - drivers/gpu/drm/drm_atomic_helper.c | 34 ++ drivers/gpu/drm/drm_atomic_uapi.c | 5 + drivers/gpu/drm/drm_fb_helper.c | 9 + drivers/gpu/drm/drm_framebuffer.c | 18 + drivers/gpu/drm/drm_psr_helper.c | 343 ++++++++++++++++++ drivers/gpu/drm/rockchip/Makefile | 3 +- .../gpu/drm/rockchip/analogix_dp-rockchip.c | 70 ++-- drivers/gpu/drm/rockchip/rockchip_drm_drv.c | 12 +- drivers/gpu/drm/rockchip/rockchip_drm_fb.c | 37 +- drivers/gpu/drm/rockchip/rockchip_drm_psr.c | 290 --------------- drivers/gpu/drm/rockchip/rockchip_drm_psr.h | 30 -- drivers/gpu/drm/rockchip/rockchip_drm_vop.c | 59 ++- include/drm/bridge/analogix_dp.h | 4 +- include/drm/drm_connector.h | 22 ++ include/drm/drm_crtc.h | 11 + include/drm/drm_mode_config.h | 6 + include/drm/drm_psr_helper.h | 24 ++ 21 files changed, 699 insertions(+), 496 deletions(-) create mode 100644 drivers/gpu/drm/drm_psr_helper.c delete mode 100644 drivers/gpu/drm/rockchip/rockchip_drm_psr.c delete mode 100644 drivers/gpu/drm/rockchip/rockchip_drm_psr.h create mode 100644 include/drm/drm_psr_helper.h
Signature · 6 lines
Sean Paul, Software Engineer, Google / Chromium OS _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel