Re: [Intel-gfx] [PATCH] drm/i915/debugfs: HDCP capability enc NULL check

2021-02-09 Thread Imre Deak
On Tue, Feb 09, 2021 at 07:39:17AM +0200, Gupta, Anshuman wrote: > > > > > > [...] > > > > > > diff --git a/drivers/gpu/drm/i915/display/intel_hdcp.c > > > > > > b/drivers/gpu/drm/i915/display/intel_hdcp.c > > > > > > index ae1371c36a32..58af323d189a 100644 > > > > > > --- a/drivers/gpu/drm/i915/di

Re: [Intel-gfx] [PATCH] drm/i915/debugfs: HDCP capability enc NULL check

2021-02-08 Thread Gupta, Anshuman
> -Original Message- > From: Gupta, Anshuman > Sent: Friday, February 5, 2021 5:43 PM > To: Deak, Imre > Cc: intel-gfx@lists.freedesktop.org > Subject: RE: [Intel-gfx] [PATCH] drm/i915/debugfs: HDCP capability enc NULL > check > > > > > -Origi

Re: [Intel-gfx] [PATCH] drm/i915/debugfs: HDCP capability enc NULL check

2021-02-05 Thread Gupta, Anshuman
> -Original Message- > From: Imre Deak > Sent: Friday, February 5, 2021 5:35 PM > To: Gupta, Anshuman > Cc: intel-gfx@lists.freedesktop.org > Subject: Re: [Intel-gfx] [PATCH] drm/i915/debugfs: HDCP capability enc NULL > check > > On Fri, Feb 05, 2021

Re: [Intel-gfx] [PATCH] drm/i915/debugfs: HDCP capability enc NULL check

2021-02-05 Thread Imre Deak
On Fri, Feb 05, 2021 at 10:16:30AM +0200, Gupta, Anshuman wrote: > > -Original Message- > > From: Imre Deak > > Sent: Thursday, February 4, 2021 11:58 PM > > To: Gupta, Anshuman > > Cc: intel-gfx@lists.freedesktop.org > > Subject: Re: [Intel-gfx] [PATC

Re: [Intel-gfx] [PATCH] drm/i915/debugfs: HDCP capability enc NULL check

2021-02-05 Thread Gupta, Anshuman
> -Original Message- > From: Imre Deak > Sent: Thursday, February 4, 2021 11:58 PM > To: Gupta, Anshuman > Cc: intel-gfx@lists.freedesktop.org > Subject: Re: [Intel-gfx] [PATCH] drm/i915/debugfs: HDCP capability enc NULL > check > > On Fri, Jan 29, 2021 at

Re: [Intel-gfx] [PATCH] drm/i915/debugfs: HDCP capability enc NULL check

2021-02-04 Thread Imre Deak
On Fri, Jan 29, 2021 at 01:30:43PM +0530, Anshuman Gupta wrote: > 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_

Re: [Intel-gfx] [PATCH] drm/i915/debugfs: HDCP capability enc NULL check

2021-02-01 Thread Gupta, Anshuman
> -Original Message- > From: Nautiyal, Ankit K > Sent: Monday, February 1, 2021 4:25 PM > To: Gupta, Anshuman ; intel- > g...@lists.freedesktop.org > Subject: Re: [Intel-gfx] [PATCH] drm/i915/debugfs: HDCP capability enc NULL > check > > > On 1/29/2021

Re: [Intel-gfx] [PATCH] drm/i915/debugfs: HDCP capability enc NULL check

2021-02-01 Thread Nautiyal, Ankit K
On 1/29/2021 1:30 PM, Anshuman Gupta wrote: 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 grac

[Intel-gfx] [PATCH] drm/i915/debugfs: HDCP capability enc NULL check

2021-01-29 Thread Anshuman Gupta
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. Signed-off-by: Anshuman Gupta --- dri