diff options
author | Mika Kahola <mika.kahola@intel.com> | 2023-11-06 13:42:28 +0200 |
---|---|---|
committer | Mika Kahola <mika.kahola@intel.com> | 2023-11-07 09:38:02 +0200 |
commit | 2b981d57e480e024cde2a0ecb6edee28a8ec39d6 (patch) | |
tree | a01398159dbe6e91206dd4855c48046a8db346f4 /drivers/gpu/drm/i915/display/intel_display_driver.c | |
parent | ab67821fa9e01ff35790b8bbf256c1b65c3f628f (diff) |
drm/i915/display: Support PSR entry VSC packet to be transmitted one frame earlier
Display driver shall read DPCD 00071h[3:1] during configuration
to get PSR setup time. This register provides the setup time
requirement on the VSC SDP entry packet. If setup time cannot be
met with the current timings
(e.g., PSR setup time + other blanking requirements > blanking time),
driver should enable sending VSC SDP one frame earlier before sending
the capture frame.
BSpec: 69895 (PSR Entry Setup Frames 17:16)
v2: Write frames before su entry to correct register (Ville, Jouni)
Move frames before su entry calculation to it's
own function (Ville, Jouni)
Rename PSR Entry Setup Frames register to indicate
Lunarlake specificity (Jouni)
v3: Modify setup entry frames calculation function to
return the actual frames (Ville)
Match comment with actual implementation (Jouni)
v4: Drop "set" from function naming (Jouni, Ville)
Use i915 instead of dev_priv (Jouni)
Signed-off-by: Mika Kahola <mika.kahola@intel.com>
Reviewed-by: Jouni Högander <jouni.hogander@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20231106114228.146574-1-mika.kahola@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/display/intel_display_driver.c')
0 files changed, 0 insertions, 0 deletions