File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -88,6 +88,22 @@ static const struct hvs_format {
88
88
.drm = DRM_FORMAT_ARGB8888 , .hvs = HVS_PIXEL_FORMAT_RGBA8888 ,
89
89
.pixel_order = HVS_PIXEL_ORDER_ABGR , .has_alpha = true,
90
90
},
91
+ {
92
+ .drm = DRM_FORMAT_RGB565 , .hvs = HVS_PIXEL_FORMAT_RGB565 ,
93
+ .pixel_order = HVS_PIXEL_ORDER_XRGB , .has_alpha = false,
94
+ },
95
+ {
96
+ .drm = DRM_FORMAT_BGR565 , .hvs = HVS_PIXEL_FORMAT_RGB565 ,
97
+ .pixel_order = HVS_PIXEL_ORDER_XBGR , .has_alpha = false,
98
+ },
99
+ {
100
+ .drm = DRM_FORMAT_ARGB1555 , .hvs = HVS_PIXEL_FORMAT_RGBA5551 ,
101
+ .pixel_order = HVS_PIXEL_ORDER_ABGR , .has_alpha = true,
102
+ },
103
+ {
104
+ .drm = DRM_FORMAT_XRGB1555 , .hvs = HVS_PIXEL_FORMAT_RGBA5551 ,
105
+ .pixel_order = HVS_PIXEL_ORDER_ABGR , .has_alpha = false,
106
+ },
91
107
};
92
108
93
109
static const struct hvs_format * vc4_get_hvs_format (u32 drm_format )
You can’t perform that action at this time.
0 commit comments