Update source to Armbian-dev-202610.A311Y3

This commit is contained in:
2026-11-11 08:50:43 +08:00
parent 3428a94f6b
commit f459ef6a9e
12514 changed files with 2264376 additions and 468481 deletions
@@ -112,8 +112,8 @@ struct VtBufferItem {
std::string toString() {
std::lock_guard<std::mutex> lock(mMutex);
char temp[64];
snprintf(temp, 64, "fd %d, %" PRIu64 ", releaseFence %d",
mBufferFd, mTimeStamp, mReleaseFence->getFd());
snprintf(temp, 64, "fd %d, %" PRIu64 ", releaseFence %d mediaSync: %d",
mBufferFd, mTimeStamp, mReleaseFence->getFd(), mMetaData.mediaSync);
std::string str = temp;
return str;
}
@@ -219,8 +219,12 @@ public:
virtual int32_t setPresentFence(int32_t fenceFd);
virtual int32_t getPresentFence();
virtual bool isMosaicMode() { return mMosaicMode; }
virtual void setMosaicMode(bool mode) { mMosaicMode = mode;}
virtual bool isVtBuffer() { return false;}
virtual bool interruptVtProcess(bool change = true) { return false;}
virtual bool isVtFrameForMediaSync() { return false; }
void setUniqueId(uint64_t id) { mId = id; }
uint64_t getUniqueId() { return mId; }
@@ -250,6 +254,8 @@ public:
virtual std::vector<uint32_t> getOffsetList() {return mOffsetList;}
virtual void getHdrMetaData(vframe_master_display_colour_s_t & hdrMetaData __unused) {return;}
virtual bool setRefreshFlagForProcessor(int32_t flag);
virtual int32_t getRefreshFlagForProcessor();
public:
// for videotunnel
class VtContentChangeListener : public VtContentListener {
@@ -305,10 +311,13 @@ public:
uint32_t mBufferFormat = 0;
uint32_t mBufferAlignHeight = 0;
bool mMosaicMode;
std::vector<int> mFdList;
std::vector<uint32_t> mStrideList;
std::vector<uint32_t> mOffsetList;
int32_t mRefreshFlagForProcessor;
private:
// for CUSTOM_BUFFER
int64_t mLayerMetaData;
@@ -248,9 +248,10 @@ typedef enum {
PLANE_SUPPORT_3 = (1 << 11),
PLANE_SUPPORT_4K = (1 << 12),
PLANE_SUPPORT_8K = (1 << 13),
PLANE_SUPPORT_MOSAIC = (1 << 14),
PLANE_SUPPORT_MOSAIC_BASAL = (1 << 14),
PLANE_SUPPORT_NONEAFBC_4K = (1 << 15),
PLANE_SUPPORT_NONEAFBC_8K = (1 << 16),
PLANE_SUPPORT_MOSAIC_ADVANCED = (1 << 17),
} drm_plane_capacity_t;
@@ -655,6 +656,8 @@ typedef enum {
VFRAME_COLOR = 0x1,
VFRAME_HALF_SCREEN = 0x2,
VFRAME_BYPASS_CROP = 0x4,
VFRAME_MEDIA_SYNC = 0x8,
VFRAME_TUNNEL = 0x10,
} vframe_flag_t;
/* drm prop dv_cap_rx every bit represent definition
@@ -724,6 +727,7 @@ bool parseMesonDrmHdcp(const char *input, drm_hdcp_info_t* info);
bool isLegacySidebandVideo(drm_fb_type_t fbtype);
bool isVideoBufferLayer(drm_fb_type_t fbtype);
bool isVideoComposerType(meson_composition_t type);
bool isPlugConnector(uint32_t type);
#endif/*DRM_TYPES_H*/