diff options
| author | Imre Deak <[email protected]> | 2018-11-20 09:23:25 +0000 |
|---|---|---|
| committer | Imre Deak <[email protected]> | 2018-11-21 11:38:27 +0000 |
| commit | 8f78df90d84acd7a0b22c2b44a258421063a972f (patch) | |
| tree | b89370872b43af7a9c31a984ccea524028aa33db /drivers/gpu/drm/amd/amdgpu/amdgpu_prime.c | |
| parent | drm/i915: Make EDP PSR flags not depend on enum values (diff) | |
| download | kernel-8f78df90d84acd7a0b22c2b44a258421063a972f.tar.gz kernel-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ä <[email protected]>
Cc: Lucas De Marchi <[email protected]>
Cc: Mika Kahola <[email protected]>
Signed-off-by: Imre Deak <[email protected]>
Reviewed-by: Ville Syrjälä <[email protected]> (v2)
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_prime.c')
0 files changed, 0 insertions, 0 deletions
