On Wed, Feb 6, 2019 at 1:36 PM Vinson Lee <[email protected]> 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 <[email protected]>

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

Reviewed-by: Rob Clark <[email protected]>

> ---
>  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
>
_______________________________________________
mesa-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to