@@ -67,6 +67,18 @@ static const struct drm_format_info gen12_ccs_formats[] = {
6767 { .format = DRM_FORMAT_ABGR8888 , .depth = 32 , .num_planes = 2 ,
6868 .char_per_block = { 4 , 1 }, .block_w = { 1 , 2 }, .block_h = { 1 , 1 },
6969 .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 },
7082 { .format = DRM_FORMAT_YUYV , .num_planes = 2 ,
7183 .char_per_block = { 2 , 1 }, .block_w = { 1 , 2 }, .block_h = { 1 , 1 },
7284 .hsub = 2 , .vsub = 1 , .is_yuv = true },
@@ -113,6 +125,18 @@ static const struct drm_format_info gen12_ccs_cc_formats[] = {
113125 { .format = DRM_FORMAT_ABGR8888 , .depth = 32 , .num_planes = 3 ,
114126 .char_per_block = { 4 , 1 , 0 }, .block_w = { 1 , 2 , 0 }, .block_h = { 1 , 1 , 0 },
115127 .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 },
116140};
117141
118142static 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[] = {
128152 { .format = DRM_FORMAT_ABGR8888 , .depth = 32 , .num_planes = 2 ,
129153 .char_per_block = { 4 , 0 }, .block_w = { 1 , 0 }, .block_h = { 1 , 0 },
130154 .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 },
131167};
132168
133169struct intel_modifier_desc {
0 commit comments