diff options
| author | Jani Nikula <[email protected]> | 2019-03-05 15:52:15 +0200 |
|---|---|---|
| committer | Jani Nikula <[email protected]> | 2019-03-08 13:25:31 +0200 |
| commit | ab3517c1eb01cfd97df8c83435fe43329e0cfae3 (patch) | |
| tree | c4a258d55a6218db0c9138c0cd2462230c0a9ab4 /tools/perf/scripts/python/netdev-times.py | |
| parent | 1b61c4a3eea2bead6725b6907616684497ff8765 (diff) | |
drm/i915/dp: use single point of truth for PPS divisor register
Set pp_div field of struct pps_registers to INVALID_MMIO_REG when the
register isn't there, and use i915_mmio_reg_valid() instead of repeating
the condition all over the place.
Use INVALID_MMIO_REG explicitly for documentation purposes, even if the
value is unchanged from 0.
Cc: Rodrigo Vivi <[email protected]>
Cc: Ville Syrjälä <[email protected]>
Reviewed-by: Lucas De Marchi <[email protected]>
Reviewed-by: Rodrigo Vivi <[email protected]>
Signed-off-by: Jani Nikula <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions