drm/i915: Remove old PSR2 FIXME about frontbuffer tracking
authorJosé Roberto de Souza <jose.souza@intel.com>
Tue, 4 Dec 2018 00:34:00 +0000 (16:34 -0800)
committerJosé Roberto de Souza <jose.souza@intel.com>
Tue, 4 Dec 2018 20:12:32 +0000 (12:12 -0800)
Our frontbuffer tracking improved over the years + the WA #0884
helped us keep PSR2 enabled while triggering screen updates when
necessary so this FIXME is not valid anymore.

Acked-by: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20181204003403.23361-6-jose.souza@intel.com
drivers/gpu/drm/i915/intel_psr.c

index b513a15d60e1989a75ae96b99a5c84ea5a8069f7..11b038ba96ec218f6cadabf7ca42ae3b83342916 100644 (file)
@@ -476,9 +476,6 @@ static void hsw_activate_psr2(struct intel_dp *intel_dp)
        idle_frames = max(idle_frames, dev_priv->psr.sink_sync_latency + 1);
        val = idle_frames << EDP_PSR2_IDLE_FRAME_SHIFT;
 
-       /* FIXME: selective update is probably totally broken because it doesn't
-        * mesh at all with our frontbuffer tracking. And the hw alone isn't
-        * good enough. */
        val |= EDP_PSR2_ENABLE | EDP_SU_TRACK_ENABLE;
        if (INTEL_GEN(dev_priv) >= 10 || IS_GEMINILAKE(dev_priv))
                val |= EDP_Y_COORDINATE_ENABLE;