On 4/4/26 20:31, Srinivasan Shanmugam wrote:
Fix do_mccs parameter usage in amdgpu_dm_update_freesync_caps.

This function checks FreeSync support from the display and updates
driver state.  MCCS (Monitor Control Command Set) over DDC (Display Data
Channel) is used for communication between GPU and monitor.

This changes comments but the title and the commit descriptions sound like changing the code. Can you clarify them?


Fixes: 980a8981351a ("drm/amd/display: Avoid to do MCCS transaction if 
unnecessary")
Cc: Harry Wentland <[email protected]>
Cc: Wayne Lin <[email protected]>
Cc: Roman Li <[email protected]>
Cc: Alex Hung <[email protected]>
Cc: Tom Chung <[email protected]>
Cc: Aurabindo Pillai <[email protected]>
Signed-off-by: Srinivasan Shanmugam <[email protected]>
---
  drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 1 +
  1 file changed, 1 insertion(+)

diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 
b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
index bac02ea15b8a..4b6a1c62bfa8 100644
--- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
+++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
@@ -13259,6 +13259,7 @@ static int parse_hdmi_amd_vsdb(struct 
amdgpu_dm_connector *aconnector,
   *
   * @connector: Connector to query.
   * @drm_edid: DRM EDID from monitor
+ * @do_mccs: Whether to query/update MCCS-based FreeSync capability handling.
   *
   * Amdgpu supports Freesync in DP and HDMI displays, and it is required to 
keep
   * track of some of the display information in the internal data struct used 
by

Reply via email to