diff options
author | José Roberto de Souza <jose.souza@intel.com> | 2021-04-17 17:21:23 -0700 |
---|---|---|
committer | José Roberto de Souza <jose.souza@intel.com> | 2021-05-11 12:29:01 -0700 |
commit | d54e017e62d806a2b58f63aabd6a428478617913 (patch) | |
tree | a6d49681a9377c65b7e6843e25ca5bcb6cefaaa5 /lib/.gitignore | |
parent | 78b772e1a01f699fbbcaa59d7a298aabe66a9b21 (diff) |
drm/i915/display: Replace intel_psr_enabled() calls by intel_crtc_state check
All of this places don't need to intel_psr_enabled() that will lock
psr mutex, check state and unlock.
Instead it can directly check PSR state in intel_crtc_state, the only
place that was not possible was intel_read_dp_vsc_sdp() but since
"drm/i915/display: Fill PSR state during hardware configuration read
out" it is possible.
Cc: Gwan-gyeong Mun <gwan-gyeong.mun@intel.com>
Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
Reviewed-by: Radhakrishna Sripada <radhakrishna.sripada@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210418002126.87882-2-jose.souza@intel.com
Diffstat (limited to 'lib/.gitignore')
0 files changed, 0 insertions, 0 deletions