drm/i915/display/dp: Do not enable PSR if VRR is enabled
authorManasi Navare <manasi.d.navare@intel.com>
Fri, 22 Jan 2021 23:26:36 +0000 (15:26 -0800)
committerManasi Navare <manasi.d.navare@intel.com>
Mon, 25 Jan 2021 23:22:59 +0000 (15:22 -0800)
commit38ff8d2824b7d65577d145114de3b7188fa265ac
treec28cfc6353d5e4250f9cd384aa215c2ca7682656
parent117cd09ba52857a60dc5d7f61941046625d8ff5a
drm/i915/display/dp: Do not enable PSR if VRR is enabled

Even though our HW supports PSR + VRR, the available panels
do not work reliably with PSR and VRR together. So if user
requested VRR and is supported by HW enable that and do not
enable PSR in that case.

Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Cc: Gwan-gyeong Mun <gwan-gyeong.mun@intel.com>
Cc: Imre Deak <imre.deak@intel.com>
Signed-off-by: Manasi Navare <manasi.d.navare@intel.com>
Reviewed-by: Gwan-gyeong Mun <gwan-gyeong.mun@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210122232647.22688-7-manasi.d.navare@intel.com
drivers/gpu/drm/i915/display/intel_psr.c