diff options
author | Sean Paul <[email protected]> | 2018-01-09 13:53:13 -0500 |
---|---|---|
committer | Sean Paul <[email protected]> | 2018-01-09 13:55:08 -0500 |
commit | 01468d6c711a31a9fe333d072afa8a4730ef3bf9 (patch) | |
tree | b378dff665def079311c600c6b12ac82817b4868 /scripts/gdb/linux/utils.py | |
parent | 2f4498a4ac2f77671587faa99e38c3342d666114 (diff) |
drm/i915: Only disable HDCP when it's active
Instead of always trying to disable HDCP. Only run hdcp_disable when the
state is not UNDESIRED. This will catch cases where it's enabled and
also cases where enable failed and the state is left in DESIRED mode.
Note that things won't blow up if disable is attempted while already
disabled, it's just bad form.
Reviewed-by: Daniel Vetter <[email protected]>
Signed-off-by: Sean Paul <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions