diff options
author | Jouni Högander <[email protected]> | 2022-07-11 14:17:50 +0300 |
---|---|---|
committer | Stanislav Lisovskiy <[email protected]> | 2022-07-12 13:09:24 +0300 |
commit | 75f664903d8672897333b86bb450335ec6486ad5 (patch) | |
tree | 8dc48f3dbcb53b245ca4dfe250ecdd20a34978a1 /lib/mpi/mpi-internal.h | |
parent | 859161b952a453b86362f168fadef72a8ba31a05 (diff) |
drm/i915/display: Ensure PSR gets disabled if no encoders in new state
Currently PSR is left enabled when all planes are disabled if there
is no attached encoder in new state. This seems to be causing FIFO
underruns.
Fix this by checking if encoder exists in new crtc state and disable
PSR if it doesn't.
v2: Unify disable logic with existing
Cc: Mika Kahola <[email protected]>
Reported-by: Stanislav Lisovskiy <[email protected]>
Signed-off-by: Jouni Högander <[email protected]>
Signed-off-by: Stanislav Lisovskiy <[email protected]>
Reviewed-by: Stanislav Lisovskiy <[email protected]>
Signed-off-by: Stanislav Lisovskiy <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'lib/mpi/mpi-internal.h')
0 files changed, 0 insertions, 0 deletions