diff options
author | Suraj Kandpal <[email protected]> | 2024-07-22 12:14:49 +0530 |
---|---|---|
committer | Suraj Kandpal <[email protected]> | 2024-07-25 08:55:21 +0530 |
commit | 31b42af516afa1e184d1a9f9dd4096c54044269a (patch) | |
tree | df5ce0be7ae9e37bdc79bc11f8c27886efe1b7e6 /tools/perf/scripts/python/intel-pt-events.py | |
parent | 76a791fa0926e504f262310cbd0c8f1a60e67ae8 (diff) |
drm/i915/hdcp: Add encoder check in intel_hdcp_get_capability
Sometimes during hotplug scenario or suspend/resume scenario encoder is
not always initialized when intel_hdcp_get_capability add
a check to avoid kernel null pointer dereference.
Signed-off-by: Suraj Kandpal <[email protected]>
Reviewed-by: Dnyaneshwar Bhadane <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions