diff options
author | Ville Syrjälä <[email protected]> | 2020-10-16 22:48:00 +0300 |
---|---|---|
committer | Ville Syrjälä <[email protected]> | 2020-10-20 20:13:03 +0300 |
commit | 0e634efd858e0e9331ea037e1a142e34a446e9e3 (patch) | |
tree | ea70e80949dc1dea0ec091e9823a1f2f6408677a /tools/perf/scripts/python/check-perf-trace.py | |
parent | 0a5a7499aaf52f5368dfbd735e1990c56faa912f (diff) |
drm/i915: s/intel_dp_sink_dpms/intel_dp_set_power/
Rename intel_dp_sink_dpms() to intel_dp_set_power()
so one doesn't always have to convert from the DPMS
enum values to the actual DP D-states.
Also when dealing with a branch device this has nothing to
do with any sink, so the old name was nonsense anyway.
Also adjust the debug message accordingly, and pimp it
with the standard encoder id+name thing.
Trivial bits done with cocci:
@@
expression DP;
@@
(
- intel_dp_sink_dpms(DP, DRM_MODE_DPMS_OFF)
+ intel_dp_set_power(DP, DP_SET_POWER_D3)
|
- intel_dp_sink_dpms(DP, DRM_MODE_DPMS_ON)
+ intel_dp_set_power(DP, DP_SET_POWER_D0)
)
Signed-off-by: Ville Syrjälä <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Reviewed-by: Imre Deak <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions