diff options
| author | Imre Deak <[email protected]> | 2016-08-10 14:07:29 +0300 |
|---|---|---|
| committer | Imre Deak <[email protected]> | 2016-08-10 16:00:07 +0300 |
| commit | 44cb734cd2ea09e4fb8166fdd1f0ef65af3a95de (patch) | |
| tree | 2e1ed41f2b189e47b8121e9fde851f83227e2ac6 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 774439e12b53daff3c97d71669a233d6e5290e79 (diff) | |
drm/i915: Merge the PPS register definitions
The PPS registers are pretty much the same everywhere, the differences
being:
- Register fields appearing, disappearing from one platform to the
next: panel-reset-on-powerdown, backlight-on, panel-port,
register-unlock
- Different register base addresses
- Different number of PPS instances: 2 on VLV/CHV/BXT, 1 everywhere
else.
We can merge the separate set of PPS definitions by extending the PPS
instance argument to all platforms and using instance 0 on platforms
with a single instance. This means we'll need to calculate the register
addresses dynamically based on the given platform and PPS instance.
v2:
- Simplify if ladder in intel_pps_get_registers(). (Ville)
Signed-off-by: Imre Deak <[email protected]>
Reviewed-by: Ville Syrjälä <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions