Re: [PATCH] drm/panfrost: Give name to anonymous coredump object union

2022-09-20 Thread Alyssa Rosenzweig
On Tue, Sep 20, 2022 at 02:26:52PM +0100, Steven Price wrote: > On 19/09/2022 07:44, Adri??n Larumbe wrote: > > Hi Steven, > > > > On 13.09.2022 09:45, Steven Price wrote: > >> On 12/09/2022 17:44, Adri??n Larumbe wrote: > >>> Building Mesa's Perfetto requires including the panfrost drm uAPI heade

Re: [PATCH] drm/panfrost: Give name to anonymous coredump object union

2022-09-20 Thread Steven Price
On 19/09/2022 07:44, Adrián Larumbe wrote: > Hi Steven, > > On 13.09.2022 09:45, Steven Price wrote: >> On 12/09/2022 17:44, Adrián Larumbe wrote: >>> Building Mesa's Perfetto requires including the panfrost drm uAPI header in >>> C++ code, but the C++ compiler requires anonymous unions to have on

Re: [PATCH] drm/panfrost: Give name to anonymous coredump object union

2022-09-18 Thread Adrián Larumbe
Hi Steven, On 13.09.2022 09:45, Steven Price wrote: >On 12/09/2022 17:44, Adrián Larumbe wrote: >> Building Mesa's Perfetto requires including the panfrost drm uAPI header in >> C++ code, but the C++ compiler requires anonymous unions to have only >> public non-static data members. >> >> Commit 7

Re: [PATCH] drm/panfrost: Give name to anonymous coredump object union

2022-09-13 Thread Steven Price
On 12/09/2022 17:44, Adrián Larumbe wrote: > Building Mesa's Perfetto requires including the panfrost drm uAPI header in > C++ code, but the C++ compiler requires anonymous unions to have only > public non-static data members. > > Commit 730c2bf4ad39 ("drm/panfrost: Add support for devcoredump") >

Re: [PATCH] drm/panfrost: Give name to anonymous coredump object union

2022-09-12 Thread Alyssa Rosenzweig
Have we checked that this actually fixes the Mesa build? If so, R-b. > Commit 730c2bf4ad39 ("drm/panfrost: Add support for devcoredump") > introduces one such union, breaking the Mesa build. > > Give it a name, and also rename pan_reg_hdr structure because it will > always be prefixed by the unio