diff options
author | Lyude Paul <lyude@redhat.com> | 2023-12-22 14:32:00 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2024-01-05 12:27:53 +1000 |
commit | eb284f4b37817d2038fdfe1a9d51769730ab7b5f (patch) | |
tree | f01701d18ceb48b3e6a1490579123754130667ff /fs | |
parent | eacabb5462717a52fccbbbba458365a4f5e61f35 (diff) |
drm/nouveau/dp: Honor GSP link training retry timeouts
Turns out that one of the ways that Nvidia's driver handles the pre-LT
timeout for eDP panels is by providing a retry timeout in their link
training callbacks that we're expected to wait for. Up until now we didn't
pay any attention to this parameter.
So, start honoring the timeout if link training fails - and retry up to 3
times. The "3 times" bit comes from OpenRM's link training code.
[airlied: this fixes the panel on one of my laptops]
Signed-off-by: Lyude Paul <lyude@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20231222043308.3090089-12-airlied@gmail.com
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions