Add support for Common SDP Transmission Line
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v7 Latest14 patches 4 repliesIn review
- v613 patches 6 repliesSuperseded
- v512 patches 9 repliesSuperseded
Earlier versions · 2
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v4 | 12 patches | 12 replies | Superseded | |
| v1 | 12 patches | 1 reply | Superseded |
Patches in v7 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/14 | drm/i915/dip: Add new file to handle Data Island Packet hardwaredrivers/ drivers/ drivers/ +4 more | +98 | 0 replies | |
| 2/14 | drm/i915/vrr: Use the helper to write EMP_AS_SDP_TL registerdrivers/ | +2 | 0 replies | |
| 3/14 | drm/i915/intel_dip: Add check for DP encoderdrivers/ | +8 | 0 replies | |
| 4/14 | drm/i915/dip: Add helper to get AS SDP Transmission Linedrivers/ | +18 | 0 replies | |
| 5/14 | drm/i915/display: Add crtc state for DIP transmission linesdrivers/ drivers/ | +11 | 0 replies | |
| 6/14 | drm/i915/dip: Store and use AS SDP transmission line from crtc statedrivers/ drivers/ drivers/ +1 more | +19 | 1 reply | |
| 7/14 | drm/i915/dip_regs: Add register definitions for common SDP Transmission Linedrivers/ | +20 | 0 replies | |
| 8/14 | drm/i915/dip: Add HAS_COMMON_SDP_TL macrodrivers/ | +10 | 0 replies | |
| 9/14 | drm/i915/dip: Store SDP transmission lines in crtc_statedrivers/ drivers/ | +11 | 0 replies | |
| 10/14 | drm/i915/dp: Introduce helpers to enable/disable CMN SDP Transmission linedrivers/ drivers/ | +58 | 0 replies | |
| 11/14 | drm/i915/dip: Enable Common SDP Transmission linedrivers/ drivers/ | +99 | 1 reply | |
| 12/14 | drm/i915/dp: Account VSC SDP in min guardbanddrivers/ | +7 | 1 reply | |
| 13/14 | drm/i915/dp: Adjust SDP guardband requirement for CMN_SDP_TLdrivers/ | +50 | 0 replies | |
| 14/14 | drm/i915/display: Dump DIP Transmission linesdrivers/ | +9 | 0 replies |
Reviews trailers per patch
All 14 patches have a Reviewed-by or Acked-by.
| Patch | Suraj Kandpal |
|---|---|
| 1/14 | R-b |
| 2/14 | R-b |
| 3/14 | R-b |
| 4/14 | R-b |
| 5/14 | R-b |
| 6/14 | R-b |
| 7/14 | R-b |
| 8/14 | R-b |
| 9/14 | R-b |
| 10/14 | R-b |
| 11/14 | R-b |
| 12/14 | R-b |
| 13/14 | R-b |
| 14/14 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v7 00/14] Add support for Common SDP Transmission Line
Xe3p_lpd introduces new register bits to program a common SDP Transmission line that will be used by the Hardware to position the SDPs. Along with this, another new register is also added to stagger the different SDPs.
This series adds support for programming the Common SDP Transmission Line (CMN_SDP_TL) and its stagger control registers.
Rev2:
- Add tracking for AS SDP Transmission line first. Instead of directly programming it in the register, compute the state during compute_config_late() and write the value from crtc_state. Readout from the register through a vrr helper, since the register is defined in context of VRR and will be used for both DP and HDMI VRR packets.
- Add support to track other SDP transmission lines, instead of stagger values.
- Compute the transmission lines in compute_config_late path and add readout.
- Always write the Common SDP Transmission line and other stagger values, whether the packets are sent or not.
- Dump SDP transmission lines in crtc_state.
Rev3:
- Introduce new files for handling the Data Island Packets (DIPs) programming in one place. (Ville)
- Extract the Transmission Line programming for
HDMI Extended Metadata Packet (EMP) and Adaptive Sync SDP (AS SDP) i.e. EMP_AS_SDP_TL in the new file.
- Add programming for Common Base SDP Transmission lines and other stagger offsets in the new file.
- Add a #TODO to extract other helpers that deal with Data Island Packets and VIDEO_DIP registers.
- Place the HAS_* Macros related to DIP in the intel_dip.h file instead of intel_display_devices.h (Jani)
- Make function names more descriptive and avoid overuse of multiple acronyms. (Jani)
Note:
- Though I have fixed the naming as suggested in most places, I have retained HAS_EMP_AS_SDP_TL for the following reasons:
1) Lack of an apt name that avoids the acronym for
'Extended Metadata Packet Adaptive Sync Secondary Packet Transmission Line'.
2) Keeping this name makes it easier to find and map with the exact name for such a complex register name.
However, I am open to suggestions for a better name.
Rev4:
- Drop the patch to check for DP encoder before writing EMP_AS_SDP_TL register. Instead reset the register to 0 for non DP encoder case.
Rev5:
- Rebase
- Address review comments from Suraj:
- Drop some redundant checks, and fix few commit messages.
Rev6:
- Move the new struct in intel_display_types.h from intel_dip.h (Jani)
- Check for CMN_SDP_TL restriction and Warn if not followed. (Suraj)
- Use HAS_CMN_SDP_TL() instead of checking if cmn_sdp_tl is set or not. (Sashiko)
- Make sure that the guardband is sufficient as per CMN_SDP_TL while optiminzing the guardband.
Rev7:
- Account for VSC SDP's own minimum guardband requirement in intel_dp_sdp_min_guardband(), for completeness. (Sashiko)
- Wrap two long line macro definitions in intel_dip_regs.h.
Ankit Nautiyal (13):
drm/i915/dip: Add new file to handle Data Island Packet hardware drm/i915/vrr: Use the helper to write EMP_AS_SDP_TL register drm/i915/intel_dip: Add check for DP encoder
drm/i915/dip: Add helper to get AS SDP Transmission Line drm/i915/display: Add crtc state for DIP transmission lines drm/i915/dip: Store and use AS SDP transmission line from crtc state drm/i915/dip: Add HAS_COMMON_SDP_TL macro
drm/i915/dip: Store SDP transmission lines in crtc_state drm/i915/dp: Introduce helpers to enable/disable CMN SDP Transmission
line
drm/i915/dip: Enable Common SDP Transmission line drm/i915/dp: Account VSC SDP in min guardband
drm/i915/dp: Adjust SDP guardband requirement for CMN_SDP_TL drm/i915/display: Dump DIP Transmission lines
Arun R Murthy (1):
drm/i915/dip_regs: Add register definitions for common SDP
Transmission Line
drivers/gpu/drm/i915/Makefile | 1 + .../drm/i915/display/intel_crtc_state_dump.c | 9 + drivers/gpu/drm/i915/display/intel_ddi.c | 5 + drivers/gpu/drm/i915/display/intel_dip.c | 215 ++++++++++++++++++ drivers/gpu/drm/i915/display/intel_dip.h | 53 +++++ drivers/gpu/drm/i915/display/intel_dip_regs.h | 38 ++++ drivers/gpu/drm/i915/display/intel_display.c | 6 + .../drm/i915/display/intel_display_types.h | 16 ++ drivers/gpu/drm/i915/display/intel_dp.c | 62 ++++- drivers/gpu/drm/i915/display/intel_vrr.c | 14 +- drivers/gpu/drm/i915/display/intel_vrr_regs.h | 6 - drivers/gpu/drm/xe/Makefile | 1 + 12 files changed, 407 insertions(+), 19 deletions(-) create mode 100644 drivers/gpu/drm/i915/display/intel_dip.c create mode 100644 drivers/gpu/drm/i915/display/intel_dip.h create mode 100644 drivers/gpu/drm/i915/display/intel_dip_regs.h
Signature · 1 line
2.50.1