Intel-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Nilawar, Badal" <badal.nilawar@intel.com>
To: Jani Nikula <jani.nikula@linux.intel.com>,
	"Kandpal, Suraj" <suraj.kandpal@intel.com>,
	"intel-xe@lists.freedesktop.org" <intel-xe@lists.freedesktop.org>,
	"intel-gfx@lists.freedesktop.org"
	<intel-gfx@lists.freedesktop.org>
Subject: Re: [PATCH] drm/xe/hdcp: Add check to remove hdcp2 compatibilty
Date: Tue, 22 Oct 2024 13:56:24 +0530	[thread overview]
Message-ID: <dfc68ac8-fdd1-4283-9ebe-526a439d8e67@intel.com> (raw)
In-Reply-To: <87bjzcy43j.fsf@intel.com>



On 22-10-2024 13:14, Jani Nikula wrote:
> On Tue, 22 Oct 2024, "Nilawar, Badal" <badal.nilawar@intel.com> wrote:
>> -----Original Message-----
>> From: Intel-gfx <intel-gfx-bounces@lists.freedesktop.org> On Behalf Of Suraj Kandpal
>> Sent: 22 October 2024 11:27
>> To: intel-xe@lists.freedesktop.org; intel-gfx@lists.freedesktop.org
>> Cc: Kandpal, Suraj <suraj.kandpal@intel.com>
>> Subject: [PATCH] drm/xe/hdcp: Add check to remove hdcp2 compatibilty
>>
>> Add check to remove HDCP2 compatibility from BMG as it does not have GSC which ends up causing warning when we try to get reference of GSC FW.
>>
>> Signed-off-by: Suraj Kandpal <suraj.kandpal@intel.com>
>>
>> Could you please add fixes tag in commit message.
>>
>> Fixes: 89d030804831 ("drm/xe/hdcp: Fix condition for hdcp gsc cs requirement")
>> Fixes: 883631771038 ("drm/i915/mtl: Add HDCP GSC interface")
>>
>> Regards,
>> Badal
> 
> Please quote your replies properly [1]. Your mail is really quite hard
> to read [2].

I responded via Outlook because this email wasn't visible in 
Thunderbird. I hope my comments are understood.

Thanks,
Badal

> 
> BR,
> Jani.
> 
> [1] https://subspace.kernel.org/etiquette.html#do-not-top-post-when-replying
> 
> [2] https://lore.kernel.org/all/BN9PR11MB5530247EFE733E0B4E16870AE54C2@BN9PR11MB5530.namprd11.prod.outlook.com/
> 
>> ---
>>   drivers/gpu/drm/i915/display/intel_hdcp_gsc.c | 3 ++-
>>   drivers/gpu/drm/xe/display/xe_hdcp_gsc.c      | 3 ++-
>>   2 files changed, 4 insertions(+), 2 deletions(-)
>>
>> diff --git a/drivers/gpu/drm/i915/display/intel_hdcp_gsc.c b/drivers/gpu/drm/i915/display/intel_hdcp_gsc.c
>> index 55965844d829..2c1d0ee8cec2 100644
>> --- a/drivers/gpu/drm/i915/display/intel_hdcp_gsc.c
>> +++ b/drivers/gpu/drm/i915/display/intel_hdcp_gsc.c
>> @@ -21,7 +21,8 @@ struct intel_hdcp_gsc_message {
>>   
>>   bool intel_hdcp_gsc_cs_required(struct intel_display *display)  {
>> -	return DISPLAY_VER(display) >= 14;
>> +	return DISPLAY_VER(display) >= 14 &&
>> +		DISPLAY_VER_FULL(display) != IP_VER(14, 1);
>>   }
>>   
>>   bool intel_hdcp_gsc_check_status(struct intel_display *display) diff --git a/drivers/gpu/drm/xe/display/xe_hdcp_gsc.c b/drivers/gpu/drm/xe/display/xe_hdcp_gsc.c
>> index 231677129a35..e3c57f0b79c4 100644
>> --- a/drivers/gpu/drm/xe/display/xe_hdcp_gsc.c
>> +++ b/drivers/gpu/drm/xe/display/xe_hdcp_gsc.c
>> @@ -32,7 +32,8 @@ struct intel_hdcp_gsc_message {
>>   
>>   bool intel_hdcp_gsc_cs_required(struct intel_display *display)  {
>> -	return DISPLAY_VER(display) >= 14;
>> +	return DISPLAY_VER(display) >= 14 &&
>> +		DISPLAY_VER_FULL(display) != IP_VER(14, 1);
>>   }
>>   
>>   bool intel_hdcp_gsc_check_status(struct intel_display *display)
>> --
>> 2.34.1
>>
> 


  reply	other threads:[~2024-10-22  8:26 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-22  5:56 [PATCH] drm/xe/hdcp: Add check to remove hdcp2 compatibilty Suraj Kandpal
2024-10-22  6:03 ` Nautiyal, Ankit K
2024-10-22  6:09 ` Ghimiray, Himal Prasad
2024-10-22  6:26 ` Nilawar, Badal
2024-10-22  7:44   ` Jani Nikula
2024-10-22  8:26     ` Nilawar, Badal [this message]
2024-10-22  6:33 ` ✗ Fi.CI.CHECKPATCH: warning for " Patchwork
2024-10-22  6:33 ` ✗ Fi.CI.SPARSE: " Patchwork
2024-10-22  7:20 ` ✓ Fi.CI.BAT: success " Patchwork
2024-10-22  7:29 ` [PATCH] drm/xe/hdcp: Add check to remove hdcp2 compatibility Suraj Kandpal
2024-10-22  7:46   ` Jani Nikula
2024-10-22  8:53     ` Kandpal, Suraj
2024-10-24  7:58       ` Jani Nikula
2024-10-22  8:22   ` Ghimiray, Himal Prasad
2024-10-23 19:45   ` Matt Roper
2024-10-24  2:42     ` Kandpal, Suraj
2024-10-24 15:33   ` Daniele Ceraolo Spurio
2024-10-25  1:21     ` Kandpal, Suraj
2024-10-25 15:04       ` Daniele Ceraolo Spurio
2024-10-25 15:59         ` Kandpal, Suraj
2024-10-25 16:08   ` [PATCH] drm/xe/hdcp: Fix gsc structure check in fw check status Suraj Kandpal
2024-10-25 16:12     ` Matt Roper
2024-10-28 12:03     ` Jani Nikula
2024-10-22  8:18 ` ✗ Fi.CI.IGT: failure for drm/xe/hdcp: Add check to remove hdcp2 compatibilty Patchwork
2024-10-22  9:00 ` ✓ Fi.CI.BAT: success for drm/xe/hdcp: Add check to remove hdcp2 compatibilty (rev2) Patchwork
2024-10-22 10:36 ` ✗ Fi.CI.IGT: failure " Patchwork
2024-10-22 22:04 ` [PATCH] drm/xe/hdcp: Add check to remove hdcp2 compatibilty kernel test robot
2024-10-25 17:25 ` ✓ Fi.CI.BAT: success for drm/xe/hdcp: Add check to remove hdcp2 compatibilty (rev3) Patchwork
2024-10-25 22:56 ` ✗ Fi.CI.IGT: failure " 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=dfc68ac8-fdd1-4283-9ebe-526a439d8e67@intel.com \
    --to=badal.nilawar@intel.com \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=intel-xe@lists.freedesktop.org \
    --cc=jani.nikula@linux.intel.com \
    --cc=suraj.kandpal@intel.com \
    /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