freedreno header uses not installed xf86atomic.h

Rob Clark robdclark at gmail.com
Fri Feb 15 12:11:55 UTC 2019


On Fri, Feb 15, 2019 at 3:55 AM Daniel Drake <drake at endlessm.com> wrote:
>
> Hi,
>
> Using libdrm-2.4.97, mesa fails to build on ARM with:
>
> [  456s] In file included from
> ../../../../../src/gallium/drivers/freedreno/freedreno_util.h:33,
> [  456s]                  from
> ../../../../../src/gallium/drivers/freedreno/freedreno_batch.h:34,
> [  456s]                  from
> ../../../../../src/gallium/drivers/freedreno/freedreno_context.h:39,
> [  456s]                  from
> ../../../../../src/gallium/drivers/freedreno/freedreno_program.c:33:
> [  456s] /usr/include/freedreno/freedreno_ringbuffer.h:32:10: fatal
> error: xf86atomic.h: No such file or directory
>
> The freedreno headers were recently modified to use xf86atomic.h:
> https://gitlab.freedesktop.org/mesa/drm/commit/b541d21a0a908bf98d44375720f4430297720743
>

oh, that union/ifdef hack was specifically to avoid this issue..
probably the patch removing it should be reverted.

BR,
-R

> However xf86atomic.h is not within the set of files installed by
> libdrm. Should it be?
>
> Thanks
> Daniel
> _______________________________________________
> dri-devel mailing list
> dri-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/dri-devel


More information about the dri-devel mailing list