]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/dp: Add Adaptive Sync SDP logging
authorMitul Golani <mitulkumar.ajitkumar.golani@intel.com>
Fri, 22 Mar 2024 03:11:50 +0000 (08:41 +0530)
committerAnkit Nautiyal <ankit.k.nautiyal@intel.com>
Thu, 4 Apr 2024 07:54:43 +0000 (13:24 +0530)
commit0bbb8f594e33286cf10a9c722a68a32160fe5a7f
treeacd7198606b9f479a94a9055e7a0e29bb7e1c682
parenta835b784ba1a4514434f619fad2a0f9f1bf72d62
drm/dp: Add Adaptive Sync SDP logging

Add structure representing Adaptive Sync Secondary Data Packet (AS SDP).
Also, add Adaptive Sync SDP logging in drm_dp_helper.c to facilitate
debugging.

--v2:
- Update logging. [Jani, Ankit]
- Use 'as_sdp' instead of 'async' [Ankit]
- Correct define placeholders to where they are actually used. [Jani]
- Update members in 'as_sdp' structure to make it uniform. [Jani]

--v3:
- Added changes to dri-devel mailing list. No code changes.

--v4:
- Instead of directly using operation mode, use an enum to accommodate
all operation modes (Ankit).

--v5:
Nit-pick changes to commit message.

--v6:
- Add correct place holder and name change for AS_SDP_OP_MODE.
- Separate i915 changes from drm changes.
- Remove extra lines.

--v7:
- Add drm/dp in subject line (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://patchwork.freedesktop.org/patch/msgid/20240322031157.3823909-3-mitulkumar.ajitkumar.golani@intel.com
drivers/gpu/drm/display/drm_dp_helper.c
include/drm/display/drm_dp.h
include/drm/display/drm_dp_helper.h