diff options
author | Linus Torvalds | 2016-08-02 19:29:03 -0400 |
---|---|---|
committer | Linus Torvalds | 2016-08-02 19:29:03 -0400 |
commit | c7fac299672ee98a1da90ea2e473180fc75d2c53 (patch) | |
tree | e0b325e271f17fe73bfe90e01118b01b3c93815c /include | |
parent | c8d0267efdb4ab16cd0ed6e0218e8c164006de48 (diff) | |
parent | dfd2e9ab6a7db56a5f5bb55f71485a92613c8e11 (diff) |
Merge tag 'drm-psr-fixes-for-v4.8' of git://people.freedesktop.org/~airlied/linux
Pull i915 drm fixes from Dave Airlie:
"These are the two fixes from Ville for the bug you are seeing on your
HSW laptop.
They pretty much disable PSR in some cases where the panel reports a
setup time that would cause issues, like you seem to have"
* tag 'drm-psr-fixes-for-v4.8' of git://people.freedesktop.org/~airlied/linux:
drm/i915: Check PSR setup time vs. vblank length
drm/dp: Add drm_dp_psr_setup_time()
Diffstat (limited to 'include')
-rw-r--r-- | include/drm/drm_dp_helper.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/drm/drm_dp_helper.h b/include/drm/drm_dp_helper.h index 72dee1213268..63b8bd502444 100644 --- a/include/drm/drm_dp_helper.h +++ b/include/drm/drm_dp_helper.h @@ -657,6 +657,8 @@ struct edp_vsc_psr { #define EDP_VSC_PSR_UPDATE_RFB (1<<1) #define EDP_VSC_PSR_CRC_VALUES_VALID (1<<2) +int drm_dp_psr_setup_time(const u8 psr_cap[EDP_PSR_RECEIVER_CAP_SIZE]); + static inline int drm_dp_max_link_rate(const u8 dpcd[DP_RECEIVER_CAP_SIZE]) { |