diff options
| author | Ramalingam C <[email protected]> | 2016-04-19 13:48:14 +0530 |
|---|---|---|
| committer | Jani Nikula <[email protected]> | 2016-04-28 17:08:44 +0300 |
| commit | 042ab0c3c40be1efcaad6b526173b5536fc6c3bf (patch) | |
| tree | 46385c144c06f38e225365c074fc1d5ba8df52d4 /tools/perf/scripts/python | |
| parent | cefc4e18785123326c5d4d985085e32160fef7f5 (diff) | |
drm/i915/bxt: Adjusting the error in horizontal timings retrieval
In BXT DSI there is no regs programmed with few horizontal timings
in Pixels but txbyteclkhs.. So retrieval process adds some
ROUND_UP ERRORS in the process of PIXELS<==>txbyteclkhs.
Actually here for the given adjusted_mode, we are calculating the
value programmed to the port and then back to the horizontal timing
param in pixels. This is the expected value at the end of get_config,
including roundup errors. And if that is same as retrieved value
from port, then retrieved (HW state) adjusted_mode's horizontal
timings are corrected to match with SW state to nullify the errors.
Signed-off-by: Ramalingam C <[email protected]>
Acked-by: Daniel Vetter <[email protected]>
Acked-by: Ville Syrjälä <[email protected]>
Signed-off-by: Jani Nikula <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions