diff options
| author | Ville Syrjälä <[email protected]> | 2017-02-08 19:52:54 +0200 |
|---|---|---|
| committer | Ville Syrjälä <[email protected]> | 2017-02-10 18:44:18 +0200 |
| commit | d158694f452252d0fef335a775aeb3eb74fe7af0 (patch) | |
| tree | ee3b208e3bf6079f093e3dcaff09a39d32d058ae /tools/perf/scripts/python/bin | |
| parent | 51a831a7725b1273381cb4a9f3f0d619276e3521 (diff) | |
drm/i915: Avoid spurious WARNs about the wrong pipe in the PPS code
Until recently vlv_steal_power_sequencer() wasn't being called for
normal DP ports, and hence it could assert that it should only be
called for pipe A and B (since pipe C doesn't support eDP). However
that changed when we started to consider normal DP ports as well when
choosing a PPS. So we will now get spurious warnings when
vlv_steal_power_sequencer() does get called for pipe C. Avoid this by
moving the WARN down into vlv_detach_power_sequencer() where this
assertion should still hold.
Cc: Imre Deak <[email protected]>
Cc: [email protected]
Fixes: 9f2bdb006a7e ("drm/i915: Prevent PPS stealing from a normal DP port on VLV/CHV")
References: https://bugs.freedesktop.org/show_bug.cgi?id=95287
Signed-off-by: Ville Syrjälä <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Reviewed-by: Imre Deak <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions