Home
last modified time | relevance | path

Searched refs:hdcp_workqueue (Results 1 – 6 of 6) sorted by relevance

/linux-6.1.9/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_hdcp.h40 struct hdcp_workqueue { struct
64 void hdcp_update_display(struct hdcp_workqueue *hdcp_work, argument
70 void hdcp_reset_display(struct hdcp_workqueue *work, unsigned int link_index);
71 void hdcp_handle_cpirq(struct hdcp_workqueue *work, unsigned int link_index);
72 void hdcp_destroy(struct kobject *kobj, struct hdcp_workqueue *work);
74 struct hdcp_workqueue *hdcp_create_workqueue(struct amdgpu_device *adev, struct cp_psp *cp_psp, str…
Damdgpu_dm_hdcp.c130 static void process_output(struct hdcp_workqueue *hdcp_work) in process_output()
151 static void link_lock(struct hdcp_workqueue *work, bool lock) in link_lock()
163 void hdcp_update_display(struct hdcp_workqueue *hdcp_work, in hdcp_update_display()
169 struct hdcp_workqueue *hdcp_w = &hdcp_work[link_index]; in hdcp_update_display()
220 static void hdcp_remove_display(struct hdcp_workqueue *hdcp_work, in hdcp_remove_display()
224 struct hdcp_workqueue *hdcp_w = &hdcp_work[link_index]; in hdcp_remove_display()
247 void hdcp_reset_display(struct hdcp_workqueue *hdcp_work, unsigned int link_index) in hdcp_reset_display()
249 struct hdcp_workqueue *hdcp_w = &hdcp_work[link_index]; in hdcp_reset_display()
263 void hdcp_handle_cpirq(struct hdcp_workqueue *hdcp_work, unsigned int link_index) in hdcp_handle_cpirq()
265 struct hdcp_workqueue *hdcp_w = &hdcp_work[link_index]; in hdcp_handle_cpirq()
[all …]
Damdgpu_dm.h468 struct hdcp_workqueue *hdcp_workqueue; member
Damdgpu_dm.c1641 adev->dm.hdcp_workqueue = hdcp_create_workqueue(adev, &init_params.cp_psp, adev->dm.dc); in amdgpu_dm_init()
1643 if (!adev->dm.hdcp_workqueue) in amdgpu_dm_init()
1646 DRM_DEBUG_DRIVER("amdgpu: hdcp_workqueue init done %p.\n", adev->dm.hdcp_workqueue); in amdgpu_dm_init()
1750 if (adev->dm.hdcp_workqueue) { in amdgpu_dm_fini()
1751 hdcp_destroy(&adev->dev->kobj, adev->dm.hdcp_workqueue); in amdgpu_dm_fini()
1752 adev->dm.hdcp_workqueue = NULL; in amdgpu_dm_fini()
3074 if (adev->dm.hdcp_workqueue) { in handle_hpd_irq_helper()
3075 hdcp_reset_display(adev->dm.hdcp_workqueue, aconnector->dc_link->link_index); in handle_hpd_irq_helper()
3325 if (adev->dm.hdcp_workqueue) in handle_hpd_rx_irq()
3326 hdcp_handle_cpirq(adev->dm.hdcp_workqueue, aconnector->base.index); in handle_hpd_rx_irq()
[all …]
/linux-6.1.9/drivers/gpu/drm/bridge/analogix/
Danx7625.c2134 queue_delayed_work(ctx->hdcp_workqueue, in anx7625_connector_atomic_check()
2605 platform->hdcp_workqueue = create_workqueue("hdcp workqueue"); in anx7625_i2c_probe()
2606 if (!platform->hdcp_workqueue) { in anx7625_i2c_probe()
2712 if (platform->hdcp_workqueue) in anx7625_i2c_probe()
2713 destroy_workqueue(platform->hdcp_workqueue); in anx7625_i2c_probe()
2727 if (platform->hdcp_workqueue) { in anx7625_i2c_remove()
2729 flush_workqueue(platform->hdcp_workqueue); in anx7625_i2c_remove()
2730 destroy_workqueue(platform->hdcp_workqueue); in anx7625_i2c_remove()
Danx7625.h471 struct workqueue_struct *hdcp_workqueue; member