diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2022-09-07 12:10:49 +0300 |
---|---|---|
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2022-09-08 14:21:09 +0300 |
commit | 27d06077d6e064ab5c02988d14bca4748045d002 (patch) | |
tree | 6b3cc5fb56094028e25cc8a13d18a854905abc15 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 0ff0e219d9b8db047d3e800553f238136ed53ed7 (diff) |
drm/i915: Make M/N checks non-fuzzy
Now that we no longer fuzz M/N during fastset these should
match exctly.
In order to get a match with what the BIOS does we need to round
M/N down. And we do the opposite rounding when doing the readback.
That gets us pretty much the same thing back.
There can still be slight rounding differences between FDI M/N
vs. the DPLL output so we allow for tiny deviation in
intel_pipe_config_sanity_check().
v2: Tweak rounding/sanity check stuff a bit
Reviewed-by: Jani Nikula <jani.nikula@intel.com> #v1
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220907091057.11572-10-ville.syrjala@linux.intel.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions