drm/dp: Store coasting vtotal in struct drm_dp_as_sdp

Add new field in struct drm_dp_as_sdp to store coasting vtotal.
This is used by the sinks that support Panel Replay and Asynchronous
timing during PR Active to derive refresh rate, when AS SDP transmission
is stopped by the source.

Signed-off-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Suraj Kandpal <suraj.kandpal@intel.com>
Link: https://patch.msgid.link/20260428074457.3566918-7-ankit.k.nautiyal@intel.com
This commit is contained in:
Ankit Nautiyal
2026-04-28 13:14:54 +05:30
committed by Suraj Kandpal
parent 24b960b833
commit e878adca84
2 changed files with 2 additions and 0 deletions

View File

@@ -3512,6 +3512,7 @@ void drm_dp_as_sdp_log(struct drm_printer *p, const struct drm_dp_as_sdp *as_sdp
drm_printf(p, " duration increase ms: %d\n", as_sdp->duration_incr_ms);
drm_printf(p, " duration decrease ms: %d\n", as_sdp->duration_decr_ms);
drm_printf(p, " operation mode: %d\n", as_sdp->mode);
drm_printf(p, " coasting vtotal: %d\n", as_sdp->coasting_vtotal);
}
EXPORT_SYMBOL(drm_dp_as_sdp_log);

View File

@@ -126,6 +126,7 @@ struct drm_dp_as_sdp {
int duration_decr_ms;
bool target_rr_divider;
enum operation_mode mode;
int coasting_vtotal;
};
void drm_dp_as_sdp_log(struct drm_printer *p,