@@ -87,6 +87,18 @@ static const struct drm_format_info gen12_ccs_formats[] = {
87
87
{ .format = DRM_FORMAT_ABGR2101010 , .depth = 30 , .num_planes = 2 ,
88
88
.char_per_block = { 4 , 1 }, .block_w = { 1 , 2 }, .block_h = { 1 , 1 },
89
89
.hsub = 1 , .vsub = 1 , .has_alpha = true },
90
+ { .format = DRM_FORMAT_XRGB16161616F , .depth = 0 , .num_planes = 2 ,
91
+ .char_per_block = { 8 , 1 }, .block_w = { 1 , 1 }, .block_h = { 1 , 1 },
92
+ .hsub = 1 , .vsub = 1 , },
93
+ { .format = DRM_FORMAT_XBGR16161616F , .depth = 0 , .num_planes = 2 ,
94
+ .char_per_block = { 8 , 1 }, .block_w = { 1 , 1 }, .block_h = { 1 , 1 },
95
+ .hsub = 1 , .vsub = 1 , },
96
+ { .format = DRM_FORMAT_ARGB16161616F , .depth = 0 , .num_planes = 2 ,
97
+ .char_per_block = { 8 , 1 }, .block_w = { 1 , 1 }, .block_h = { 1 , 1 },
98
+ .hsub = 1 , .vsub = 1 , .has_alpha = true },
99
+ { .format = DRM_FORMAT_ABGR16161616F , .depth = 0 , .num_planes = 2 ,
100
+ .char_per_block = { 8 , 1 }, .block_w = { 1 , 1 }, .block_h = { 1 , 1 },
101
+ .hsub = 1 , .vsub = 1 , .has_alpha = true },
90
102
{ .format = DRM_FORMAT_YUYV , .num_planes = 2 ,
91
103
.char_per_block = { 2 , 1 }, .block_w = { 1 , 2 }, .block_h = { 1 , 1 },
92
104
.hsub = 2 , .vsub = 1 , .is_yuv = true },
@@ -145,6 +157,18 @@ static const struct drm_format_info gen12_ccs_cc_formats[] = {
145
157
{ .format = DRM_FORMAT_ABGR2101010 , .depth = 30 , .num_planes = 3 ,
146
158
.char_per_block = { 4 , 1 , 0 }, .block_w = { 1 , 2 , 0 }, .block_h = { 1 , 1 , 0 },
147
159
.hsub = 1 , .vsub = 1 , .has_alpha = true },
160
+ { .format = DRM_FORMAT_XRGB16161616F , .depth = 0 , .num_planes = 3 ,
161
+ .char_per_block = { 8 , 1 , 0 }, .block_w = { 1 , 1 , 0 }, .block_h = { 1 , 1 , 0 },
162
+ .hsub = 1 , .vsub = 1 , },
163
+ { .format = DRM_FORMAT_XBGR16161616F , .depth = 0 , .num_planes = 3 ,
164
+ .char_per_block = { 8 , 1 , 0 }, .block_w = { 1 , 1 , 0 }, .block_h = { 1 , 1 , 0 },
165
+ .hsub = 1 , .vsub = 1 , },
166
+ { .format = DRM_FORMAT_ARGB16161616F , .depth = 0 , .num_planes = 3 ,
167
+ .char_per_block = { 8 , 1 , 0 }, .block_w = { 1 , 1 , 0 }, .block_h = { 1 , 1 , 0 },
168
+ .hsub = 1 , .vsub = 1 , .has_alpha = true },
169
+ { .format = DRM_FORMAT_ABGR16161616F , .depth = 0 , .num_planes = 3 ,
170
+ .char_per_block = { 8 , 1 , 0 }, .block_w = { 1 , 1 , 0 }, .block_h = { 1 , 1 , 0 },
171
+ .hsub = 1 , .vsub = 1 , .has_alpha = true },
148
172
};
149
173
150
174
static const struct drm_format_info gen12_flat_ccs_cc_formats [] = {
@@ -172,6 +196,18 @@ static const struct drm_format_info gen12_flat_ccs_cc_formats[] = {
172
196
{ .format = DRM_FORMAT_ABGR2101010 , .depth = 30 , .num_planes = 2 ,
173
197
.char_per_block = { 4 , 0 }, .block_w = { 1 , 0 }, .block_h = { 1 , 0 },
174
198
.hsub = 1 , .vsub = 1 , .has_alpha = true },
199
+ { .format = DRM_FORMAT_XRGB16161616F , .depth = 0 , .num_planes = 2 ,
200
+ .char_per_block = { 8 , 0 }, .block_w = { 1 , 0 }, .block_h = { 1 , 0 },
201
+ .hsub = 1 , .vsub = 1 , },
202
+ { .format = DRM_FORMAT_XBGR16161616F , .depth = 0 , .num_planes = 2 ,
203
+ .char_per_block = { 8 , 0 }, .block_w = { 1 , 0 }, .block_h = { 1 , 0 },
204
+ .hsub = 1 , .vsub = 1 , },
205
+ { .format = DRM_FORMAT_ARGB16161616F , .depth = 0 , .num_planes = 2 ,
206
+ .char_per_block = { 8 , 0 }, .block_w = { 1 , 0 }, .block_h = { 1 , 0 },
207
+ .hsub = 1 , .vsub = 1 , .has_alpha = true },
208
+ { .format = DRM_FORMAT_ABGR16161616F , .depth = 0 , .num_planes = 2 ,
209
+ .char_per_block = { 8 , 0 }, .block_w = { 1 , 0 }, .block_h = { 1 , 0 },
210
+ .hsub = 1 , .vsub = 1 , .has_alpha = true },
175
211
};
176
212
177
213
struct intel_modifier_desc {
0 commit comments