RE: libdrm patch merge request

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

 



Hi Alex,

 

Please help apply below 4 patches from my personal gitlab repository to drm master branch. CI pipeline passes with these 4 changes.

These patches are:

1) to remove external libjson-c dependence to keep amdgpu_test self-containing, and to fix the build problem mentioned below by Michel as well.

2) to move all unit test configurations to C code.

 

https://gitlab.freedesktop.org/guchunchen/drm

 

Patch 1: amdgpu: remove json package dependence

Patch 2: amdgpu: delete test configuration file

Patch 3: amdgpu: add ras inject unit test

Patch 4: amdgpu: add ras feature capability check in inject test

 

Regards,

Guchun

 

-----Original Message-----

From: Chen, Guchun

Sent: Monday, August 12, 2019 11:22 AM

To: 'Michel Dänzer' <michel@xxxxxxxxxxx>; Alex Deucher <alexdeucher@xxxxxxxxx>

Cc: Zhou1, Tao <Tao.Zhou1@xxxxxxx>; amd-gfx@xxxxxxxxxxxxxxxxxxxxx; Deucher, Alexander <Alexander.Deucher@xxxxxxx>; Li, Candice <Candice.Li@xxxxxxx>; Li, Dennis <Dennis.Li@xxxxxxx>; Zhang, Hawking <Hawking.Zhang@xxxxxxx>

Subject: RE: libdrm patch merge request

 

Hi Michel,

 

My bad. Sorry for that.

My solution is to take the first suggestion from you, will prepare one patch soon for this.

 

Regards,

Guchun

 

-----Original Message-----

From: Michel Dänzer <mailto:michel@xxxxxxxxxxx>

Sent: Friday, August 9, 2019 10:13 PM

To: Chen, Guchun <mailto:Guchun.Chen@xxxxxxx>; Alex Deucher <mailto:alexdeucher@xxxxxxxxx>

Cc: Zhou1, Tao <mailto:Tao.Zhou1@xxxxxxx>; mailto:amd-gfx@xxxxxxxxxxxxxxxxxxxxx; Deucher, Alexander <mailto:Alexander.Deucher@xxxxxxx>; Li, Candice <mailto:Candice.Li@xxxxxxx>; Li, Dennis <mailto:Dennis.Li@xxxxxxx>; Zhang, Hawking <mailto:Hawking.Zhang@xxxxxxx>

Subject: Re: libdrm patch merge request

 

 

This broke the CI pipeline:

https://gitlab.freedesktop.org/mesa/drm/pipelines/54903

 

Looks like the problem is that the autotools build doesn't properly disable the amdgpu tests when the json-c library is missing. I suggest the following:

 

1. Add a HAVE_JSONC guard in tests/Makefile.am 2. Add libjson-c-dev to the packages installed by the oldest-autotools

   job in .gitlab-ci.yml

 

 

Until libdrm uses GitLab merge requests to catch this kind of issue before it hits master, please push changes to a branch in a forked personal repository and make sure the CI pipeline comes back green before asking for them to be pushed to master.

 

 

Thanks,

 

 

On 2019-08-09 3:25 a.m., Chen, Guchun wrote:

> Thanks, Alex.

>

> Regards,

> Guchun

>

> -----Original Message-----

> From: Alex Deucher <mailto:alexdeucher@xxxxxxxxx>

> Sent: Friday, August 9, 2019 1:24 AM

> To: Chen, Guchun <mailto:Guchun.Chen@xxxxxxx>

> Cc: Deucher, Alexander <mailto:Alexander.Deucher@xxxxxxx>;

> mailto:amd-gfx@xxxxxxxxxxxxxxxxxxxxx; Zhou1, Tao <mailto:Tao.Zhou1@xxxxxxx>; Li,

> Candice <mailto:Candice.Li@xxxxxxx>; Li, Dennis <mailto:Dennis.Li@xxxxxxx>; Zhang,

> Hawking <mailto:Hawking.Zhang@xxxxxxx>

> Subject: Re: libdrm patch merge request

>

> Done!

>

> Alex

>

> On Thu, Aug 8, 2019 at 5:18 AM Chen, Guchun <mailto:Guchun.Chen@xxxxxxx> wrote:

>> 

>> Hi Alex,

>> 

>> 

>> 

>> Would you mind merging attached 3 patches to libdrm master branch?

>> 

>> These changes are implemented for gfx and umc ras inject unit test by amdgpu_test.

>> 

>> Thanks a lot.

>> 

>> 

>> 

>> Regards,

>> 

>> Guchun

>> 

>> 

>> 

>> _______________________________________________

>> amd-gfx mailing list

>> mailto:amd-gfx@xxxxxxxxxxxxxxxxxxxxx

>> https://lists.freedesktop.org/mailman/listinfo/amd-gfx

> _______________________________________________

> amd-gfx mailing list

> mailto:amd-gfx@xxxxxxxxxxxxxxxxxxxxx

> https://lists.freedesktop.org/mailman/listinfo/amd-gfx

>

 

 

--

Earthling Michel Dänzer               |              https://www.amd.com

Libre software enthusiast             |             Mesa and X developer

_______________________________________________
amd-gfx mailing list
amd-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux