drm/i915/display: Disable DRRS when needed in fastsets
authorJosé Roberto de Souza <jose.souza@intel.com>
Tue, 25 Aug 2020 17:13:30 +0000 (10:13 -0700)
committerJosé Roberto de Souza <jose.souza@intel.com>
Thu, 27 Aug 2020 16:47:56 +0000 (09:47 -0700)
commit8040fefa387c5aea14d2f5753d7fbdd3344f2b7f
treeb5ef5530a506ab2a4583e9c88f811226ced4f481
parentbe2dd718ed4ad302708464d6f60a228a7eb7e344
drm/i915/display: Disable DRRS when needed in fastsets

Changes in the configuration could cause PSR to be compatible and
enabled so driver must also be able to disable DRRS when doing
fastsets.

v2: Fixed name of DRRS compute function (Anshuman)

Closes: https://gitlab.freedesktop.org/drm/intel/-/issues/209
Closes: https://gitlab.freedesktop.org/drm/intel/-/issues/173
Closes: https://gitlab.freedesktop.org/drm/intel/-/issues/209
Cc: Srinivas K <srinivasx.k@intel.com>
Cc: Hariom Pandey <hariom.pandey@intel.com>
Cc: Anshuman Gupta <anshuman.gupta@intel.com>
Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
Reviewed-by: Anshuman Gupta <anshuman.gupta@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200825171331.17971-2-jose.souza@intel.com
drivers/gpu/drm/i915/display/intel_ddi.c
drivers/gpu/drm/i915/display/intel_dp.c
drivers/gpu/drm/i915/display/intel_dp.h