mbox series

[0/2] Change HDCP GSC message flow to use same object

Message ID 20230529114902.1528192-1-suraj.kandpal@intel.com (mailing list archive)
Headers show
Series Change HDCP GSC message flow to use same object | expand

Message

Suraj Kandpal May 29, 2023, 11:49 a.m. UTC
Change HDCP GSC message memory allocation to use same object with
multiple pages one page pointing to input while other points to
output to avoid corruption of output message that can be caused by
overwriting.

Signed-off-by: Suraj Kandpal <suraj.kandpal@intel.com>

Suraj Kandpal (2):
  drm/i915/hdcp: Allocate a multipage object to hdcp_gsc_message
  drm/i915/hdcp: Modify intel_gsc_send_sync function

 drivers/gpu/drm/i915/display/intel_hdcp_gsc.c | 82 +++++++++++--------
 drivers/gpu/drm/i915/display/intel_hdcp_gsc.h |  3 +-
 2 files changed, 50 insertions(+), 35 deletions(-)