diff options
author | Suraj Kandpal <suraj.kandpal@intel.com> | 2024-07-22 12:14:49 +0530 |
---|---|---|
committer | Suraj Kandpal <suraj.kandpal@intel.com> | 2024-07-25 08:55:21 +0530 |
commit | 31b42af516afa1e184d1a9f9dd4096c54044269a (patch) | |
tree | df5ce0be7ae9e37bdc79bc11f8c27886efe1b7e6 /tools/perf/scripts/python/exported-sql-viewer.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 <suraj.kandpal@intel.com>
Reviewed-by: Dnyaneshwar Bhadane <dnyaneshwar.bhadane@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240722064451.3610512-2-suraj.kandpal@intel.com
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions