diff options
author | Jude Shih <[email protected]> | 2021-10-18 12:04:23 +0800 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2021-10-28 14:26:51 -0400 |
commit | 094b21c1a3578234f06a28b80f4d2f6446b5f533 (patch) | |
tree | 50e808e0959fa3f110f31a836f92a53eb566e1f2 /scripts/gdb/linux/utils.py | |
parent | f638d7505f99bca9436aac37b2a1ecb3f84803a5 (diff) |
drm/amd/display: Fix USB4 hot plug crash issue
[Why]
Notify data from outbox corrupt, the notify type should be 2 (HPD) instead of 0
(No data). We copied the address instead of the value. The memory might be
freed in the end of outbox IRQ
[How]
We should allocate the memory of notify and copy the whole content from outbox to
hpd handle function
Fixes: 88f52b1fff891e ("drm/amd/display: Support for SET_CONFIG processing with DMUB")
Signed-off-by: Jude Shih <[email protected]>
Reviewed-by: Nicholas Kazlauskas <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions