diff options
author | Imre Deak <imre.deak@intel.com> | 2017-11-29 20:51:37 +0300 |
---|---|---|
committer | Imre Deak <imre.deak@intel.com> | 2017-11-30 15:21:43 +0300 |
commit | 5643205c6340b565a3be0fe0e7305dc4aa551c74 (patch) | |
tree | 4f572b84e166988f777c068f2b3a806ed5a9e9a8 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ecf73eb2d27d43b2153bb80671768a06d35521f1 (diff) | |
download | linux-5643205c6340b565a3be0fe0e7305dc4aa551c74.tar.xz |
drm/i915: Avoid PPS HW/SW state mismatch due to rounding
We store a SW state of the t11_t12 timing in 100usec units but have to
program it in 100msec as required by HW. The rounding used during
programming means there will be a mismatch between the SW and HW states
of this value triggering a "PPS state mismatch" error. Avoid this by
storing the already rounded-up value in the SW state.
Note that we still calculate panel_power_cycle_delay with the finer
100usec granularity to avoid any needless waits using that version of
the delay.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=103903
Cc: joks <joks@linux.pl>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20171129175137.2889-1-imre.deak@intel.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions