Rodrigo Vivi 995d304774 drm/i915: VLV/CHV PSR Software timer mode
This patch introduces exit/activate functions for PSR
on VLV+. Since on VLV+ HW cannot track frame updates and force PSR
exit let's use fully SW tracking available.

v2: Rebase over intel_psr.c;
    Remove Single Frame update transitioning from state 3 to 5 directly;
    Fake a software invalidation for sprites and cursor so we don't miss
    any screen update;

v3: As pointed out by Durgadoss msecs_to_jiffies used on wait_for only uses int,
    so let's use 1 instead. Althought the 1/4 of this is needed for the
    transition let's use 1 for simplicity;
    Also fix comments as suggested by Durgadoss

Cc: Durgadoss R <durgadoss.r@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Reviewed-by: Durgadoss R <durgadoss.r@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2014-12-03 09:35:08 +01:00
..
2014-11-25 19:43:29 +03:00
2014-11-20 11:27:31 +10:00
2014-12-02 10:58:33 +10:00
2014-11-26 20:09:40 +02:00
2014-11-20 11:30:37 +10:00
2014-12-02 10:58:33 +10:00
2014-12-02 10:58:33 +10:00
2014-09-24 11:43:41 +10:00
2014-11-20 11:33:51 +10:00
2014-09-12 11:19:47 +02:00
2014-11-12 17:56:12 +10:00
2014-09-10 17:43:10 +10:00