drm/i915/display: Do not check psr2 if psr/panel replay is not supported
authorJouni Högander <jouni.hogander@intel.com>
Mon, 20 Nov 2023 13:02:14 +0000 (15:02 +0200)
committerJouni Högander <jouni.hogander@intel.com>
Thu, 23 Nov 2023 07:47:02 +0000 (09:47 +0200)
commit8a9fd9ecc4f1f72839c94cc2ec6846d6d9a71987
tree608c03103c475e98fa344f92c8e5564fb0f85a09
parent2bb7a27bd7c311c4928d6a8b5edf4b2aaa948ea8
drm/i915/display: Do not check psr2 if psr/panel replay is not supported

Do not continue to psr2 checks if psr or panel replay is not supported.

Cc: Animesh Manna <animesh.manna@intel.com>
Fixes: b8cf5b5d266e ("drm/i915/panelreplay: Initializaton and compute config for panel replay")
Closes: https://gitlab.freedesktop.org/drm/intel/-/issues/9670
Signed-off-by: Jouni Högander <jouni.hogander@intel.com>
Reviewed-by: Animesh Manna <animesh.manna@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20231120130214.3332726-1-jouni.hogander@intel.com
drivers/gpu/drm/i915/display/intel_psr.c