diff options
author | Jani Nikula <jani.nikula@intel.com> | 2025-04-24 23:01:34 +0300 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2025-05-02 13:26:18 +0300 |
commit | 1e5206fc34030780017afe738783ecab9d7e2795 (patch) | |
tree | d242f307ab52ba05f4611036ea8e48216d1cffe6 /scripts/gdb/linux/proc.py | |
parent | b45528d5baf825c3828a9ae10784e2be60a7806b (diff) |
drm/i915/hdcp: deduplicate and refactor HDCP GSC ops initialization
The gsc_hdcp_ops is duplicated and initialized exactly the same way in
two different places (for i915 and xe), and requires forward
declarations for all the hooks. Deduplicate, and make the functions
static.
There are slight differences in the i915 and xe implementations of
intel_hdcp_gsc_init() and intel_hdcp_gsc_fini(). Take the best of both,
and improve.
We need to expose intel_hdcp_gsc_hdcp2_init() and
intel_hdcp_gsc_free_message() for this, and create the latter for xe.
Cc: Suraj Kandpal <suraj.kandpal@intel.com>
Reviewed-by: Suraj Kandpal <suraj.kandpal@intel.com>
Link: https://lore.kernel.org/r/21e7871b35d4c7d13f016b5ecb4f10e5be72c531.1745524803.git.jani.nikula@intel.com
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions