RE: [PATCH libdrm 2/2] radeon: use asic id table to get chipset name

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> do you also have a Mesa patch showing how the new APIs will be used?
Sent out to mesa dev just now.

> Remove these lines.
Right.

> Please consistently either use this, or don't add the util directory to the
> include path anywhere.
OK.

> Put an empty line between declarations and statements.
OK.

Sam


> -----Original Message-----
> From: Michel Dänzer [mailto:michel@xxxxxxxxxxx]
> Sent: Tuesday, July 04, 2017 5:43 AM
> To: Li, Samuel <Samuel.Li@xxxxxxx>
> Cc: amd-gfx@xxxxxxxxxxxxxxxxxxxxx; dri-devel@xxxxxxxxxxxxxxxxxxxxx
> Subject: Re: [PATCH libdrm 2/2] radeon: use asic id table to get chipset name
> 
> 
> Hi Sam,
> 
> 
> do you also have a Mesa patch showing how the new APIs will be used?
> Without seeing that, some minor comments below.
> 
> 
> On 01/07/17 04:25 AM, Samuel Li wrote:
> >
> > +//#include <errno.h>
> > +//#include <string.h>
> 
> Remove these lines.
> 
> 
> > +#include "util/util_asic_id.h"
> 
> Patch 1 adds the util directory to include paths, which would allow just
> 
> #include "util_asic_id.h"
> 
> Please consistently either use this, or don't add the util directory to the
> include path anywhere.
> 
> 
> > +int radeon_asic_id_initialize(void)
> > +{
> > +	int r = 0;
> > +	pthread_mutex_lock(&asic_id_mutex);
> 
> Put an empty line between declarations and statements.
> 
> 
> --
> Earthling Michel Dänzer               |               http://www.amd.com
> Libre software enthusiast             |             Mesa and X developer
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/dri-devel




[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux