Change-Id: I6756effbfce23d390e87b1bbca271e8d12cd25c8
#define S5P_FIMV_NV12MT_HALIGN 128
#define S5P_FIMV_NV12MT_VALIGN 64
+//#define VC4_TILED_FORMAT 1
+
struct dma_buf_info {
unsigned long size;
unsigned int fence_supported;
{
tbm_bufmgr_capability capabilities = TBM_BUFMGR_CAPABILITY_NONE;
+#ifdef VC4_TILED_FORMAT
+ capabilities = TBM_BUFMGR_CAPABILITY_SHARE_KEY|TBM_BUFMGR_CAPABILITY_SHARE_FD|TBM_BUFMGR_CAPABILITY_TILED_MEMORY;
+#else
capabilities = TBM_BUFMGR_CAPABILITY_SHARE_KEY|TBM_BUFMGR_CAPABILITY_SHARE_FD;
+#endif
if (error)
*error = TBM_ERROR_NONE;
return TBM_ERROR_NONE;
}
-//#define VC4_TILED_FORMAT 1
#ifdef VC4_TILED_FORMAT
#include <drm_fourcc.h>