aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAnshuman Gupta <anshuman.gupta@intel.com>2021-02-11 19:35:02 +0530
committerAnshuman Gupta <anshuman.gupta@intel.com>2021-02-12 15:11:28 +0530
commit357b5592e018b0faa9d49f1f8b58a4966391bcbd (patch)
tree5a10731986389540ac0769403468f8a4511762ca /tools/perf/scripts/python
parentdrm/i915/display: fix comment on skl straps (diff)
downloadlinux-357b5592e018b0faa9d49f1f8b58a4966391bcbd.tar.gz
linux-357b5592e018b0faa9d49f1f8b58a4966391bcbd.zip
drm/i915/debugfs: HDCP capability enc NULL check
DP-MST connector encoder initializes at modeset Adding a connector->encoder NULL check in order to avoid any NULL pointer dereference. intel_hdcp_enable() already handle this but debugfs can also invoke the intel_{hdcp,hdcp2_capable}. Handling it gracefully. v2: - Use necessary lock and NULL check in i915_hdcp_sink_capability_show. [Imre] Reviewed-by: Imre Deak <imre.deak@intel.com> Signed-off-by: Anshuman Gupta <anshuman.gupta@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20210211140502.22786-1-anshuman.gupta@intel.com
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions