Commit 61070305 authored by Jouni Högander's avatar Jouni Högander Committed by Greg Kroah-Hartman
Browse files

drm/i915/psr: Use hw.adjusted mode when calculating io/fast wake times



[ Upstream commit 5311892a ]

Encoder compute config is changing hw.adjusted mode. Uapi.adjusted mode
doesn't get updated before psr compute config gets called. This causes io
and fast wake line calculation using adjusted mode containing values before
encoder adjustments. Fix this by using hw.adjusted mode instead of
uapi.adjusted mode.

Cc: Stanislav Lisovskiy <stanislav.lisovskiy@intel.com>

Signed-off-by: default avatarJouni Högander <jouni.hogander@intel.com>
Closes: https://gitlab.freedesktop.org/drm/intel/-/issues/8475


Fixes: cb42e8ed ("drm/i915/psr: Use calculated io and fast wake lines")
Reviewed-by: default avatarMika Kahola <mika.kahola@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230620111745.2870706-1-jouni.hogander@intel.com


(cherry picked from commit ef0af9db)
Signed-off-by: default avatarTvrtko Ursulin <tvrtko.ursulin@intel.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent df53f7a3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment