mirror of
https://github.com/torvalds/linux.git
synced 2026-03-08 03:24:45 +01:00
drm/i915/vrr: Add state dump for DC Balance params
Add state dump for dc balance params to track DC Balance crtc state config. -v1: -- nitpick: s/Vblank target/vblank target. (Ankit) Signed-off-by: Mitul Golani <mitulkumar.ajitkumar.golani@intel.com> Reviewed-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com> Signed-off-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com> Link: https://patch.msgid.link/20251223104542.2688548-7-mitulkumar.ajitkumar.golani@intel.com
This commit is contained in:
parent
be843f3480
commit
c09112ca3c
1 changed files with 8 additions and 0 deletions
|
|
@ -303,6 +303,14 @@ void intel_crtc_state_dump(const struct intel_crtc_state *pipe_config,
|
|||
drm_printf(&p, "vrr: vmin vblank: %d, vmax vblank: %d, vmin vtotal: %d, vmax vtotal: %d\n",
|
||||
intel_vrr_vmin_vblank_start(pipe_config), intel_vrr_vmax_vblank_start(pipe_config),
|
||||
intel_vrr_vmin_vtotal(pipe_config), intel_vrr_vmax_vtotal(pipe_config));
|
||||
drm_printf(&p, "vrr: dc balance: %s, vmin: %d vmax: %d guardband: %d, slope: %d max increase: %d max decrease: %d vblank target: %d\n",
|
||||
str_yes_no(pipe_config->vrr.dc_balance.enable),
|
||||
pipe_config->vrr.dc_balance.vmin, pipe_config->vrr.dc_balance.vmax,
|
||||
pipe_config->vrr.dc_balance.guardband,
|
||||
pipe_config->vrr.dc_balance.slope,
|
||||
pipe_config->vrr.dc_balance.max_increase,
|
||||
pipe_config->vrr.dc_balance.max_decrease,
|
||||
pipe_config->vrr.dc_balance.vblank_target);
|
||||
|
||||
drm_printf(&p, "requested mode: " DRM_MODE_FMT "\n",
|
||||
DRM_MODE_ARG(&pipe_config->hw.mode));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue