@@ -67,6 +67,18 @@ static const struct drm_format_info gen12_ccs_formats[] = {
67
67
{ .format = DRM_FORMAT_ABGR8888 , .depth = 32 , .num_planes = 2 ,
68
68
.char_per_block = { 4 , 1 }, .block_w = { 1 , 2 }, .block_h = { 1 , 1 },
69
69
.hsub = 1 , .vsub = 1 , .has_alpha = true },
70
+ { .format = DRM_FORMAT_XRGB2101010 , .depth = 30 , .num_planes = 2 ,
71
+ .char_per_block = { 4 , 1 }, .block_w = { 1 , 2 }, .block_h = { 1 , 1 },
72
+ .hsub = 1 , .vsub = 1 , },
73
+ { .format = DRM_FORMAT_XBGR2101010 , .depth = 30 , .num_planes = 2 ,
74
+ .char_per_block = { 4 , 1 }, .block_w = { 1 , 2 }, .block_h = { 1 , 1 },
75
+ .hsub = 1 , .vsub = 1 , },
76
+ { .format = DRM_FORMAT_ARGB2101010 , .depth = 30 , .num_planes = 2 ,
77
+ .char_per_block = { 4 , 1 }, .block_w = { 1 , 2 }, .block_h = { 1 , 1 },
78
+ .hsub = 1 , .vsub = 1 , .has_alpha = true },
79
+ { .format = DRM_FORMAT_ABGR2101010 , .depth = 30 , .num_planes = 2 ,
80
+ .char_per_block = { 4 , 1 }, .block_w = { 1 , 2 }, .block_h = { 1 , 1 },
81
+ .hsub = 1 , .vsub = 1 , .has_alpha = true },
70
82
{ .format = DRM_FORMAT_YUYV , .num_planes = 2 ,
71
83
.char_per_block = { 2 , 1 }, .block_w = { 1 , 2 }, .block_h = { 1 , 1 },
72
84
.hsub = 2 , .vsub = 1 , .is_yuv = true },
@@ -113,6 +125,18 @@ static const struct drm_format_info gen12_ccs_cc_formats[] = {
113
125
{ .format = DRM_FORMAT_ABGR8888 , .depth = 32 , .num_planes = 3 ,
114
126
.char_per_block = { 4 , 1 , 0 }, .block_w = { 1 , 2 , 0 }, .block_h = { 1 , 1 , 0 },
115
127
.hsub = 1 , .vsub = 1 , .has_alpha = true },
128
+ { .format = DRM_FORMAT_XRGB2101010 , .depth = 30 , .num_planes = 3 ,
129
+ .char_per_block = { 4 , 1 , 0 }, .block_w = { 1 , 2 , 0 }, .block_h = { 1 , 1 , 0 },
130
+ .hsub = 1 , .vsub = 1 , },
131
+ { .format = DRM_FORMAT_XBGR2101010 , .depth = 30 , .num_planes = 3 ,
132
+ .char_per_block = { 4 , 1 , 0 }, .block_w = { 1 , 2 , 0 }, .block_h = { 1 , 1 , 0 },
133
+ .hsub = 1 , .vsub = 1 , },
134
+ { .format = DRM_FORMAT_ARGB2101010 , .depth = 30 , .num_planes = 3 ,
135
+ .char_per_block = { 4 , 1 , 0 }, .block_w = { 1 , 2 , 0 }, .block_h = { 1 , 1 , 0 },
136
+ .hsub = 1 , .vsub = 1 , .has_alpha = true },
137
+ { .format = DRM_FORMAT_ABGR2101010 , .depth = 30 , .num_planes = 3 ,
138
+ .char_per_block = { 4 , 1 , 0 }, .block_w = { 1 , 2 , 0 }, .block_h = { 1 , 1 , 0 },
139
+ .hsub = 1 , .vsub = 1 , .has_alpha = true },
116
140
};
117
141
118
142
static const struct drm_format_info gen12_flat_ccs_cc_formats [] = {
@@ -128,6 +152,18 @@ static const struct drm_format_info gen12_flat_ccs_cc_formats[] = {
128
152
{ .format = DRM_FORMAT_ABGR8888 , .depth = 32 , .num_planes = 2 ,
129
153
.char_per_block = { 4 , 0 }, .block_w = { 1 , 0 }, .block_h = { 1 , 0 },
130
154
.hsub = 1 , .vsub = 1 , .has_alpha = true },
155
+ { .format = DRM_FORMAT_XRGB2101010 , .depth = 30 , .num_planes = 2 ,
156
+ .char_per_block = { 4 , 0 }, .block_w = { 1 , 0 }, .block_h = { 1 , 0 },
157
+ .hsub = 1 , .vsub = 1 , },
158
+ { .format = DRM_FORMAT_XBGR2101010 , .depth = 30 , .num_planes = 2 ,
159
+ .char_per_block = { 4 , 0 }, .block_w = { 1 , 0 }, .block_h = { 1 , 0 },
160
+ .hsub = 1 , .vsub = 1 , },
161
+ { .format = DRM_FORMAT_ARGB2101010 , .depth = 30 , .num_planes = 2 ,
162
+ .char_per_block = { 4 , 0 }, .block_w = { 1 , 0 }, .block_h = { 1 , 0 },
163
+ .hsub = 1 , .vsub = 1 , .has_alpha = true },
164
+ { .format = DRM_FORMAT_ABGR2101010 , .depth = 30 , .num_planes = 2 ,
165
+ .char_per_block = { 4 , 0 }, .block_w = { 1 , 0 }, .block_h = { 1 , 0 },
166
+ .hsub = 1 , .vsub = 1 , .has_alpha = true },
131
167
};
132
168
133
169
struct intel_modifier_desc {
0 commit comments