]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/dp: Do not enable PSR2 if DSC is enabled
authorManasi Navare <manasi.d.navare@intel.com>
Wed, 28 Nov 2018 20:26:14 +0000 (12:26 -0800)
committerManasi Navare <manasi.d.navare@intel.com>
Thu, 29 Nov 2018 20:21:43 +0000 (12:21 -0800)
commit9159329361e7ccb62302ca4d72063395619cbc2d
tree19f20d2fdb8d4bf21fe987260c57bcee417c6ae9
parent2f9fdb832354df9ea71609765c51b9ec9bb08d28
drm/i915/dp: Do not enable PSR2 if DSC is enabled

If a eDP panel supports both PSR2 and VDSC, our HW cannot
support both at a time. Give priority to PSR2 if a requested
resolution can be supported without compression else enable
VDSC and keep PSR2 disabled.

v4:
Fix the unrealted stuff removed during rebase (Ville)
v3:
* Rebase
v2:
* Add warning for DSC and PSR2 enabled together (DK)

Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Cc: Jani Nikula <jani.nikula@intel.com>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Manasi Navare <manasi.d.navare@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20181128202628.20238-3-manasi.d.navare@intel.com
drivers/gpu/drm/i915/intel_psr.c