diff options
author | 2018-11-20 11:23:25 +0200 | |
---|---|---|
committer | 2018-11-21 13:38:27 +0200 | |
commit | 8f78df90d84acd7a0b22c2b44a258421063a972f (patch) | |
tree | b89370872b43af7a9c31a984ccea524028aa33db /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drm/i915: Make EDP PSR flags not depend on enum values (diff) | |
download | wireguard-linux-8f78df90d84acd7a0b22c2b44a258421063a972f.tar.xz wireguard-linux-8f78df90d84acd7a0b22c2b44a258421063a972f.zip |
drm/i915: Add code comment on assumption of pipe==transcoder
Add a comment to the pipe and transcoder enum definitions about our
assumption in the code about enum values for pipes and transcoders
with a 1:1 transcoder -> pipe mapping.
v2:
- Clarify more what are the assumptions about the enum values. (Ville)
v3: (Lucas)
- s/->/ -> / so it looks less like pointer dereferencing.
- Use pipe enums as initializers in the transcoder enum definition.
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Cc: Lucas De Marchi <lucas.demarchi@intel.com>
Cc: Mika Kahola <mika.kahola@intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com> (v2)
Link: https://patchwork.freedesktop.org/patch/msgid/20181120092325.21249-3-imre.deak@intel.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions