]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
drm/dp: Add target_rr_divider field in AS SDP logging
authorAnkit Nautiyal <ankit.k.nautiyal@intel.com>
Tue, 28 Apr 2026 07:44:56 +0000 (13:14 +0530)
committerSuraj Kandpal <suraj.kandpal@intel.com>
Mon, 11 May 2026 08:58:49 +0000 (14:28 +0530)
The field target_rr_divider is missing from the AS SDP logging.
Add it and print the divider value (1.001 or 1.000) as per the DP 2.1 spec.

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-9-ankit.k.nautiyal@intel.com
drivers/gpu/drm/display/drm_dp_helper.c

index c2221aa40643175dd009e574167fab5de144f82d..398c6fcab2e5914115a9bee71aafd83cdc523515 100644 (file)
@@ -3540,6 +3540,8 @@ 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, "    target rr divider: %s\n",
+                  as_sdp->target_rr_divider ? "1.001" : "1.000");
        drm_printf(p, "    coasting vtotal: %d\n", as_sdp->coasting_vtotal);
 }
 EXPORT_SYMBOL(drm_dp_as_sdp_log);