diff options
| author | Bhawanpreet Lakha <[email protected]> | 2019-09-16 20:52:58 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2019-10-03 14:10:58 +0000 |
| commit | 0c8620d63d41fb0d4a9d8baa0a06b3fa9b59505d (patch) | |
| tree | db5618ac1a15dabe21a70799b09a029afa610469 /drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c | |
| parent | drm/amd/display: Initialize HDCP work queue (diff) | |
| download | kernel-0c8620d63d41fb0d4a9d8baa0a06b3fa9b59505d.tar.gz kernel-0c8620d63d41fb0d4a9d8baa0a06b3fa9b59505d.zip | |
drm/amd/display: Handle Content protection property changes
[Why]
We need to manage the content protection property changes for
different usecase, once cp is DESIRED we need to maintain the
ENABLED/DESIRED status for different cases.
[How]
1. Attach the content_protection property
2. HDCP enable (UNDESIRED -> DESIRED)
call into the module with the correct parameters to start
hdcp. Set cp to ENABLED
3. HDCP disable (ENABLED -> UNDESIRED)
Call the module to disable hdcp.
3. Handle Special cases (Hotplug, S3, headless S3, DPMS)
If already ENABLED: set to DESIRED on unplug/suspend/dpms,
and disable hdcp
Then on plugin/resume/dpms: enable HDCP
Signed-off-by: Bhawanpreet Lakha <[email protected]>
Reviewed-by: Harry Wentland <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c')
0 files changed, 0 insertions, 0 deletions
