dri-devel.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
From: Jani Nikula <jani.nikula@linux.intel.com>
To: "Souza, Jose" <jose.souza@intel.com>,
	"dri-devel@lists.freedesktop.org"
	<dri-devel@lists.freedesktop.org>,
	"Srivatsa, Anusha" <anusha.srivatsa@intel.com>
Cc: "De Marchi, Lucas" <lucas.demarchi@intel.com>,
	"Argenziano, Antonio" <antonio.argenziano@intel.com>
Subject: Re: [PATCH libdrm] intel: sync i915_pciids.h with kernel
Date: Mon, 25 Mar 2019 12:28:22 +0200	[thread overview]
Message-ID: <8736nbs0xl.fsf@intel.com> (raw)
In-Reply-To: <4b9cd0bd742ecb847d855a1f3275df11597a898e.camel@intel.com>

On Fri, 22 Mar 2019, "Souza, Jose" <jose.souza@intel.com> wrote:
> On Fri, 2019-03-22 at 13:35 -0700, Anusha wrote:
>> Straight copy from the kernel file.
>> 
>> Add PCI IDs for CML, add additional PCI ID
>> for ICL.
>> 
>> Align with kernel commits:
>> 
>> a7b4deeb02b97 ("drm/i915/cml: Add CML PCI IDS")
>> 9a751b999d17a ("drm/i915: Add new ICL PCI ID")
>> 
>> v2: Do a copy from kernel header (Jose)
>> - Change commit message (Lucas)
>> 
>> v3: Add corresponding kernel commit IDs (Antonio)
>
> Not sure if libdrm have a style rule but in i915 we use 12 digits for
> the commit hash, other than that:

Protip, 'dim cite' gives you the references in the right format, or you
can add this to your .gitconfig alias section for a 'git cite' alias:

	cite = "!f() { git log -1 '--pretty=format:%H (\"%s\")%n' $1 | sed -e 's/\\([0-f]\\{12\\}\\)[0-f]*/\\1/'; }; f"

BR,
Jani.


>
> Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
>
>> 
>> Cc: Antonio Argenziano <antonio.argenziano@intel.com>
>> Cc: José Roberto de Souza <jose.souza@intel.com>
>> Cc: Lucas De Marchi <lucas.demarchi@intel.com>
>> Signed-off-by: Anusha Srivatsa <anusha.srivatsa@intel.com>
>> ---
>>  intel/i915_pciids.h | 31 +++++++++++++++++++++++++++++--
>>  1 file changed, 29 insertions(+), 2 deletions(-)
>> 
>> diff --git a/intel/i915_pciids.h b/intel/i915_pciids.h
>> index d2fad7b0..291b5e3f 100644
>> --- a/intel/i915_pciids.h
>> +++ b/intel/i915_pciids.h
>> @@ -373,6 +373,30 @@
>>  #define INTEL_AML_CFL_GT2_IDS(info) \
>>  	INTEL_VGA_DEVICE(0x87CA, info)
>>  
>> +/* CML GT1 */
>> +#define INTEL_CML_GT1_IDS(info)	\
>> +	INTEL_VGA_DEVICE(0x9B21, info), \
>> +	INTEL_VGA_DEVICE(0x9BAA, info), \
>> +	INTEL_VGA_DEVICE(0x9BAB, info), \
>> +	INTEL_VGA_DEVICE(0x9BAC, info), \
>> +	INTEL_VGA_DEVICE(0x9BA0, info), \
>> +	INTEL_VGA_DEVICE(0x9BA5, info), \
>> +	INTEL_VGA_DEVICE(0x9BA8, info), \
>> +	INTEL_VGA_DEVICE(0x9BA4, info), \
>> +	INTEL_VGA_DEVICE(0x9BA2, info)
>> +
>> +/* CML GT2 */
>> +#define INTEL_CML_GT2_IDS(info)	\
>> +	INTEL_VGA_DEVICE(0x9B41, info), \
>> +	INTEL_VGA_DEVICE(0x9BCA, info), \
>> +	INTEL_VGA_DEVICE(0x9BCB, info), \
>> +	INTEL_VGA_DEVICE(0x9BCC, info), \
>> +	INTEL_VGA_DEVICE(0x9BC0, info), \
>> +	INTEL_VGA_DEVICE(0x9BC5, info), \
>> +	INTEL_VGA_DEVICE(0x9BC8, info), \
>> +	INTEL_VGA_DEVICE(0x9BC4, info), \
>> +	INTEL_VGA_DEVICE(0x9BC2, info)
>> +
>>  #define INTEL_KBL_IDS(info) \
>>  	INTEL_KBL_GT1_IDS(info), \
>>  	INTEL_KBL_GT2_IDS(info), \
>> @@ -436,7 +460,9 @@
>>  	INTEL_WHL_U_GT1_IDS(info), \
>>  	INTEL_WHL_U_GT2_IDS(info), \
>>  	INTEL_WHL_U_GT3_IDS(info), \
>> -	INTEL_AML_CFL_GT2_IDS(info)
>> +	INTEL_AML_CFL_GT2_IDS(info), \
>> +	INTEL_CML_GT1_IDS(info), \
>> +	INTEL_CML_GT2_IDS(info)
>>  
>>  /* CNL */
>>  #define INTEL_CNL_IDS(info) \
>> @@ -469,6 +495,7 @@
>>  	INTEL_VGA_DEVICE(0x8A57, info), \
>>  	INTEL_VGA_DEVICE(0x8A56, info), \
>>  	INTEL_VGA_DEVICE(0x8A71, info), \
>> -	INTEL_VGA_DEVICE(0x8A70, info)
>> +	INTEL_VGA_DEVICE(0x8A70, info), \
>> +	INTEL_VGA_DEVICE(0x8A53, info)
>>  
>>  #endif /* _I915_PCIIDS_H */
> _______________________________________________
> dri-devel mailing list
> dri-devel@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/dri-devel

-- 
Jani Nikula, Intel Open Source Graphics Center
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

  reply	other threads:[~2019-03-25 10:25 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-22 20:35 [PATCH libdrm] intel: sync i915_pciids.h with kernel Anusha
2019-03-22 21:03 ` Souza, Jose
2019-03-25 10:28   ` Jani Nikula [this message]
  -- strict thread matches above, loose matches on Subject: below --
2020-08-20  8:46 Adam Miszczak
2020-08-20 17:24 ` Souza, Jose
2020-06-16 12:37 ramadevi.gandi
2020-03-20  0:38 Swathi Dhanavanthri
2020-03-23 12:04 ` Timo Aaltonen
2019-12-10 20:06 José Roberto de Souza
2019-12-12 17:17 ` Matt Roper
2019-12-16 16:52   ` Souza, Jose
2019-08-30 20:32 Anusha Srivatsa
2019-09-05 17:54 ` Souza, Jose
2019-02-02  8:07 Rodrigo Vivi
2019-02-04 18:19 ` Lionel Landwerlin

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=8736nbs0xl.fsf@intel.com \
    --to=jani.nikula@linux.intel.com \
    --cc=antonio.argenziano@intel.com \
    --cc=anusha.srivatsa@intel.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=jose.souza@intel.com \
    --cc=lucas.demarchi@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;
as well as URLs for NNTP newsgroup(s).