diff options
author | Ankit Nautiyal <ankit.k.nautiyal@intel.com> | 2025-03-27 17:46:29 +0300 |
---|---|---|
committer | Ankit Nautiyal <ankit.k.nautiyal@intel.com> | 2025-03-31 06:58:28 +0300 |
commit | 94f608992f8cabe9cc2e318d81b2beac87802cba (patch) | |
tree | 8ed73165ae0c65b82842b819b135593fb91650ce /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 7a6bf54c5f00b4a2d7a57e0733fd09216d9ea277 (diff) | |
download | linux-94f608992f8cabe9cc2e318d81b2beac87802cba.tar.xz |
drm/i915/display: Avoid use of VTOTAL.Vtotal bits
For platforms that always use VRR Timing Generator, the VTOTAL.Vtotal
bits are not required. Since the support for these bits is going to
be deprecated in upcoming platforms, avoid writing these bits for the
platforms that do not use legacy Timing Generator.
Since for these platforms vrr.vmin is always filled with crtc_vtotal,
use TRAN_VRR_VMIN to get the vtotal for adjusted_mode.
v2: Avoid having a helper for manipulating VTOTAL register, and instead
just make the change where required. (Ville)
v3: Set crtc_vtotal instead of working with the bits directly (Ville).
Use intel_vrr_vmin_vtotal() to set the vtotal during readout. (Ville)
v4: Keep the reading part unchanged, and let it get overwritten for
cases where we use vrr.vmin. (Ville)
Signed-off-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://lore.kernel.org/r/20250327144629.648306-3-ankit.k.nautiyal@intel.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions