diff options
| author | Chris Wilson <[email protected]> | 2019-07-02 15:09:50 +0100 |
|---|---|---|
| committer | Chris Wilson <[email protected]> | 2019-07-03 10:09:58 +0100 |
| commit | 8e9ecb3e1e3366559cd4ed5ab698c391f8236a37 (patch) | |
| tree | 7745a5fdeeb71b4702896107a80289dc39b380a9 /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | 315ca4c408ed3bcfe3a204fec9f5c397a98e97a0 (diff) | |
drm/i915/display: Handle lost primary_port across suspend
icl-dsi is dying on suspend/resume at
RIP: 0010:icl_update_active_dpll+0x2c/0xa0 [i915]
which appears due to the loss of the time primary_port across suspend.
Protect against the potential NULL dereference by assuming
ICL_PORT_DPLL_DEFAULT unless the port is actively specified otherwise.
Fixes: 24a7bfe0c2d7 ("drm/i915: Keep the TypeC port mode fixed when the port is active")
Signed-off-by: Chris Wilson <[email protected]>
Reviewed-by: Imre Deak <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions