diff options
| author | Ville Syrjälä <[email protected]> | 2017-10-30 20:46:54 +0200 |
|---|---|---|
| committer | Ville Syrjälä <[email protected]> | 2017-10-31 21:51:50 +0200 |
| commit | 9f846643c788bbdf4d4b4fe587661705d07de8ef (patch) | |
| tree | a581006e5b22373d4df027ddf3656874a727d096 /tools/perf/scripts/python | |
| parent | 8ec47de21bfab96790c4202ae8cdb5092ad7ec33 (diff) | |
drm/i915: Remove most encoder->type uses from the audio code
encoder->type isn't genreally safe around DDI ports, so let's
replace some uses in the audio code with the crtc state's
output_types instead.
Actually in these cases encoder->type would work since the DP
SST case is only relevant for VLV/CHV and encoder->type==DP
is a thing on those platforms. The DP MST cases would work
as well since MST encoder->type==DP_MST always. But I think
it's best to try and minimize the encoder->type use in general
to avoid showing a bad example to people.
Cc: Jani Nikula <[email protected]>
Signed-off-by: Ville Syrjälä <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Reviewed-by: Jani Nikula <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions