Claude review: drm/dp: Add a helper to get the SDP type as a string

Claude Code Review Bot
2026-04-12T02:51:26Z

Patch Review

Adds `dp_sdp_type_get_name()` and uses it in both `drm_dp_vsc_sdp_log()` and `drm_dp_as_sdp_log()`. The function covers the common SDP types.

Concern: If `vsc->sdp_type` or `as_sdp->sdp_type` was never set (e.g. old code paths that don't populate sdp_type), this would print "Unknown" instead of the previous hardcoded "VSC" / "AS_SDP". This is mitigated by patch 14 which sets sdp_type in the unpack path, but there could be a window between patches 6 and 14 where readback prints "Unknown" for AS SDP.

Missing R-b.