]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amd/display: fix access hdcp_workqueue assert
authorHersen Wu <hersenxs.wu@amd.com>
Tue, 28 Mar 2023 14:45:24 +0000 (10:45 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 18 Apr 2023 20:28:52 +0000 (16:28 -0400)
commitcdff36a0217aadf5cbc167893ad1c0da869619cb
treed5c222af48e234994b2a32eaf8fc19ffbfa4c1fd
parent522b9a5d5852f99e51fbc460054dc8af3b4b5b30
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.

Reviewed-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Acked-by: Qingqing Zhuo <qingqing.zhuo@amd.com>
Signed-off-by: Hersen Wu <hersenxs.wu@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c