diff options
author | Rodrigo Vivi <rodrigo.vivi@intel.com> | 2018-02-27 13:29:13 -0800 |
---|---|---|
committer | Rodrigo Vivi <rodrigo.vivi@intel.com> | 2018-02-27 15:54:17 -0800 |
commit | c4932d7956d8226e20c0c44b04fe9a2cbfcd8f51 (patch) | |
tree | d40fd3733bd8013f3b68489eef15107af3f9247f /CREDITS | |
parent | 8cef3e5c0d1927926a95a6a72dc00d39048ecb12 (diff) |
drm/i915/psr: Don't avoid PSR when PSR2 conditions are not met.
We can still use PSR1 when PSR2 conditions are not met.
So, let's split the check in a way that we make sure has_psr
gets set independently of PSR2 criteria.
v2: Duh! Handle proper return to avoid breaking PSR2.
v3: (DK):
- better name for psr2 conditions check function
- Don't remove FIXME block and psr2.support check.
- Add a debug message to show us what PSR or PSR2 is
getting enabled now we have ways to enabled PSR on
PSR2 panels.
- s/PSR2 disabled/PSR2 not enabled
Cc: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Reviewed-by: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180227212913.14083-2-rodrigo.vivi@intel.com
Diffstat (limited to 'CREDITS')
0 files changed, 0 insertions, 0 deletions