diff options
| author | Matt Roper <[email protected]> | 2020-06-03 14:15:23 -0700 |
|---|---|---|
| committer | Matt Roper <[email protected]> | 2020-06-04 14:00:23 -0700 |
| commit | 562ddcb7485432b2526fe6e158f7ef58631e4d99 (patch) | |
| tree | 4bcf548cff17f8e0c3ced9db30ac9ba9d62821e4 /tools/perf/scripts/python | |
| parent | aefaa1f452ab2bb933265e1fe6ea25337f08c5ce (diff) | |
drm/i915/rkl: Don't try to access transcoder D
There are a couple places in our driver that loop over transcoders A..D
for gen11+; since RKL only has three pipes/transcoders, this can lead to
unclaimed register reads/writes. We should add checks for transcoder
existence where appropriate.
v2: Move one transcoder check that wound up in the wrong function after
conflict resolution. It belongs in bdw_get_trans_port_sync_config
rather than bxt_get_dsi_transcoder_state.
v3: Switch loops to use for_each_cpu_transcoder_masked() since this
iterator already checks the platform's transcoder mask for us.
(Ville)
Cc: Aditya Swarup <[email protected]>
Cc: Ville Syrjälä <[email protected]>
Signed-off-by: Matt Roper <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Reviewed-by: Ville Syrjälä <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions