Skip to content

Introduce struct cdclk_step

Anusha Srivatsa intel-gfx 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 25 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6drm/i915/display Add dg2_prog_squash_ctl() helperdrivers/gpu/drm/i915/display/intel_cdclk.c+14 -90 replies
2/6drm/i915/display: add cdclk action struct to cdclk_configdrivers/gpu/drm/i915/display/intel_cdclk.h+14 -04 replies
3/6drm/i915/display: Embed the new struct steps for squashingdrivers/gpu/drm/i915/display/intel_cdclk.c+8 -13 replies
4/6drm/i915/display: Embed the new struct steps for crawlingdrivers/gpu/drm/i915/display/intel_cdclk.c+8 -11 reply
5/6drm/i915/display: Embed the new struct steps for modesetdrivers/gpu/drm/i915/display/intel_cdclk.c drivers/gpu/drm/i915/display/intel_cdclk.h+14 -60 replies
6/6drm/i915/display: Dump the new cdclk config valuesdrivers/gpu/drm/i915/display/intel_cdclk.c+16 -25 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Intel-gfx] [PATCH 0/6] Introduce struct cdclk_step

This is a prep series for the actual cdclk refactoring that will be sent following this. Idea is to have a struct - cdclk_step that holds the following:
- cdclk action (squash, crawl or modeset)
- cdclk frequency
which gets populated in atomic check. Driver uses the populated values during atomic commit to do the suitable sequence of actions like programming squash ctl registers in case of squashing or PLL sequence incase of modeset and so on.

This series just addresses the initial idea. The actual plumming in the atomic commit phase will be sent shortly.

Cc Ville Syrjälä <[email protected]>
Cc Uma Shankar <[email protected]>
Cc Rodrigo Vivi <[email protected]>

Anusha Srivatsa (6):
drm/i915/display Add dg2_prog_squash_ctl() helper drm/i915/display: add cdclk action struct to cdclk_config drm/i915/display: Embed the new struct steps for squashing drm/i915/display: Embed the new struct steps for crawling drm/i915/display: Embed the new struct steps for modeset drm/i915/display: Dump the new cdclk config values

 drivers/gpu/drm/i915/display/intel_cdclk.c | 77 +++++++++++++++++-----
 drivers/gpu/drm/i915/display/intel_cdclk.h | 16 ++++-
 2 files changed, 74 insertions(+), 19 deletions(-)
Signature · 1 line
2.25.1