From: Roman Li Date: Thu, 23 May 2024 21:48:27 +0000 (-0400) Subject: drm/amd/display: Add config support entry to replay caps debugfs X-Git-Tag: v6.11-rc1~141^2~18^2~101 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e8eff33f287274e731c5a655d8b111006aed3e98;p=thirdparty%2Fkernel%2Flinux.git drm/amd/display: Add config support entry to replay caps debugfs [Why] replay_capability debugfs tells whether sink and driver support replay feature. However replay enablement also depends on whether it is enabled/disabled via amdgpu module params. [How] Add 'Config support' entry to output current replay config. Reviewed-by: ChiaHsuan Chung Acked-by: Zaeem Mohamed Signed-off-by: Roman Li Tested-by: Daniel Wheeler Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c index 8db75afa9fc99..7cfa240a3cea7 100644 --- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c +++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c @@ -1008,6 +1008,7 @@ static int replay_capability_show(struct seq_file *m, void *data) seq_printf(m, "Sink support: %s\n", str_yes_no(sink_support_replay)); seq_printf(m, "Driver support: %s\n", str_yes_no(driver_support_replay)); + seq_printf(m, "Config support: %s\n", str_yes_no(link->replay_settings.config.replay_supported)); return 0; }