diff options
author | Thierry Reding <[email protected]> | 2017-10-11 14:38:56 +0200 |
---|---|---|
committer | Thierry Reding <[email protected]> | 2018-03-09 11:48:08 +0100 |
commit | 2052dbdae363f4fd184842733ff9c96bd6e7f08c (patch) | |
tree | 7689dc605b96cab169e1005a0cb8dd57857fc83c /src/gallium/drivers/nouveau/Android.mk | |
parent | b964cab80a094207cbdc33c56d0904533670c8a9 (diff) |
nouveau: Add framebuffer modifier support
This adds support for framebuffer modifiers to Nouveau. This will be
used by the Tegra driver to share metadata about the format of buffers
(such as the tiling mode or compression).
Changes in v2:
- remove unused parameters to nouveau_buffer_create()
- move format modifier query code to nvc0 backend
- restrict format modifiers to 2D textures
- implement ->query_dmabuf_modifiers()
Changes in v4:
- add UAPI include path on meson builds
Changes in v5:
- remove unnecessary includes
Acked-by: Emil Velikov <[email protected]>
Tested-by: Andre Heider <[email protected]>
Reviewed-by: Ilia Mirkin <[email protected]>
Signed-off-by: Thierry Reding <[email protected]>
Diffstat (limited to 'src/gallium/drivers/nouveau/Android.mk')
-rw-r--r-- | src/gallium/drivers/nouveau/Android.mk | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/nouveau/Android.mk b/src/gallium/drivers/nouveau/Android.mk index 2de22e73ec1..a446774a86e 100644 --- a/src/gallium/drivers/nouveau/Android.mk +++ b/src/gallium/drivers/nouveau/Android.mk @@ -36,6 +36,9 @@ LOCAL_SRC_FILES := \ $(NVC0_CODEGEN_SOURCES) \ $(NVC0_C_SOURCES) +LOCAL_C_INCLUDES := \ + $(MESA_TOP)/include/drm-uapi + LOCAL_SHARED_LIBRARIES := libdrm_nouveau LOCAL_MODULE := libmesa_pipe_nouveau |