diff options
| author | Anshuman Gupta <[email protected]> | 2020-02-24 18:09:58 +0530 |
|---|---|---|
| committer | Ville Syrjälä <[email protected]> | 2020-02-26 16:14:35 +0200 |
| commit | b8b65ccda50d135ef3f9d920d3bfe353e63b129a (patch) | |
| tree | 92912f9a87bf4f5c1861fe4b0eaba5e3b7827ef8 /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | 80f286a552c6cc554199a7d14b76836cffabd451 (diff) | |
drm/i915: Iterate over pipes and skip the disabled one
It should not be assumed that a disabled display pipe will be
always last the pipe.
for_each_pipe() should iterate over I915_MAX_PIPES and check
for the disabled pipe and skip that pipe so that it should not
initialize the intel crtc for any disabled pipes.
Due to changes in for_each_pipe() macro, it requires to handle
the below compilation error.
"suggest explicit braces to avoid ambiguous ‘else’
[-Werror=dangling-else]"
v2:
- Cosmetic changes, removed unwanted parentheses. [Ville]
Cc: Ville Syrjälä <[email protected]>
Signed-off-by: Anshuman Gupta <[email protected]>
Signed-off-by: Ville Syrjälä <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions