Intel-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Suraj Kandpal <suraj.kandpal@intel.com>
To: intel-gfx@lists.freedesktop.org
Subject: [Intel-gfx] [PATCH 0/2] Change HDCP GSC message flow to use same object
Date: Mon, 29 May 2023 17:19:00 +0530	[thread overview]
Message-ID: <20230529114902.1528192-1-suraj.kandpal@intel.com> (raw)

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(-)

-- 
2.25.1


             reply	other threads:[~2023-05-29 11:50 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-29 11:49 Suraj Kandpal [this message]
2023-05-29 11:49 ` [Intel-gfx] [PATCH 1/2] drm/i915/hdcp: Allocate a multipage object to hdcp_gsc_message Suraj Kandpal
2023-05-31  8:26   ` Kandpal, Suraj
2023-06-01 22:39   ` Ceraolo Spurio, Daniele
2023-05-29 11:49 ` [Intel-gfx] [PATCH 2/2] drm/i915/hdcp: Modify intel_gsc_send_sync function Suraj Kandpal
2023-06-01 22:44   ` Ceraolo Spurio, Daniele
2023-05-31  1:06 ` [Intel-gfx] ✗ Fi.CI.SPARSE: warning for Change HDCP GSC message flow to use same object Patchwork
2023-05-31  1:21 ` [Intel-gfx] ✓ Fi.CI.BAT: success " Patchwork
2023-06-01  6:03 ` [Intel-gfx] ✓ Fi.CI.IGT: " Patchwork

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230529114902.1528192-1-suraj.kandpal@intel.com \
    --to=suraj.kandpal@intel.com \
    --cc=intel-gfx@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox