mbox series

[v5,0/2] Refactor i915 HDCP for XE

Message ID 20231009095537.653619-1-suraj.kandpal@intel.com (mailing list archive)
Headers show
Series Refactor i915 HDCP for XE | expand

Message

Kandpal, Suraj Oct. 9, 2023, 9:55 a.m. UTC
This patch series contains some refactors for i915 side of things
which will help with a cleaner code and maximum reuse of code
for XE going forward.

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

Suraj Kandpal (2):
  drm/i915/hdcp: Move checks for gsc health status
  drm/i915/hdcp: Move common message filling function to its own file

 drivers/gpu/drm/i915/Makefile                 |   1 +
 drivers/gpu/drm/i915/display/intel_hdcp.c     |   8 +-
 drivers/gpu/drm/i915/display/intel_hdcp_gsc.c | 617 +-----------------
 drivers/gpu/drm/i915/display/intel_hdcp_gsc.h |   1 +
 .../drm/i915/display/intel_hdcp_gsc_message.c | 592 +++++++++++++++++
 .../drm/i915/display/intel_hdcp_gsc_message.h |  72 ++
 6 files changed, 692 insertions(+), 599 deletions(-)
 create mode 100644 drivers/gpu/drm/i915/display/intel_hdcp_gsc_message.c
 create mode 100644 drivers/gpu/drm/i915/display/intel_hdcp_gsc_message.h

Comments

Jani Nikula Oct. 11, 2023, 1:10 p.m. UTC | #1
On Mon, 09 Oct 2023, Suraj Kandpal <suraj.kandpal@intel.com> wrote:
> This patch series contains some refactors for i915 side of things
> which will help with a cleaner code and maximum reuse of code
> for XE going forward.
>
> Signed-off-by: Suraj Kandpal <suraj.kandpal@intel.com>

Acked-by: Jani Nikula <jani.nikula@intel.com>


>
> Suraj Kandpal (2):
>   drm/i915/hdcp: Move checks for gsc health status
>   drm/i915/hdcp: Move common message filling function to its own file
>
>  drivers/gpu/drm/i915/Makefile                 |   1 +
>  drivers/gpu/drm/i915/display/intel_hdcp.c     |   8 +-
>  drivers/gpu/drm/i915/display/intel_hdcp_gsc.c | 617 +-----------------
>  drivers/gpu/drm/i915/display/intel_hdcp_gsc.h |   1 +
>  .../drm/i915/display/intel_hdcp_gsc_message.c | 592 +++++++++++++++++
>  .../drm/i915/display/intel_hdcp_gsc_message.h |  72 ++
>  6 files changed, 692 insertions(+), 599 deletions(-)
>  create mode 100644 drivers/gpu/drm/i915/display/intel_hdcp_gsc_message.c
>  create mode 100644 drivers/gpu/drm/i915/display/intel_hdcp_gsc_message.h
Shankar, Uma Oct. 12, 2023, 4:10 a.m. UTC | #2
> -----Original Message-----
> From: Intel-gfx <intel-gfx-bounces@lists.freedesktop.org> On Behalf Of Jani
> Nikula
> Sent: Wednesday, October 11, 2023 6:41 PM
> To: Kandpal, Suraj <suraj.kandpal@intel.com>; intel-gfx@lists.freedesktop.org
> Subject: Re: [Intel-gfx] [PATCH v5 0/2] Refactor i915 HDCP for XE
> 
> On Mon, 09 Oct 2023, Suraj Kandpal <suraj.kandpal@intel.com> wrote:
> > This patch series contains some refactors for i915 side of things
> > which will help with a cleaner code and maximum reuse of code for XE
> > going forward.
> >
> > Signed-off-by: Suraj Kandpal <suraj.kandpal@intel.com>
> 
> Acked-by: Jani Nikula <jani.nikula@intel.com>

Pushed to drm-intel-next. Thanks for the patch and reviews.

Regards,
Uma Shankar

> 
> >
> > Suraj Kandpal (2):
> >   drm/i915/hdcp: Move checks for gsc health status
> >   drm/i915/hdcp: Move common message filling function to its own file
> >
> >  drivers/gpu/drm/i915/Makefile                 |   1 +
> >  drivers/gpu/drm/i915/display/intel_hdcp.c     |   8 +-
> >  drivers/gpu/drm/i915/display/intel_hdcp_gsc.c | 617 +-----------------
> >  drivers/gpu/drm/i915/display/intel_hdcp_gsc.h |   1 +
> >  .../drm/i915/display/intel_hdcp_gsc_message.c | 592 +++++++++++++++++
> > .../drm/i915/display/intel_hdcp_gsc_message.h |  72 ++
> >  6 files changed, 692 insertions(+), 599 deletions(-)  create mode
> > 100644 drivers/gpu/drm/i915/display/intel_hdcp_gsc_message.c
> >  create mode 100644
> > drivers/gpu/drm/i915/display/intel_hdcp_gsc_message.h
> 
> --
> Jani Nikula, Intel