output 0 overlay count : 9
output 1 overlay count : 8
Change-Id: I635e6831d5eb09922b4bd95752edb6da73e3a44f
#include "tdm_backend_vc4.h"
+#define MAX_OVERLAY_COUNT 9
+
#define LIST_INSERT_AFTER(__after, __item) \
(__item)->prev = (__after); \
(__item)->next = (__after)->next; \
} else if (type == DRM_PLANE_TYPE_PRIMARY) {
if (output_data->primary_layer)
continue;
+ } else if (output_data->overlay_layer_count > MAX_OVERLAY_COUNT) {
+ continue;
}
output_find = 1;