]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
drm/i915: Do not enable DRRS when PSR is enabled
authorRadhakrishna Sripada <radhakrishna.sripada@intel.com>
Thu, 14 Sep 2017 18:16:41 +0000 (11:16 -0700)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Mon, 18 Sep 2017 19:37:57 +0000 (12:37 -0700)
commitda83ef85f5356b4bdf534add20fb34dcc6b53fc1
treee7e6420ed833b8ae2d058f4d35480156e7f76d15
parent22ea4f3528efaa0523d1643264372d0bdfbd49bd
drm/i915: Do not enable DRRS when PSR is enabled

Some platforms do not support PSR and DRRS simultaneously.
Visual artifacts and flickering were reported on BDW HP Spectre
x360 Convertible. Deferring to PSR when both PSR and DRRS are
supported by the panel.

V2: Minor code-style changes suggested by Rodrigo
V3: Add a WARN_ON during PSR init suggested by Dhinakaran
    Correct debug message,title suggested by Jani

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=101111
Cc: Nicholas Stommel <nicholas.stommel@gmail.com>
Cc: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
Cc: Jani Nikula <jani.nikula@intel.com>
Cc: Clinton Taylor <clinton.a.taylor@intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Radhakrishna Sripada <radhakrishna.sripada@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20170914181641.24393-1-radhakrishna.sripada@intel.com
drivers/gpu/drm/i915/intel_dp.c
drivers/gpu/drm/i915/intel_psr.c