Now that we have switched to VRR Timing generator from PTL onwards, we no longer need to program VTOTAL.Vtotal bits, which were used by Legacy Timing Generator. This patch series is a continuation from discussion of another patch for avoid reading/writing VTOTAL.Vtotal bits [1]. First patch introduces a macro to exclude DSI transcoded from VRR programming in a consistent manner. The next patch actually modifies reading/writing VTOTAL register.
[1] https://patchwork.freedesktop.org/patch/644683/?series=134383&rev=17 Rev2: Address comments from Ville. Rev3: Fix the BAT issues due to incorrect check. Keep the readout for vtotal intact, and just overwrite for cases where we dont want to read vtotal. (Ville) Ankit Nautiyal (2): drm/i915/display: Introduce transcoder_has_vrr() helper drm/i915/display: Avoid use of VTOTAL.Vtotal bits drivers/gpu/drm/i915/display/intel_display.c | 29 +++++++++++++++++++- drivers/gpu/drm/i915/display/intel_vrr.c | 10 +++++++ 2 files changed, 38 insertions(+), 1 deletion(-) -- 2.45.2
