diff options
author | Hersen Wu <[email protected]> | 2023-03-28 10:45:24 -0400 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2023-04-26 22:30:03 -0400 |
commit | 3cf7cd3f770a0b89dc5f06e19edb52e65b93b214 (patch) | |
tree | 3e4601ed28193193898eb8470c3219245e1bb191 /tools/testing/selftests/bpf/progs/test_autoload.c | |
parent | 0c0463ff010b80a0c03937ca8cf85587ded2f20e (diff) |
drm/amd/display: fix access hdcp_workqueue assert
[Why] hdcp are enabled for asics from raven. for old asics
which hdcp are not enabled, hdcp_workqueue are null. some
access to hdcp work queue are not guarded with pointer check.
[How] add hdcp_workqueue pointer check before access workqueue.
Fixes: 82986fd631fa ("drm/amd/display: save restore hdcp state when display is unplugged from mst hub")
Link: https://gitlab.freedesktop.org/drm/amd/-/issues/2444
Reported-by: Niklāvs Koļesņikovs <[email protected]>
Reviewed-by: Bhawanpreet Lakha <[email protected]>
Acked-by: Qingqing Zhuo <[email protected]>
Signed-off-by: Hersen Wu <[email protected]>
Tested-by: Daniel Wheeler <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Cc: [email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions