diff options
| author | Ville Syrjälä <[email protected]> | 2017-01-26 21:52:01 +0200 |
|---|---|---|
| committer | Ville Syrjälä <[email protected]> | 2017-02-08 18:07:11 +0200 |
| commit | b0587e4d20dcf8af3e350b010b4d2a21f95f2702 (patch) | |
| tree | 83c45eb5860b09f6eee533726c83e82cac661a87 /tools/perf/scripts/python | |
| parent | 63ff30442519bb40307f940c5a89a95ca904723a (diff) | |
drm/i915: Replace the .modeset_commit_cdclk() hook with a more direct .set_cdclk() hook
With the cdclk state, all the .modeset_commit_cdclk() hooks are
now pointless wrappers. Let's replace them with just a .set_cdclk()
function pointer. However let's wrap that in a small helper that
does the state comparison and prints a unified debug message across
all platforms. We didn't even have the debug print on all platforms
previously. This reduces the clutter in intel_atomic_commit_tail() a
little bit.
v2: Wrap .set_cdclk() in intel_set_cdclk()
v3: Add kernel-docs
v4: Deal with IS_GEN9_BC()
Signed-off-by: Ville Syrjälä <[email protected]>
Reviewed-by: Ander Conselvan de Oliveira <[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