[Mesa-dev] [PATCH] freedreno: Fix meson build.

Rob Clark robdclark at gmail.com
Thu Feb 7 12:57:40 UTC 2019


On Wed, Feb 6, 2019 at 1:36 PM Vinson Lee <vlee at freedesktop.org> wrote:
>
> ../src/gallium/drivers/freedreno/freedreno_resource.c: In function ‘fd_resource_create_with_modifiers’:
> ../src/gallium/drivers/freedreno/freedreno_resource.c:884:30: error: ‘DRM_FORMAT_MOD_QCOM_COMPRESSED’ undeclared (first use in this function)
>    allow_ubwc = find_modifier(DRM_FORMAT_MOD_QCOM_COMPRESSED, modifiers, count);
>                               ^
>
> Fixes: 1ce5d757d04a ("freedreno: core buffer modifier support")
> Signed-off-by: Vinson Lee <vlee at freedesktop.org>

hmm, no idea how I didn't hit that, but this looks like the right thing to do

Reviewed-by: Rob Clark <robdclark at gmail.com>

> ---
>  src/gallium/drivers/freedreno/meson.build | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/gallium/drivers/freedreno/meson.build b/src/gallium/drivers/freedreno/meson.build
> index 1e3a3037014b..25aa8ecdb455 100644
> --- a/src/gallium/drivers/freedreno/meson.build
> +++ b/src/gallium/drivers/freedreno/meson.build
> @@ -209,7 +209,7 @@ files_libfreedreno = files(
>  )
>
>  freedreno_includes = [
> -  inc_src, inc_include, inc_gallium, inc_gallium_aux,
> +  inc_src, inc_include, inc_drm_uapi, inc_gallium, inc_gallium_aux,
>    inc_freedreno, include_directories('ir3'),
>  ]
>
> --
> 2.19.1.dropbox.2
>


More information about the mesa-dev mailing list