[PATCH i-g-t v1] lib/igt_psr: Fix PSR active check for DisplayPort connectors
Hogander, Jouni
jouni.hogander at intel.com
Fri Mar 21 13:00:14 UTC 2025
On Fri, 2025-03-21 at 03:26 +0530, Naladala Ramanaidu wrote:
> Update PSR active check logic to correctly identify active
> state for Panel Replay on DisplayPort connectors.
>
> Signed-off-by: Naladala Ramanaidu <ramanaidu.naladala at intel.com>
Reviewed-by: Jouni Högander <jouni.hogander at intel.com>
> ---
> lib/igt_psr.c | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/lib/igt_psr.c b/lib/igt_psr.c
> index 83c21e6ba..e7b630096 100644
> --- a/lib/igt_psr.c
> +++ b/lib/igt_psr.c
> @@ -122,7 +122,9 @@ static bool psr_active_check(int debugfs_fd, enum
> psr_mode mode, igt_output_t *o
>
> igt_skip_on(strstr(buf, "PSR sink not reliable: yes"));
>
> - active = strstr(buf, state);
> + active = strstr(buf, state) ||
> + ((c->connector_type ==
> DRM_MODE_CONNECTOR_DisplayPort) &&
> + strstr(buf, "SU_STANDBY"));
>
> if (active && output && sink_status_checks()) {
> active = psr_active_sink_check(debugfs_fd, output);
More information about the igt-dev
mailing list