diff options
author | Imre Deak <imre.deak@intel.com> | 2021-09-29 16:28:27 +0300 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2021-10-05 11:52:48 +0300 |
commit | a532cde31de3cae6ed60e60d6f9379771f652809 (patch) | |
tree | 79f34b6c16db2b9b0e46cdd7dc6dcd6174445520 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 0c94777386495d6e0a9735d48ffd2abb8d680d7f (diff) |
drm/i915/tc: Fix TypeC port init/resume time sanitization
Atm during driver loading and system resume TypeC ports are accessed
before their HW/SW state is synced. Move the TypeC port sanitization to
the encoder's sync_state hook to fix this.
v2: Handle the encoder disabled case in gen11_dsi_sync_state() as well
(Jose, Jani)
Fixes: f9e76a6e68d3 ("drm/i915: Add an encoder hook to sanitize its state during init/resume")
Cc: José Roberto de Souza <jose.souza@intel.com>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210929132833.2253961-1-imre.deak@intel.com
(cherry picked from commit 7194dc998dfffca096c30b3cd39625158608992d)
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions