diff options
author | [email protected] <[email protected]> | 2016-10-14 17:31:55 -0400 |
---|---|---|
committer | Paulo Zanoni <[email protected]> | 2016-10-19 18:25:33 -0200 |
commit | bf9d99ad17ff3d85dc8c807063f76560587d983a (patch) | |
tree | 3b6813acedfe42a8240dae327ab2117f978fdf12 /lib/pm-notifier-error-inject.c | |
parent | 413fc530c5b2fbf8c5ff926aaa18d7597463c055 (diff) |
drm/i915/gen9: Make skl_pipe_wm_get_hw_state() reusable
There's not much of a reason this should have the locations to read out
the hardware state hardcoded, so allow the caller to specify the
location and add this function to intel_drv.h. As well, we're going to
need this function to be reusable for the next patch.
Changes since v1:
- Fix accidental behavior change in the code that Paulo pointed out
Signed-off-by: Lyude <[email protected]>
Cc: Maarten Lankhorst <[email protected]>
Cc: Ville Syrjälä <[email protected]>
Cc: Matt Roper <[email protected]>
Cc: Paulo Zanoni <[email protected]>
Reviewed-by: Paulo Zanoni <[email protected]>
Signed-off-by: Paulo Zanoni <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'lib/pm-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions