[Mesa-dev] [PATCH 3/3] android: amd/addrlib: add gfx10 support

Mauro Rossi issor.oruam at gmail.com
Wed Jul 10 15:39:48 UTC 2019


Hi,
the procedure I apply is to build android-x86, but it could be applied to
AOSP or Celadon too.

The sequence of steps is described in details here:
https://www.android-x86.org/source.html

At the moment I am testing with
BOARD_GPU_DRIVERS ?= i915 i965 nouveau r300g r600g radeonsi virgl vmwgfx

http://git.osdn.net/view?p=android-x86/device-generic-common.git;a=blob;f=BoardConfig.mk;h=bd23daf54a7f45b4d2bc27c8cfa49e0deef801ae;hb=refs/heads/oreo-x86


Looking at extended drivers scope all the drivers having Android support
(Android.mk building rules) could be tested by CI,
to ensure Android build is at least not broken.

In order to test that the drivers "are just building ok" (pure build
verification)
the necessary action would be to add the drivers to BoardConfig.mk in
BOARD_GPU_DRIVERS variable.

Mauro

On Wed, Jul 10, 2019 at 4:59 PM Mark Janes <mark.a.janes at intel.com> wrote:

> Do you have some documentation on how you are building Android with
> Mesa?  We set up a buildtest using an Android (Celadon) tree from Intel,
> and it seems to be less up-to-date than your build.
>
> Last week, you found a build error that was missed by our CI.  When you
> pushed this series, we got:
>
>  src/egl/main/egldevice.c:126:11: error: implicit declaration of function
> 'drmDevicesEqual'
>
> I'd like to leverage your work to improve our automation, so we don't
> break your tree again.
>
> -Mark
>
> Mauro Rossi <issor.oruam at gmail.com> writes:
>
> > Fix the following building error:
> >
> > external/mesa/src/amd/addrlib/src/gfx10/gfx10addrlib.cpp:35:10:
> > fatal error: 'gfx10_gb_reg.h' file not found
> >          ^~~~~~~~~~~~~~~~
> > 1 error generated.
> >
> > Fixes: 78cdf9a ("amd/addrlib: add gfx10 support")
> > Signed-off-by: Mauro Rossi <issor.oruam at gmail.com>
> > ---
> >  src/amd/Android.addrlib.mk | 1 +
> >  1 file changed, 1 insertion(+)
> >
> > diff --git a/src/amd/Android.addrlib.mk b/src/amd/Android.addrlib.mk
> > index 428fe19b20..eec78fc8bf 100644
> > --- a/src/amd/Android.addrlib.mk
> > +++ b/src/amd/Android.addrlib.mk
> > @@ -37,6 +37,7 @@ LOCAL_C_INCLUDES := \
> >       $(MESA_TOP)/src/amd/addrlib/src \
> >       $(MESA_TOP)/src/amd/addrlib/src/core \
> >       $(MESA_TOP)/src/amd/addrlib/src/chip/gfx9 \
> > +     $(MESA_TOP)/src/amd/addrlib/src/chip/gfx10 \
> >       $(MESA_TOP)/src/amd/addrlib/src/chip/r800
> >
> >  LOCAL_EXPORT_C_INCLUDE_DIRS := \
> > --
> > 2.20.1
> >
> > _______________________________________________
> > mesa-dev mailing list
> > mesa-dev at lists.freedesktop.org
> > https://lists.freedesktop.org/mailman/listinfo/mesa-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20190710/cda6fd06/attachment.html>


More information about the mesa-dev mailing list