mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git/
synced 2026-04-18 06:33:43 -04:00
drm/amd/display: use drm_err in hpd rx offload
add amdgpu_device pointer to data associated with the work struct such that hpd handlers has access to the drm device for use with drm_err() Reviewed-by: Alex Hung <alex.hung@amd.com> Signed-off-by: Aurabindo Pillai <aurabindo.pillai@amd.com> Signed-off-by: Fangzhi Zuo <jerry.zuo@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
committed by
Alex Deucher
parent
0f774fce44
commit
93717be16e
@@ -276,6 +276,10 @@ struct hpd_rx_irq_offload_work {
|
||||
* @offload_wq: offload work queue that this work is queued to
|
||||
*/
|
||||
struct hpd_rx_irq_offload_work_queue *offload_wq;
|
||||
/**
|
||||
* @adev: amdgpu_device pointer
|
||||
*/
|
||||
struct amdgpu_device *adev;
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user