diff options
author | Rodrigo Vivi <[email protected]> | 2014-11-19 07:37:00 -0800 |
---|---|---|
committer | Daniel Vetter <[email protected]> | 2014-12-03 09:35:08 +0100 |
commit | e2bbc343de8ea463af9da810b6e5e32dbd636b44 (patch) | |
tree | 6be98742806f0e921aff1a6f8ef1bc049e1d9577 /lib/test-string_helpers.c | |
parent | c8f7df58f711e02b0788b75c054c6d32056ea170 (diff) |
drm/i915: PSR VLV/CHV: Introduce setup, enable and disable functions
The biggest difference from HSW/BDW PSR here is that VLV enable_source
function enables PSR but let it in Inactive state. So it might be called
on early stage along with setup and enable_sink ones.
v2: Rebase over intel_psr.c;
Remove docs from static functions;
Merge vlv_psr_active_on_pipe;
Timeout for psr transition is 250us;
Remove SRC_TRASMITTER_STATE;
v3: Rebase after is_psr_enabled function got removed;
Get SRC_TRANSMITTER_STATE back to be on the safe side since
default for panels is to require link training on exit when
main link off;
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;
Cc: Durgadoss R <[email protected]>
Signed-off-by: Rodrigo Vivi <[email protected]>
Reviewed-by: Durgadoss R <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions