Support cursor plane on Rockchip platforms

This commit is contained in:
amazingfate authored and Cameron Gutman committed 2024-01-16 00:49:16 -06:00
1 parent 0712e05aab
commit 5bd2799209
1 file changed
+1
+1
View File
@@ -487,6 +487,7 @@ int rk_setup(int videoFormat, int width, int height, int redrawRate, void* conte
}
plane_props[j] = prop;
if (!strcmp(prop->name, "type") && (props->prop_values[j] == DRM_PLANE_TYPE_OVERLAY ||
props->prop_values[j] == DRM_PLANE_TYPE_CURSOR ||
props->prop_values[j] == DRM_PLANE_TYPE_PRIMARY)) {
plane_id = ovr->plane_id;
}