drm/i915: DDI: call intel_psr_ and _edp_drrs_enable() on pipe updates (v2)
authorHans de Goede <hdegoede@redhat.com>
Thu, 20 Dec 2018 13:21:20 +0000 (14:21 +0100)
committerHans de Goede <hdegoede@redhat.com>
Tue, 25 Dec 2018 08:10:01 +0000 (09:10 +0100)
commit2ef82327c2c762517caacf063766a02efc978ccf
tree32bf2e60d4ef5e633560c471ee92ca154d9f8cf7
parentf69a0d71d49cbd22dab85e9654ec7a8fc7a7d057
drm/i915: DDI: call intel_psr_ and _edp_drrs_enable() on pipe updates (v2)

Call intel_psr_enable() and intel_edp_drrs_enable() on pipe updates to make
sure that we enable PSR / DRRS (when applicable) on fastsets.

Note calling these functions when PSR / DRRS has already been enabled is a
no-op, so it is safe to do this on every encoder->update_pipe callback.

Changes in v2:
-Merge the patches adding the intel_psr_enable() and intel_edp_drrs_enable()
 calls into a single patch

Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20181220132120.15318-3-hdegoede@redhat.com
drivers/gpu/drm/i915/intel_ddi.c