diff options
| author | José Roberto de Souza <[email protected]> | 2018-09-18 13:47:09 -0700 |
|---|---|---|
| committer | Rodrigo Vivi <[email protected]> | 2018-09-26 17:06:07 -0700 |
| commit | 7c86828d564574759c20793ced59df2a60950c1d (patch) | |
| tree | c705c41990fd4c2ad58ae1472bff869002b04f2f /tools/perf/scripts/python | |
| parent | 35c37ade79cdfe731ca1cae50c6628fef98a69a5 (diff) | |
drm/i915/runtime_pm: Share code to enable/disable PCH reset handshake
Instead of have the same code spread into 4 platforms lets share it.
BXT do not have a PCH so here also handling this case by unseting
RESET_PCH_HANDSHAKE_ENABLE.
v2(Rodrigo):
- renamed to intel_pch_reset_handshake()
- added comment about why BXT need the bit to be unset
v3(Rodrigo and Ville):
- added bool have_pch to intel_pch_reset_handshake()
- added back BXT comment
Cc: Ville Syrjälä <[email protected]>
Cc: Rodrigo Vivi <[email protected]>
Signed-off-by: José Roberto de Souza <[email protected]>
Reviewed-by: Rodrigo Vivi <[email protected]>
Signed-off-by: Rodrigo Vivi <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions