diff options
| author | Imre Deak <[email protected]> | 2014-04-15 16:39:45 +0300 |
|---|---|---|
| committer | Daniel Vetter <[email protected]> | 2014-05-07 10:01:39 +0200 |
| commit | 0ab9cfeb5df7dac60174589134c3894105458ffc (patch) | |
| tree | 2241ee49d864d2f5f17a8fbbf77c89946b8518ca /tools/perf/scripts/python/bin | |
| parent | 9e72b46c0d92735686d1d24a491d46e3db2ca0e1 (diff) | |
drm/i915: propagate the error code from runtime PM callbacks
Atm, none of the RPM callbacks can fail, but the next patch adding
RPM support for VLV changes this, so prepare for it.
In case one of these callbacks return error RPM will get permanently
disabled until the error is explicitly cleared. In the future we could
add support for re-enabling it, for example after resetting the HW, but
for now - hopefully - we can live with the simpler solution.
v2:
- propagate the error from the resume callbacks too (Paulo)
v3:
- fix rebase fail typo around IS_GEN6() check in intel_runtime_suspend()
Signed-off-by: Imre Deak <[email protected]>
Reviewed-by: Ville Syrjälä <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions