IGT tests for the KMS Color Pipeline API
Subsystems (2)
v5 cover IGT tests for the KMS Color Pipeline API
This series introduces support for
* drm_colorop DRM objects
* COLOR_PIPELINE plane property
Kernel changes can be found at [1] and on dri-devel.
It also adds a new kms_colorop test case that tests the color pipeline API. The tests are designed to be easily extensible with a "transform" and "compare" function pointer for each test. The "transform" function performs the transformations under test via SW routines. The "compare" function compares the DRM/KMS result (via a writeback connector) with the result derived via the SW "transform".
This series introduces a number of tests for pre-defined transfer functions, custom LUTs, 3x4 CTMs, a multiplier, 3D LUT, and a bypass test.
It tests 8-bit and 10-bit RGB surface formats, depending on driver support on the drm_plane as well as the writeback drm_connector end.
Bhanuprakash sent an Intel series as a v4. This v5 does not incorporate his patches as rebasing them wasn't straight-forward.
[1] https://gitlab.freedesktop.org/hwentland/linux/-/tree/amd-color-pipeline-v5
v5:
- Bypass test
- 10 bpc support
- Proper setup and cleanup
- PQ/BT2020 TFs
- 1D LUT tests
- Multiplier tests
- 3D LUT test
v4:
- Intel color pipeline work, to possibly be combined with v5 in a future iteration.
v3:
- Remove need for IOCTLs and libdrm changes
- Test colorop properties with both atomic and legacy code paths
- move enum drm_colorop_type to drm_mode.h
- Add descriptions for public functions in lib (Kamil)
- Use SPDX style license identifier (Kamil)
- Replace Skia license comment with copyright note in file header
- Fix kms_colorop subtests if applicable color pipeline not found
Alex Hung (9):
lib/igt_kms: increase MAX_NUM_COLOROPS to 128 tests/kms_colorop: Add a sRGB test for EOTF -> Inverse EOTF -> EOTF lib/igt_color: Add 1D LUT color transformation support test/kms_colorop: Add tests that exercise the 1D LUT colorops tests/kms_colorop: Add multiplier tests scripts/convert_3dlut.py Convert a 3D LUT to igt_3dlut_t array for 3D
LUT API
tests/kms_colorop: Add 3D LUT subtests
drm-uapi: Update kernel doc for drm_colorop_type
drm-uapi: Sync up definition with kernel colorop implementation
Harry Wentland (28):
lib/drmtest: Add is_vkms_device()
tests/kms_writeback: Fix kms_writeback for VKMS lib/igt_kms: Move get_writeback_formats_blob to lib lib/igt_kms: Introduce DRM_CLIENT_CAP_PLANE_COLOR_PIPELINE include/drm-uapi: Add COLOROP object
drm-uapi: Add 3x4 CTM
drm-uapi: Add 1D LUT drm_colorop_type
lib/igt_kms: Introduce drm_colorop and COLOR_PIPELINE tests/kms_properties: Add colorop properties test igt/color: Add SW color transform functionality lib/igt_fb: Add copy_fb function
tests/kms_colorop: Add kms_colorop tests
lib/igt_kms: Add support for DATA colorop property lib/igt_color: Add support for 3x4 matrices tests/kms_colorop: Add 3x4 CTM tests
tests/kms_colorop: Add bypass test
tests/kms_colorop: Parametrize the buffer format tests/kms_colorop: Add 10bpc test and skip if format not supported tests/kms_colorop: Skip if writeback does not support fourcc lib/igt_fb: Allow any non-planar format for igt_copy_fb kms/colorop: Do proper setup and cleanup
lib/igt_color: Support color transform for XRGB2101010 tests/kms_colorop: Set wide [13, 13] bracket for comparison on amdgpu lib/igt_color: Add PQ variants for 0-1 and 0-125 range tests/kms_colorop: Add tests for PQ variants lib/igt_color: add BT2020/BT709 transfer functions tests/kms_colorop: Add tests for BT2020/BT709 TFs lib/igt_color: Point license header at skia license
include/drm-uapi/drm.h | 15 + include/drm-uapi/drm_mode.h | 131 + lib/drmtest.c | 5 + lib/drmtest.h | 1 + lib/igt_color.c | 653 +++ lib/igt_color.h | 162 + lib/igt_color_lut.h | 9866 +++++++++++++++++++++++++++++++++++ lib/igt_fb.c | 36 +- lib/igt_fb.h | 3 + lib/igt_kms.c | 329 +- lib/igt_kms.h | 100 + lib/meson.build | 1 + scripts/convert_3dlut.py | 94 + tests/kms_colorop.c | 714 +++ tests/kms_colorop.h | 275 + tests/kms_properties.c | 69 + tests/kms_writeback.c | 38 +- tests/meson.build | 1 + 18 files changed, 12458 insertions(+), 35 deletions(-) create mode 100644 lib/igt_color.c create mode 100644 lib/igt_color.h create mode 100644 lib/igt_color_lut.h create mode 100755 scripts/convert_3dlut.py create mode 100644 tests/kms_colorop.c create mode 100644 tests/kms_colorop.h
--
2.46.0
PATCH v5 1/37 lib/drmtest: Add is_vkms_device()
--- lib/drmtest.c | 5 +++++ lib/drmtest.h | 1 + 2 files changed, 6 insertions(+)
lib/drmtest.c +5 -0
@@ -118,6 +118,11 @@ static bool __is_device(int fd, const char *expect)return strcmp (expect, name) ==0 ; } +bool is_vkms_device (int fd) +{ +return __is_device (fd,"vkms" ); +} +bool is_amdgpu_device (int fd) {return __is_device (fd,"amdgpu" );
lib/drmtest.h +1 -0
@@ -136,6 +136,7 @@ void igt_require_nouveau(int fd);void igt_require_vc4 (int fd);void igt_require_xe (int fd); +bool is_vkms_device (int fd);bool is_amdgpu_device (int fd);bool is_i915_device (int fd);bool is_mtk_device (int fd);
Signature · 1 line
2.46.0
PATCH v5 2/37 tests/kms_writeback: Fix kms_writeback for VKMS
In reply to Harry WentlandVKMS doesn't like us to add buffers with unknown fourcc type. Other drivers might behave similarly. Make sure we avoid creating 10bpc buffers if they are not supported.
--- tests/kms_writeback.c | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-)
tests/kms_writeback.c +12 -7
@@ -133,6 +133,10 @@ static bool check_writeback_config(igt_display_t *display, igt_output_t *output, height = override_mode.vdisplay;for (i =0 ; i <sizeof (fourcc) /sizeof (uint32_t ); i++) { + plane =igt_output_get_plane_type (output,DRM_PLANE_TYPE_PRIMARY ); + +if (!igt_plane_has_format_mod (plane, fourcc[i],DRM_FORMAT_MOD_LINEAR )) +continue ; ret =igt_create_fb (display->drm_fd, width, height, fourcc[i], modifier, &input_fb);
@@ -142,7 +146,6 @@ static bool check_writeback_config(igt_display_t *display, igt_output_t *output, fourcc[i], modifier, &output_fb);igt_assert_lte (0 , ret); - plane =igt_output_get_plane_type (output,DRM_PLANE_TYPE_PRIMARY );igt_plane_set_fb (plane, &input_fb);igt_output_set_writeback_fb (output, &output_fb);
@@ -596,12 +599,14 @@ igt_main_args("b:c:f:dl", long_options, help_str, opt_handler, NULL) &input_fb);igt_assert (fb_id >=0 ); - fb_id =igt_create_fb (display.drm_fd, mode.hdisplay, - mode.vdisplay, -DRM_FORMAT_XRGB2101010 , -DRM_FORMAT_MOD_LINEAR , - &input_fb_10bit); -igt_assert (fb_id >=0 ); +if (igt_plane_has_format_mod (plane,DRM_FORMAT_XRGB2101010 ,DRM_FORMAT_MOD_LINEAR )) { + fb_id =igt_create_fb (display.drm_fd, mode.hdisplay, + mode.vdisplay, +DRM_FORMAT_XRGB2101010 , +DRM_FORMAT_MOD_LINEAR , + &input_fb_10bit); +igt_assert (fb_id >=0 ); + }igt_plane_set_fb (plane, &input_fb);
Signature · 1 line
2.46.0
PATCH v5 3/37 lib/igt_kms: Move get_writeback_formats_blob to lib
In reply to Harry WentlandWe'll need it in other tests
--- lib/igt_kms.c | 19 +++++++++++++++++++ lib/igt_kms.h | 2 ++ tests/kms_writeback.c | 19 ------------------- 3 files changed, 21 insertions(+), 19 deletions(-)
lib/igt_kms.c +19 -0
@@ -6685,3 +6685,22 @@ int get_num_scalers(int drm_fd, enum pipe pipe)return num_scalers; } + +drmModePropertyBlobRes *get_writeback_formats_blob (igt_output_t *output) +{ +drmModePropertyBlobRes *blob =NULL ; +uint64_t blob_id; +int ret; + + ret =kmstest_get_property (output->display->drm_fd, + output->config.connector->connector_id, +DRM_MODE_OBJECT_CONNECTOR , + igt_connector_prop_names[IGT_CONNECTOR_WRITEBACK_PIXEL_FORMATS ], +NULL , &blob_id,NULL ); +if (ret) + blob =drmModeGetPropertyBlob (output->display->drm_fd, blob_id); + +igt_assert (blob); + +return blob; +}
lib/igt_kms.h +2 -0
@@ -1225,4 +1225,6 @@ bool igt_check_output_is_dp_mst(igt_output_t *output);int igt_get_dp_mst_connector_id (igt_output_t *output);int get_num_scalers (int drm_fd,enum pipe pipe); +drmModePropertyBlobRes *get_writeback_formats_blob (igt_output_t *output); +#endif /* __IGT_KMS_H__ */
tests/kms_writeback.c +0 -19
@@ -94,25 +94,6 @@ enum { XRGB2101010 = 1 << 1, }; -static drmModePropertyBlobRes *get_writeback_formats_blob (igt_output_t *output) -{ -drmModePropertyBlobRes *blob =NULL ; -uint64_t blob_id; -int ret; - - ret =kmstest_get_property (output->display->drm_fd, - output->config.connector->connector_id, -DRM_MODE_OBJECT_CONNECTOR , - igt_connector_prop_names[IGT_CONNECTOR_WRITEBACK_PIXEL_FORMATS ], -NULL , &blob_id,NULL ); -if (ret) - blob =drmModeGetPropertyBlob (output->display->drm_fd, blob_id); - -igt_assert (blob); - -return blob; -} -static bool check_writeback_config (igt_display_t *display,igt_output_t *output,drmModeModeInfo override_mode) {
Signature · 1 line
2.46.0
PATCH v5 4/37 lib/igt_kms: Introduce DRM_CLIENT_CAP_PLANE_COLOR_PIPELINE
In reply to Harry WentlandWe don't want to set this by default since existing tests might require COLOR_RANGE and COLOR_ENCODING plane properties.
--- include/drm-uapi/drm.h | 15 +++++++++++++++ lib/igt_kms.c | 4 ++++ lib/igt_kms.h | 1 + 3 files changed, 20 insertions(+)
include/drm-uapi/drm.h +15 -0
@@ -836,6 +836,21 @@ struct drm_get_cap {*/ #define DRM_CLIENT_CAP_WRITEBACK_CONNECTORS 5 +/** +* DRM_CLIENT_CAP_PLANE_COLOR_PIPELINE +* +* If set to 1, the DRM core will +* - expose plane COLOR_PIPELINE properties for pre-blending color management. +* - reject setting of these plane properties: +* - COLOR_ENCODING +* - COLOR_RANGE +* +* The client must enable &DRM_CLIENT_CAP_ATOMIC first. +* +* This capability is currently in development. +*/ +#define DRM_CLIENT_CAP_PLANE_COLOR_PIPELINE 7 +/* DRM_IOCTL_SET_CLIENT_CAP ioctl argument type */ struct drm_set_client_cap {__u64 capability;
lib/igt_kms.c +4 -0
@@ -2928,6 +2928,10 @@ void igt_display_require(igt_display_t *display, int drm_fd)if (drmSetClientCap (drm_fd,LOCAL_DRM_CLIENT_CAP_CURSOR_PLANE_HOTSPOT ,1 ) ==0 ) display->has_virt_cursor_plane =1 ; +if (drmSetClientCap (drm_fd,DRM_CLIENT_CAP_PLANE_COLOR_PIPELINE ,1 ) ==0 ) + display->has_plane_color_pipeline =1 ; + + plane_resources =drmModeGetPlaneResources (display->drm_fd);igt_assert (plane_resources);
lib/igt_kms.h +1 -0
@@ -483,6 +483,7 @@ struct igt_display {bool has_cursor_plane;bool is_atomic;bool has_virt_cursor_plane; +bool has_plane_color_pipeline;bool first_commit;uint64_t *modifiers;
Signature · 1 line
2.46.0
PATCH v5 5/37 include/drm-uapi: Add COLOROP object
In reply to Harry WentlandDRM is introducing a new DRM core obejct, a drm_colorop. This object will represent one color operation in a color pipeline.
Introduce the object type in the drm-uapi.
v3:
- move enum drm_colorop_type to drm_mode.h
--- include/drm-uapi/drm_mode.h | 5 +++++ 1 file changed, 5 insertions(+)
include/drm-uapi/drm_mode.h +5 -0
@@ -629,6 +629,7 @@ struct drm_mode_connector_set_property {#define DRM_MODE_OBJECT_FB 0xfbfbfbfb#define DRM_MODE_OBJECT_BLOB 0xbbbbbbbb#define DRM_MODE_OBJECT_PLANE 0xeeeeeeee +#define DRM_MODE_OBJECT_COLOROP 0xfafafafa#define DRM_MODE_OBJECT_ANY 0struct drm_mode_obj_get_properties {
@@ -857,6 +858,10 @@ struct drm_color_lut {__u16 reserved; }; +enum drm_colorop_type { +DRM_COLOROP_1D_CURVE +}; +/** * struct hdr_metadata_infoframe - HDR Metadata Infoframe Data. *
Signature · 1 line
2.46.0
PATCH v5 6/37 drm-uapi: Add 3x4 CTM
In reply to Harry Wentland--- include/drm-uapi/drm_mode.h | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-)
include/drm-uapi/drm_mode.h +18 -1
@@ -847,6 +847,22 @@ struct drm_color_ctm {__u64 matrix[9 ]; }; +struct drm_color_ctm_3x4 { +/* +* Conversion matrix with 3x4 dimensions in S31.32 sign-magnitude +* (not two's complement!) format. +* +* TODO what's the format? +* +* out matrix in +* |R| |0 1 2 3 | | R | +* |G| = |4 5 6 7 | x | G | +* |B| |8 9 10 12| | B | +* |1.0| +*/ +__u64 matrix[12 ]; +}; +struct drm_color_lut {/* * Values are mapped linearly to 0.0 - 1.0 range, with 0x0 == 0.0 and
@@ -859,7 +875,8 @@ struct drm_color_lut { };enum drm_colorop_type { -DRM_COLOROP_1D_CURVE +DRM_COLOROP_1D_CURVE , +DRM_COLOROP_CTM_3X4 , };/**
Signature · 1 line
2.46.0
PATCH v5 7/37 drm-uapi: Add 1D LUT drm_colorop_type
In reply to Harry Wentland--- include/drm-uapi/drm_mode.h | 1 + 1 file changed, 1 insertion(+)
include/drm-uapi/drm_mode.h +1 -0
@@ -876,6 +876,7 @@ struct drm_color_lut {enum drm_colorop_type {DRM_COLOROP_1D_CURVE , +DRM_COLOROP_1D_LUT ,DRM_COLOROP_CTM_3X4 , };
Signature · 1 line
2.46.0
PATCH v5 8/37 lib/igt_kms: Introduce drm_colorop and COLOR_PIPELINE
In reply to Harry WentlandWe've introduced a new drm_colorop object in DRM. These are used to make up a color pipeline. Introduce the concept of this new DRM core object to IGT, including:
- discovery of drm_colorop objects during init
- various helper functions for deaing with drm_colorops
- handling drm_colorops in atomic commit
Along with this we're also introducing a new COLOR_PIPELINE plane property to track and be able to retrieve the colorops.
v5:
- Fix warning
v3:
- Add commit description (Kamil)
- Add description for public functions (Kamil)
- Squash with COLOR_PIPELINE patch
- Remove need for IOCTLs
- Change colorop discovery to work without IOCTLs
- move enum drm_colorop_type to drm_mode.h
- Drop display from colorop prop_enum functions
v2:
- Iterate through all next drm_colorop objects
--- lib/igt_kms.c | 269 ++++++++++++++++++++++++++++++++++++++++++++++++-- lib/igt_kms.h | 89 +++++++++++++++++ 2 files changed, 352 insertions(+), 6 deletions(-)
lib/igt_kms.c +263 -6
@@ -90,6 +90,7 @@#define MAX_CONNECTORS 32#define MAX_EDID 2#define DISPLAY_TILE_BLOCK 0x12 +#define MAX_NUM_COLOROPS 32typedef bool (*igt_connector_attr_set )(int dir,const char *attr,const char *value);
@@ -687,6 +688,14 @@ const char * const igt_plane_prop_names[IGT_NUM_PLANE_PROPS] = { [IGT_PLANE_ZPOS] = "zpos", [IGT_PLANE_FB_DAMAGE_CLIPS] = "FB_DAMAGE_CLIPS", [IGT_PLANE_SCALING_FILTER] = "SCALING_FILTER", + [IGT_PLANE_COLOR_PIPELINE] = "COLOR_PIPELINE", +}; + +const char *const igt_colorop_prop_names[IGT_NUM_COLOROP_PROPS ] = { + [IGT_COLOROP_TYPE ] ="TYPE" , + [IGT_COLOROP_BYPASS ] ="BYPASS" , + [IGT_COLOROP_CURVE_1D_TYPE ] ="CURVE_1D_TYPE" , + [IGT_COLOROP_NEXT ] ="NEXT" , };const char *const igt_crtc_prop_names[IGT_NUM_CRTC_PROPS ] = {
@@ -754,6 +763,108 @@ igt_plane_rotations(igt_display_t *display, igt_plane_t *plane,return rotations; } +/** +* igt_find_colorop: +* @display: display on which to look for colorop. +* @id: DRM object id of the colorop. +* +* Returns: An igt_colorop_t if found, or NULL otherwise. +*/ +igt_colorop_t *igt_find_colorop (igt_display_t *display,uint32_t id) +{ +int i; + +/* find corresponding igt_colorop */ +for (i =0 ; i < display->n_colorops; ++i) { +igt_colorop_t *colorop = &display->colorops[i]; + +if (colorop->id == id) +return colorop; + } + +return NULL ; +} + +/* +* Retrieve all the properies specified in props_name and store them into +* colorop->props. +*/ +static void +igt_fill_colorop_props (igt_display_t *display,igt_colorop_t *colorop, +int num_props,const char *const prop_names[]) +{ +drmModeObjectPropertiesPtr props; +int i, j, fd; + + fd = display->drm_fd; + + props =drmModeObjectGetProperties (fd, colorop->id,DRM_MODE_OBJECT_COLOROP ); +igt_assert (props); + +for (i =0 ; i < props->count_props; i++) { +drmModePropertyPtr prop = +drmModeGetProperty (fd, props->props[i]); + +for (j =0 ; j < num_props; j++) { +if (strcmp (prop->name, prop_names[j]) !=0 ) +continue ; + + colorop->props[j] = props->props[i]; +break ; + } + +drmModeFreeProperty (prop); + } +drmModeFreeObjectProperties (props); +} + +static void igt_fill_colorop (igt_display_t *display,igt_plane_t *plane, +igt_colorop_t *colorop,uint32_t id, +char *name) +{ + colorop->id = id; + colorop->plane = plane; + +if (name) +memcpy (colorop->name, name,sizeof (colorop->name)); + +igt_fill_colorop_props (display, colorop,IGT_NUM_COLOROP_PROPS , igt_colorop_prop_names); +} + +static void +igt_fill_plane_color_pipelines (igt_display_t *display,igt_plane_t *plane, +drmModePropertyPtr prop) +{ +int i; +uint32_t colorop_id; + + plane->num_color_pipelines =0 ; + +for (i =0 ; i < prop->count_enums; i++) { +if (prop->enums[i].value) { +igt_colorop_t *colorop = &display->colorops[display->n_colorops++]; + +igt_assert (display->n_colorops <MAX_NUM_COLOROPS ); + +igt_fill_colorop (display, plane, colorop, prop->enums[i].value, prop->enums[i].name); + plane->color_pipelines[plane->num_color_pipelines++] = colorop; + +/* get all NEXT colorops */ + colorop_id =igt_colorop_get_prop (display, colorop, +IGT_COLOROP_NEXT ); +while (colorop_id) { + colorop = &display->colorops[display->n_colorops++]; +igt_fill_colorop (display, plane, colorop, colorop_id,NULL ); + colorop_id =igt_colorop_get_prop (display, colorop, +IGT_COLOROP_NEXT ); + } + } + } + +igt_assert (plane->num_color_pipelines <IGT_NUM_PLANE_COLOR_PIPELINES ); + +} +/* * Retrieve all the properties specified in props_name and store them into * plane->props.
@@ -785,6 +896,9 @@ igt_fill_plane_props(igt_display_t *display, igt_plane_t *plane,if (strcmp (prop->name,"rotation" ) ==0 ) plane->rotations =igt_plane_rotations (display, plane, prop); +if (strcmp (prop->name,"COLOR_PIPELINE" ) ==0 ) +igt_fill_plane_color_pipelines (display, plane, prop); +drmModeFreeProperty (prop); }
@@ -2947,16 +3061,14 @@ void igt_display_require(igt_display_t *display, int drm_fd)igt_assert (plane->drm_plane); plane->type =get_drm_plane_type (display->drm_fd, id); - -/* -* TODO: Fill in the rest of the plane properties here and -* move away from the plane per pipe model to align closer -* to the DRM KMS model. -*/ }drmModeFreePlaneResources (plane_resources); +/* init colorops */ + display->colorops =calloc (MAX_NUM_COLOROPS ,sizeof (igt_colorop_t)); + display->n_colorops =0 ; +for_each_pipe (display, i) {igt_pipe_t *pipe = &display->pipes[i];igt_plane_t *plane;
@@ -3594,6 +3706,45 @@ igt_atomic_prepare_plane_commit(igt_plane_t *plane, igt_pipe_t *pipe, } } +/* +* Add colorop properties +*/ +static void +igt_atomic_prepare_colorop_commit (igt_colorop_t *colorop,igt_pipe_t *pipe, +drmModeAtomicReq *req) +{ +igt_display_t *display = pipe->display; +int i, next_val; + +while (colorop) { +LOG (display, +"populating colorop data: %s.%d\n" , +kmstest_pipe_name (pipe->pipe), + colorop->id); + +for (i =0 ; i <IGT_NUM_COLOROP_PROPS ; i++) { +if (!igt_colorop_is_prop_changed (colorop, i)) +continue ; + +/* it's an error to try an unsupported feature */ +igt_assert (colorop->props[i]); + +igt_debug ("colorop %s.%d: Setting property \"%s\" to 0x%" PRIx64"/%" PRIi64"\n" , +kmstest_pipe_name (pipe->pipe), colorop->id, igt_colorop_prop_names[i], + colorop->values[i], colorop->values[i]); + +igt_assert_lt (0 ,drmModeAtomicAddProperty (req, colorop->id, + colorop->props[i], + colorop->values[i])); + } + +/* get next colorop */ + next_val =igt_colorop_get_prop (display, colorop, +IGT_COLOROP_NEXT ); + colorop =igt_find_colorop (display, next_val); + } +} +/* * Properties that can be changed through legacy SetProperty: * - Obviously not the XYWH SRC/CRTC coordinates.
@@ -4041,6 +4192,25 @@ uint64_t igt_plane_get_prop(igt_plane_t *plane, enum igt_atomic_plane_properties plane->drm_plane->plane_id, plane->props[prop]); } +/** +* igt_colorop_get_prop: +* @colorop: Target colorop. +* @prop: Property to check. +* +* Return current value on a colorop for a given property. +* +* Returns: The value the property is set to, if this +* is a blob, the blob id is returned. This can be passed +* to drmModeGetPropertyBlob() to get the contents of the blob. +*/ +uint64_t igt_colorop_get_prop (igt_display_t *display,igt_colorop_t *colorop,enum igt_atomic_colorop_properties prop) +{ +igt_assert (igt_colorop_has_prop (colorop, prop)); + +return igt_mode_object_get_prop (display,DRM_MODE_OBJECT_COLOROP , + colorop->id, colorop->props[prop]); +} +static bool igt_mode_object_get_prop_enum_value (int drm_fd,uint32_t id,const char *str,uint64_t *val) {drmModePropertyPtr prop =drmModeGetProperty (drm_fd, id);
@@ -4129,6 +4299,44 @@ bool igt_plane_check_prop_is_mutable(igt_plane_t *plane,return !(prop->flags &DRM_MODE_PROP_IMMUTABLE ); } +/** +* igt_plane_is_valid_colorop: +* @plane: Target plane. +* @colorop: Colorop to check. +* +* Returns: True if the given @colorop is a valid color pipeline on +* the given @plane +*/ +bool igt_plane_is_valid_colorop (igt_plane_t *plane,igt_colorop_t *colorop) +{ +int i; +bool found = false; + +for (i =0 ; i < plane->num_color_pipelines; i++) { +if (plane->color_pipelines[i] == colorop) { + found = true; +break ; + } + } + +return found; +} +/** +* igt_plane_set_color_pipeline: +* @plane: Target plane. +* @colorop: Colorop to set as color pipeline. +* +* This function sets the given @colorop as color pipeline on @plane, or fails +* the test if it's an invalid color pipeline for the plane. +*/ +void igt_plane_set_color_pipeline (igt_plane_t *plane,igt_colorop_t *colorop) +{ +igt_assert (igt_plane_is_valid_colorop (plane, colorop)); + + plane->assigned_color_pipeline = colorop; +igt_plane_set_prop_enum (plane,IGT_PLANE_COLOR_PIPELINE , colorop->name); +} +/** * igt_plane_replace_prop_blob: * @plane: plane to set property on.
@@ -4161,6 +4369,50 @@ igt_plane_replace_prop_blob(igt_plane_t *plane, enum igt_atomic_plane_propertiesigt_plane_set_prop_changed (plane, prop); } +/** +* igt_colorop_try_prop_enum: +* @colorop: Target colorop. +* @prop: Property to check. +* @val: Value to set. +* +* Returns: False if the given @colorop doesn't have the enum @prop or +* failed to set the enum property @val else True. +*/ +bool igt_colorop_try_prop_enum (igt_colorop_t *colorop, +enum igt_atomic_colorop_properties prop, +const char *val) +{ +igt_display_t *display = colorop->plane->pipe->display; +uint64_t uval; + +igt_assert (colorop->props[prop]); + +if (!igt_mode_object_get_prop_enum_value (display->drm_fd, + colorop->props[prop], val, &uval)) +return false; + +igt_colorop_set_prop_value (colorop, prop, uval); +return true; +} + +/** +* igt_colorop_set_prop_enum: +* @plane: Target plane. +* @prop: Property to check. +* @val: Value to set. +* +* This function tries to set given enum property @prop value @val to +* the given @colorop, and terminate the execution if its failed. +*/ +void igt_colorop_set_prop_enum (igt_colorop_t *colorop, +enum igt_atomic_colorop_properties prop, +const char *val) +{ +bool result = false; + result =igt_colorop_try_prop_enum (colorop, prop, val); +igt_assert (result); +} +/** * igt_output_get_prop: * @output: Target output.
@@ -4433,6 +4685,11 @@ static int igt_atomic_commit(igt_display_t *display, uint32_t flags, void *user_if (plane->changed)igt_atomic_prepare_plane_commit (plane, pipe_obj, req); + +/* TODO iterate over assigned color pipeline and prepare colorop commit */ +if (plane->assigned_color_pipeline) +igt_atomic_prepare_colorop_commit (plane->assigned_color_pipeline, + pipe_obj, req); } }
lib/igt_kms.h +89 -0
139 lines not on this page · raw message
Signature · 1 line
2.46.0
PATCH v5 9/37 tests/kms_properties: Add colorop properties test
In reply to Harry WentlandWe've introduced the concept of a new DRM core object, the drm_colorop, to represent a color operation as part of a color pipeline.
Add new tests to kms_properties to test the properties of a drm_colorop object.
v3:
- Update test to work without new libdrm definitions for colorop objects
- Test colorop properties with both atomic and legacy code paths
--- tests/kms_properties.c | 69 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 69 insertions(+)
tests/kms_properties.c +69 -0
@@ -49,6 +49,7 @@* @crtc: CRTC * @plane: Plane * @invalid: Invalid (connector/crtc/plane) +* @colorop: Colorop * * arg[2]: *
@@ -221,6 +222,39 @@ static void test_properties(int fd, uint32_t type, uint32_t id, bool atomic) } } +static void run_colorop_property_tests (igt_display_t *display,enum pipe pipe,igt_output_t *output,bool atomic) +{ +struct igt_fb fb; +igt_plane_t *plane; +igt_colorop_t *colorop; +int i; +int colorop_id =0 ; + +prepare_pipe (display, pipe, output, &fb); + +for_each_plane_on_pipe (display, pipe, plane) { +igt_info ("Testing colorop properties on plane %s.#%d-%s (output: %s)\n" , +kmstest_pipe_name (pipe), plane->index,kmstest_plane_type_name (plane->type), output->name); + +/* iterate over all color pipelines on plane */ +for (i =0 ; i < plane->num_color_pipelines; ++i) { +/* iterate over all colorops in pipeline*/ + colorop = plane->color_pipelines[i]; +while (colorop) { +igt_info ("Testing colorop properties on %s.#%d.#%d-%s (output: %s)\n" , +kmstest_pipe_name (pipe), plane->index, colorop->id,kmstest_plane_type_name (plane->type), output->name); +test_properties (display->drm_fd,DRM_MODE_OBJECT_COLOROP , colorop->id, atomic); + + colorop_id =igt_colorop_get_prop (display, colorop, +IGT_COLOROP_NEXT ); + colorop =igt_find_colorop (display, colorop_id); + } + } + } + +cleanup_pipe (display, pipe, output, &fb); +} +static void run_plane_property_tests (igt_display_t *display,enum pipe pipe,igt_output_t *output,bool atomic) {struct igt_fb fb;
@@ -266,6 +300,37 @@ static void run_connector_property_tests(igt_display_t *display, enum pipe pipe,cleanup_pipe (display, pipe, output, &fb); } +static void colorop_properties (igt_display_t *display,bool atomic) +{ +bool found_any = false, found; +igt_output_t *output; +enum pipe pipe; + +/* colorops are only available with atomic */ +igt_skip_on (!display->is_atomic); + +for_each_pipe (display, pipe) { + found = false; + +for_each_valid_output_on_pipe (display, pipe, output) { +igt_display_reset (display); + +igt_output_set_pipe (output, pipe); +if (!intel_pipe_output_combo_valid (display)) +continue ; + + found_any = found = true; + +igt_dynamic_f ("pipe-%s-%s" ,kmstest_pipe_name (pipe), + igt_output_name(output)) { +run_colorop_property_tests (display, pipe, output, atomic); + } + } + } + +igt_skip_on (!found_any); +} +static void plane_properties (igt_display_t *display,bool atomic) {igt_output_t *output;
@@ -779,6 +844,10 @@ igt_main "Tests connector properties with legacy commit" }, {"connector-properties-atomic" , connector_properties, true, "Tests connector properties with atomic commit" }, + { "colorop-properties-legacy", colorop_properties, false, + "Tests colorop properties with legacy commit" }, + { "colorop-properties-atomic", colorop_properties, true, + "Tests colorop properties with atomic commit" }, }; igt_fixture {
Signature · 1 line
2.46.0
PATCH v5 10/37 igt/color: Add SW color transform functionality
In reply to Harry WentlandIn order to test color we want to compare a HW (KMS) transform with a SW transform. This introduces color transform for an sRGB EOTF but this can be extended to other transforms. Code is borrowed from Skia.
v4:
- Rename srgb_tf to srgb_eotf
v3:
- Use SPDX style license identifier (Kamil)
- Replace large copy-paste of Skia license with copyright note in file header. Skia is BSD licensed, which is compatible with MIT.
v2:
- Add inverse sRGB TF
- Make TF functions available to tests
- Modify tranform_pixels function to take multple transforms
--- lib/igt_color.c | 258 ++++++++++++++++++++++++++++++++++++++++++++++++ lib/igt_color.h | 43 ++++++++ lib/igt_fb.c | 6 +- lib/igt_fb.h | 2 + lib/meson.build | 1 + 5 files changed, 307 insertions(+), 3 deletions(-) create mode 100644 lib/igt_color.c create mode 100644 lib/igt_color.h
lib/igt_color.c new file +258 -0
@@ -0,0 +1,258 @@ +// SPDX-License-Identifier: MIT +/* +* Copyright 2023 Advanced Micro Devices, Inc. +* +* This file contains code adapted from Skia, which is +* Copyright (c) 2011 Google Inc. All rights reserved. +*/ + +#include <errno.h> +#include <math.h> + +#include "igt_color.h" +#include "igt_core.h" +#include "igt_x86.h" + + +static float clamp (float val,float min,float max) +{ +return ((val < min) ? min : ((val > max) ? max : val)); +} + +static float igt_color_tf_eval_unclamped (const struct igt_color_tf *fn,float x) +{ +if (x < fn->d) +return fn->c * x + fn->f; +return pow (fn->a * x + fn->b, fn->g) + fn->e; +} + +static float igt_color_tf_eval (const struct igt_color_tf *fn,float x) +{ +float fn_at_x_unclamped =igt_color_tf_eval_unclamped (fn, x); +return clamp (fn_at_x_unclamped,0.0f ,1.0f ); +} + +static void tf_inverse (const struct igt_color_tf *fn,struct igt_color_tf *inv) { +memset (inv,0 ,sizeof (struct igt_color_tf )); + +if (fn->a >0 && fn->g >0 ) { +double a_to_the_g =pow (fn->a, fn->g); + inv->a =1.f / a_to_the_g; + inv->b = -fn->e / a_to_the_g; + inv->g =1.f / fn->g; + } + + inv->d = fn->c * fn->d + fn->f; + inv->e = -fn->b / fn->a; +if (fn->c !=0 ) { + inv->c =1.f / fn->c; + inv->f = -fn->f / fn->c; + } +} + +void igt_color_srgb_inv_eotf (igt_pixel_t *pixel) +{ +struct igt_color_tf inv; + +tf_inverse (&srgb_eotf, &inv); + + pixel->r =igt_color_tf_eval (&inv, pixel->r); + pixel->g =igt_color_tf_eval (&inv, pixel->g); + pixel->b =igt_color_tf_eval (&inv, pixel->b); +} + + + +void igt_color_srgb_eotf (igt_pixel_t *pixel) +{ + pixel->r =igt_color_tf_eval (&srgb_eotf, pixel->r); + pixel->g =igt_color_tf_eval (&srgb_eotf, pixel->g); + pixel->b =igt_color_tf_eval (&srgb_eotf, pixel->b); +} + +int igt_color_transform_pixels (igt_fb_t *fb,igt_pixel_transform transforms[],int num_transforms) +{ +uint32_t *line =NULL ; +void *map; +char *ptr; +int x, y, cpp =igt_drm_format_to_bpp (fb->drm_format) /8 ; +uint32_t stride =igt_fb_calc_plane_stride (fb,0 ); + +if (fb->num_planes !=1 ) +return -EINVAL ; + +/* TODO expand for other formats */ +if (fb->drm_format !=DRM_FORMAT_XRGB8888 ) +return -EINVAL ; + + ptr =igt_fb_map_buffer (fb->fd, fb); +igt_assert (ptr); + map = ptr; + +/* +* Framebuffers are often uncached, which can make byte-wise accesses +* very slow. We copy each line of the FB into a local buffer to speed +* up the hashing. +*/ + line =malloc (stride); +if (!line) { +munmap (map, fb->size); +return -ENOMEM ; + } + +for (y =0 ; y < fb->height; y++, ptr += stride) { + +/* get line from buffer */ +igt_memcpy_from_wc (line, ptr, fb->width * cpp); + +for (x =0 ; x < fb->width; x++) { +uint32_t raw_pixel =le32_to_cpu (line[x]); +igt_pixel_t pixel; +int i; + + raw_pixel &=0x00ffffff ; + +/* +* unpack pixel into igt_pixel_t +* +* only for XRGB8888 for now +* +* TODO add "generic" mechanism for unpacking +* other FB formats +*/ + pixel.r = (raw_pixel &0x00ff0000 ) >>16 ; + pixel.g = (raw_pixel &0x0000ff00 ) >>8 ; + pixel.b = (raw_pixel &0x000000ff ); + +/* normalize for 8-bit */ + pixel.r /= (0xff ); + pixel.g /= (0xff ); + pixel.b /= (0xff ); + +/* TODO use read_rgb from igt_fb? */ + +/* run transform on pixel */ + +for (i =0 ; i < num_transforms; i++) + transforms[i](&pixel); + +/* de-normalize back to 8-bit */ + pixel.r *= (0xff ); + pixel.g *= (0xff ); + pixel.b *= (0xff ); + +/* re-pack pixel into FB*/ + raw_pixel =0x0 ; + raw_pixel |= ((uint8_t ) (lround (pixel.r) &0xff )) <<16 ; + raw_pixel |= ((uint8_t ) (lround (pixel.g) &0xff )) <<8 ; + raw_pixel |= ((uint8_t ) (lround (pixel.b) &0xff )); +/* TODO use write_rgb from igt_fb? */ + +/* write back to line */ + line[x] =cpu_to_le32 (raw_pixel); + } + +/* copy line back to fb buffer */ +igt_memcpy_from_wc (ptr, line, fb->width * cpp); + } + +free (line); +igt_fb_unmap_buffer (fb, map); + +return 0 ; + +/* for each pixel */ + +/* convert to float and create igt_pixel */ + +/* call transform */ + +/* convert back to fb format from igt_pixel */ + + +} + +bool igt_cmp_fb_component (uint16_t comp1,uint16_t comp2,uint8_t up,uint8_t down) +{ +int16_t diff = comp2 - comp1; + +if ((diff < -down) || (diff > up)) { +printf ("comp1 %x comp2 %x diff %d down %d, up %d\n" , comp1, comp2, diff, -down, up); +return false; + } + +return true; +} + +bool igt_cmp_fb_pixels (igt_fb_t *fb1,igt_fb_t *fb2,uint8_t up,uint8_t down) +{ +uint32_t *ptr1, *ptr2; +uint32_t pixel1, pixel2, i, j; +bool matched = true; + + + ptr1 =igt_fb_map_buffer (fb1->fd, fb1); + ptr2 =igt_fb_map_buffer (fb2->fd, fb2); + +igt_assert (fb1->drm_format == fb2->drm_format); +igt_assert (fb1->size == fb2->size); + +for (i =0 ; i < fb1->size /sizeof (uint32_t ); i++) { +uint16_t mask =0xff ; +uint16_t shift =8 ; + +if (fb1->drm_format ==DRM_FORMAT_XRGB2101010 ) { +/* ignore alpha */ + pixel1 = ptr1[i] & ~0xc0000000 ; + pixel2 = ptr2[i] & ~0xc0000000 ; + + mask =0x3ff ; + shift =10 ; + + + }else if (fb1->drm_format ==DRM_FORMAT_XRGB8888 ) { +/* ignore alpha */ + pixel1 = ptr1[i] & ~0xff000000 ; + pixel2 = ptr2[i] & ~0xff000000 ; + + mask =0xff ; + shift =8 ; + + }else { + pixel1 = ptr1[i]; + pixel2 = ptr2[i]; + } + +for (j =0 ; j <3 ; j++) { +uint16_t comp1 = (pixel1 >> (shift*j)) & mask; +uint16_t comp2 = (pixel2 >> (shift*j)) & mask; + +if (!igt_cmp_fb_component (comp1, comp2, up, down)) { +/* TODO use proper log*/ +printf ("i %d j %d shift %d mask %x comp1 %x comp2 %x, pixel1 %x pixel2 %x\n" , + i, j, shift, mask, comp1, comp2, pixel1, pixel2); +return false; + } + } + } + +igt_fb_unmap_buffer (fb1, ptr1); +igt_fb_unmap_buffer (fb2, ptr2); + +return matched; +} + + +void igt_dump_fb (igt_display_t *display,igt_fb_t *fb, +const char *path_name,const char *file_name) +{ +char filepath_out[PATH_MAX ]; +cairo_surface_t *fb_surface_out; +cairo_status_t status; + +snprintf (filepath_out,PATH_MAX ,"%s/%s.png" , path_name, file_name); + fb_surface_out =igt_get_cairo_surface (display->drm_fd, fb); + status =cairo_surface_write_to_png (fb_surface_out, filepath_out); +igt_assert_eq (status,CAIRO_STATUS_SUCCESS ); +cairo_surface_destroy (fb_surface_out); +}
lib/igt_color.h new file +43 -0
44 lines not on this page · raw message
lib/igt_fb.c +3 -3
@@ -762,7 +762,7 @@ void igt_init_fb(struct igt_fb *fb, int fd, int width, int height, } } -static uint32_t calc_plane_stride (struct igt_fb *fb,int plane) +uint32_t igt_fb_calc_plane_stride (struct igt_fb *fb,int plane) {uint32_t min_stride = fb->plane_width[plane] * (fb->plane_bpp[plane] /8 );
@@ -944,7 +944,7 @@ static uint64_t calc_fb_size(struct igt_fb *fb)/* respect the stride requested by the caller */ if (!fb->strides[plane]) - fb->strides[plane] =calc_plane_stride (fb, plane); + fb->strides[plane] =igt_fb_calc_plane_stride (fb, plane); align =get_plane_alignment (fb, plane);if (align)
@@ -4814,7 +4814,7 @@ int igt_fb_get_fnv1a_crc(struct igt_fb *fb, igt_crc_t *crc)void *map;char *ptr;int x, y, cpp =igt_drm_format_to_bpp (fb->drm_format) /8 ; -uint32_t stride =calc_plane_stride (fb,0 ); +uint32_t stride =igt_fb_calc_plane_stride (fb,0 );if (fb->num_planes !=1 )return -EINVAL ;
lib/igt_fb.h +2 -0
@@ -170,6 +170,8 @@ int igt_dirty_fb(int fd, struct igt_fb *fb);void *igt_fb_map_buffer (int fd,struct igt_fb *fb);void igt_fb_unmap_buffer (struct igt_fb *fb,void *buffer); +uint32_t igt_fb_calc_plane_stride (struct igt_fb *fb,int plane); +void igt_create_bo_for_fb (int fd,int width,int height,uint32_t format,uint64_t modifier,struct igt_fb *fb);
lib/meson.build +1 -0
@@ -107,6 +107,7 @@ lib_sources = [ 'igt_edid.c', 'igt_eld.c', 'igt_infoframe.c', + 'igt_color.c', 'veboxcopy_gen12.c', 'igt_msm.c', 'igt_dsc.c',
Signature · 1 line
2.46.0
PATCH v5 11/37 lib/igt_fb: Add copy_fb function
In reply to Harry Wentland--- lib/igt_fb.c | 34 ++++++++++++++++++++++++++++++++++ lib/igt_fb.h | 1 + 2 files changed, 35 insertions(+)
lib/igt_fb.c +34 -0
@@ -2154,6 +2154,40 @@ unsigned int igt_create_fb(int fd, int width, int height, uint32_t format, fb, 0, 0); } +unsigned int igt_copy_fb (int fd,struct igt_fb *src,struct igt_fb *fb) +{ +char *in_ptr, *out_ptr; +int cpp =igt_drm_format_to_bpp (src->drm_format) /8 ; + +int fb_id =0 ; +igt_assert (src); + +/* TODO allow multiple planes */ +if (src->num_planes !=1 ) +return -EINVAL ; + +/* TODO expand for other formats */ +if (src->drm_format !=DRM_FORMAT_XRGB8888 ) +return -EINVAL ; + + fb_id =igt_create_fb (fd, src->width, src->height, src->drm_format, + src->modifier, fb); + +/* copy buffer contents */ +/* TODO simplify :D */ + in_ptr =igt_fb_map_buffer (fb->fd, src); +igt_assert (in_ptr); + out_ptr =igt_fb_map_buffer (fb->fd, fb); +igt_assert (out_ptr); + +igt_memcpy_from_wc (out_ptr, in_ptr, fb->width * fb->height * cpp); + +igt_fb_unmap_buffer (fb, out_ptr); +igt_fb_unmap_buffer (src, in_ptr); + +return fb_id; +} +/** * igt_create_color_fb: * @fd: open drm file descriptor
lib/igt_fb.h +1 -0
@@ -142,6 +142,7 @@ struct intel_buf *igt_fb_create_intel_buf(int fd, struct buf_ops *bops, const struct igt_fb *fb, const char *name);unsigned int igt_create_fb (int fd,int width,int height,uint32_t format,uint64_t modifier,struct igt_fb *fb); +unsigned int igt_copy_fb (int fd,struct igt_fb *src,struct igt_fb *fb); unsigned int igt_create_color_fb(int fd, int width, int height, uint32_t format, uint64_t modifier, double r, double g, double b,
Signature · 1 line
2.46.0
PATCH v5 12/37 tests/kms_colorop: Add kms_colorop tests
In reply to Harry WentlandThis tests the color pipeline API, exposed via the COLOR PIPELINE plane property and drm_colorop objects.
We introduce tests for:
- sRGB EOTF
- sRGB Inverse EOTF
- sRGB EOTF + sRGB Inverse EOTF
The last one is the holy grail of LUT testing. It tests that after applying an EOTF, followed by its inverse EOTF we arrive back at the original value. We can use this to test for precision loss in the pipeline.
All tests are tested via writeback. All transforms are done in SW (in floating point) and at the end the SW transformed buffer is compared with the KMS writeback output buffer. The two should match within a bracket of acceptable deviations. Since these deviations might look different for different KMS drivers we'll do this check on a driver-specific basis.
v3:
- skip tests if color pipeline not found
- Rename colorop to color_pipeline in places where it refers to the entire pipeline (Sebastian)
v2:
- Make tests dynamic, allowing definition of tests with an arbitrary number of transforms
- Add test for sRGB Inverse EOTF
- Add test for sRGB EOTF, followed by sRGB Inverse EOTF
--- tests/kms_colorop.c | 530 ++++++++++++++++++++++++++++++++++++++++++++ tests/kms_colorop.h | 87 ++++++++ tests/meson.build | 1 + 3 files changed, 618 insertions(+) create mode 100644 tests/kms_colorop.c create mode 100644 tests/kms_colorop.h
tests/kms_colorop.c new file +530 -0
@@ -0,0 +1,530 @@ +/* +* Copyright 2023 Advanced Micro Devices, Inc. +* +* Permission is hereby granted, free of charge, to any person obtaining a +* copy of this software and associated documentation files (the "Software"), +* to deal in the Software without restriction, including without limitation +* the rights to use, copy, modify, merge, publish, distribute, sublicense, +* and/or sell copies of the Software, and to permit persons to whom the +* Software is furnished to do so, subject to the following conditions: +* +* The above copyright notice and this permission notice shall be included in +* all copies or substantial portions of the Software. +* +* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL +* THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR +* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, +* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +* OTHER DEALINGS IN THE SOFTWARE. +*/ + +#include "igt.h" +#include "igt_color.h" +#include "sw_sync.h" + +#include "kms_colorop.h" + +/** +* TEST: kms colorop +* Category: Display +* Description: Test to validate the retrieving and setting of DRM colorops +* +* SUBTEST: plane-%s +* Description: Tests DRM colorop properties on a plane +* Driver requirement: amdgpu +* Functionality: kms_core +* Mega feature: General Display Features +* Test category: functionality test +* +* arg[1]: +* +* @srgb_eotf: sRGB EOTF +* @srgb_inv_eotf: sRGB Inverse EOTF +* @srgb_eotf-srgb_inv_eotf: sRGB EOTF -> sRGB Inverse EOTF +* +*/ + +/* TODO move to lib for kms_writeback and kms_colorop (and other future) use */ +static bool check_writeback_config (igt_display_t *display,igt_output_t *output, +drmModeModeInfo override_mode) +{ +igt_fb_t input_fb, output_fb; +igt_plane_t *plane; +uint32_t writeback_format =DRM_FORMAT_XRGB8888 ; +uint64_t modifier =DRM_FORMAT_MOD_LINEAR ; +int width, height, ret; + +igt_output_override_mode (output, &override_mode); + + width = override_mode.hdisplay; + height = override_mode.vdisplay; + + ret =igt_create_fb (display->drm_fd, width, height, +DRM_FORMAT_XRGB8888 , modifier, &input_fb); +igt_assert (ret >=0 ); + + ret =igt_create_fb (display->drm_fd, width, height, + writeback_format, modifier, &output_fb); +igt_assert (ret >=0 ); + + plane =igt_output_get_plane_type (output,DRM_PLANE_TYPE_PRIMARY ); +igt_plane_set_fb (plane, &input_fb); +igt_output_set_writeback_fb (output, &output_fb); + + ret =igt_display_try_commit_atomic (display,DRM_MODE_ATOMIC_TEST_ONLY | +DRM_MODE_ATOMIC_ALLOW_MODESET ,NULL ); +igt_plane_set_fb (plane,NULL ); +igt_remove_fb (display->drm_fd, &input_fb); +igt_remove_fb (display->drm_fd, &output_fb); + +return !ret; +} + +/* TODO move to lib for kms_writeback and kms_colorop (and other future) use */ +typedef struct { +bool builtin_mode; +bool custom_mode; +bool list_modes; +bool dump_check; +int mode_index; +drmModeModeInfo user_mode; +}data_t ; + +static data_t data; + +/* TODO move to lib for kms_writeback and kms_colorop (and other future) use */ +static igt_output_t *kms_writeback_get_output (igt_display_t *display) +{ +int i; +enum pipe pipe; + +drmModeModeInfo override_mode = { + .clock =25175 , + .hdisplay =640 , + .hsync_start =656 , + .hsync_end =752 , + .htotal =800 , + .hskew =0 , + .vdisplay =480 , + .vsync_start =490 , + .vsync_end =492 , + .vtotal =525 , + .vscan =0 , + .vrefresh =60 , + .flags =DRM_MODE_FLAG_NHSYNC |DRM_MODE_FLAG_NVSYNC , + .name = {"640x480-60" }, + }; + +for (i =0 ; i < display->n_outputs; i++) { +igt_output_t *output = &display->outputs[i]; + +if (output->config.connector->connector_type !=DRM_MODE_CONNECTOR_WRITEBACK ) +continue ; + +for_each_pipe (display, pipe) { +igt_output_set_pipe (output, pipe); + +if (data.custom_mode) + override_mode = data.user_mode; +if (data.builtin_mode) + override_mode = output->config.connector->modes[data.mode_index]; + +if (check_writeback_config (display, output, override_mode)) { +igt_debug ("Using connector %u:%s on pipe %d\n" , + output->config.connector->connector_id, + output->name, pipe); +return output; + } + } + +igt_debug ("We found %u:%s, but this test will not be able to use it.\n" , + output->config.connector->connector_id, output->name); + +/* Restore any connectors we don't use, so we don't trip on them later */ +kmstest_force_connector (display->drm_fd, output->config.connector,FORCE_CONNECTOR_UNSPECIFIED ); + } + +return NULL ; +} + +/* TODO move to lib for kms_writeback and kms_colorop (and other future) use */ +static uint64_t get_writeback_fb_id (igt_output_t *output) +{ +return igt_output_get_prop (output,IGT_CONNECTOR_WRITEBACK_FB_ID ); +} + +/* TODO move to lib for kms_writeback and kms_colorop (and other future) use */ +static void detach_crtc (igt_display_t *display,igt_output_t *output) +{ +if (get_writeback_fb_id (output) ==0 ) +return ; + +igt_output_set_pipe (output,PIPE_NONE ); +igt_display_commit2 (display,COMMIT_ATOMIC ); +} + +static void get_and_wait_out_fence (igt_output_t *output) +{ +int ret; + +igt_assert (output->writeback_out_fence_fd >=0 ); + + ret =sync_fence_wait (output->writeback_out_fence_fd,1000 ); +igt_assert_f (ret ==0 ,"sync_fence_wait failed: %s\n" ,strerror (-ret)); +close (output->writeback_out_fence_fd); + output->writeback_out_fence_fd =-1 ; +} + +static bool can_use_colorop (igt_display_t *display,igt_colorop_t *colorop,kms_colorop_t *desired) +{ +switch (desired->type) { +case KMS_COLOROP_ENUMERATED_LUT1D : +if (igt_colorop_get_prop (display, colorop,IGT_COLOROP_TYPE ) ==DRM_COLOROP_1D_CURVE ) { +return true; + } +case KMS_COLOROP_CUSTOM_LUT1D : +case KMS_COLOROP_CTM : +case KMS_COLOROP_LUT3D : +default : +return false; + } +} + +/** +* Iterate color pipeline that begins with colorop and try to map +* colorops[] to it. +*/ +static bool map_to_pipeline (igt_display_t *display, +igt_colorop_t *colorop, +kms_colorop_t *colorops[]) +{ +igt_colorop_t *next = colorop; +kms_colorop_t *current_op; +int i =0 ; +int prop_val =0 ; + + current_op = colorops[i++]; +igt_require (current_op); + +while (next) { +if (can_use_colorop (display, next, current_op)) { + current_op->colorop = next; + current_op = colorops[i++]; +if (!current_op) +break ; + } + prop_val =igt_colorop_get_prop (display, next, +IGT_COLOROP_NEXT ); + next =igt_find_colorop (display, prop_val); + } + +if (current_op) { +/* we failed to map the pipeline */ + +/* clean up colorops[i].colorop mappings */ +for (i =0 , current_op = colorops[0 ]; current_op; current_op = colorops[i++]) + current_op->colorop =NULL ; + +return false; + } + +return true; +} + +static igt_colorop_t *get_color_pipeline (igt_display_t *display, +igt_plane_t *plane, +kms_colorop_t *colorops[]) +{ +igt_colorop_t *colorop =NULL ; +int i; + +/* go through all color pipelines */ +for (i =0 ; i < plane->num_color_pipelines; ++i) { +if (map_to_pipeline (display, plane->color_pipelines[i], colorops)) { + colorop = plane->color_pipelines[i]; +break ; + } + } + +return colorop; +} + +static void set_colorop (igt_display_t *display, +kms_colorop_t *colorop) +{ +igt_assert (colorop->colorop); +igt_colorop_set_prop_value (colorop->colorop,IGT_COLOROP_BYPASS ,0 ); + +/* TODO set to desired value from kms_colorop_t */ +switch (colorop->type) { +case KMS_COLOROP_ENUMERATED_LUT1D : +switch (colorop->enumerated_lut1d_info.tf) { +case KMS_COLOROP_LUT1D_SRGB_EOTF : +igt_colorop_set_prop_enum (colorop->colorop,IGT_COLOROP_CURVE_1D_TYPE ,"sRGB EOTF" ); +break ; +case KMS_COLOROP_LUT1D_SRGB_INV_EOTF : +igt_colorop_set_prop_enum (colorop->colorop,IGT_COLOROP_CURVE_1D_TYPE ,"sRGB Inverse EOTF" ); +break ; +case KMS_COLOROP_LUT1D_PQ_EOTF : +case KMS_COLOROP_LUT1D_PQ_INV_EOTF : +default : +igt_fail (IGT_EXIT_FAILURE ); + } +break ; +case KMS_COLOROP_CUSTOM_LUT1D : +case KMS_COLOROP_CTM : +case KMS_COLOROP_LUT3D : +default : +igt_fail (IGT_EXIT_FAILURE ); + } +} + +static void set_color_pipeline (igt_display_t *display, +igt_plane_t *plane, +kms_colorop_t *colorops[], +igt_colorop_t *color_pipeline) +{ +igt_colorop_t *next; +int prop_val =0 ; +int i; + +igt_plane_set_color_pipeline (plane, color_pipeline); + +for (i =0 ; colorops[i]; i++) +set_colorop (display, colorops[i]); + +/* set unused ops in pipeline to bypass */ + next = color_pipeline; + i =0 ; +while (next) { +if (!colorops[i] || colorops[i]->colorop != next) +igt_colorop_set_prop_value (next,IGT_COLOROP_BYPASS ,1 ); +else + i++; + + prop_val =igt_colorop_get_prop (display, next, +IGT_COLOROP_NEXT ); + next =igt_find_colorop (display, prop_val); + } +} + +static void set_color_pipeline_bypass (igt_plane_t *plane) +{ +igt_plane_set_prop_enum (plane,IGT_PLANE_COLOR_PIPELINE ,"Bypass" ); +} + +static bool compare_with_bracket (igt_fb_t *in,igt_fb_t *out) +{ +if (is_vkms_device (in->fd)) +return igt_cmp_fb_pixels (in, out,1 ,1 ); +else +/* +* By default we'll look for a [0, 0] bracket. We can then +* define it for each driver that implements support for this +* test. That way we can understand the precision of each +* driver better. +*/ +return igt_cmp_fb_pixels (in, out,0 ,0 ); +} + +#define DUMP_FBS 1 + +#define MAX_COLOROPS 3 +#define NUM_COLOROP_TESTS 3 +#define MAX_NAME_SIZE 256 + +static void apply_transforms (kms_colorop_t *colorops[],igt_fb_t *sw_transform_fb) +{ +int i; +igt_pixel_transform transforms[MAX_COLOROPS ]; + +/* +* TODO +* +* This is wrong and loses precision since it always goes back +* to an 8-bpc framebuffer. +* +* Instead we need to stay as UNORM or float 16-bpc value throughout +* all transforms. +*/ + +for (i =0 ; colorops[i]; i++) + transforms[i] = colorops[i]->transform; + +igt_color_transform_pixels (sw_transform_fb, transforms, i); +} + +static void colorop_plane_test (igt_display_t *display, +kms_colorop_t *colorops[]) +{ +igt_colorop_t *color_pipeline =NULL ; +igt_output_t *output; +igt_plane_t *plane; +igt_fb_t input_fb; +igt_fb_t sw_transform_fb; +igt_fb_t output_fb; +drmModeModeInfo mode; +unsigned int fb_id; +igt_crc_t input_crc, output_crc; + + output =kms_writeback_get_output (display); +igt_require (output); + +if (output->use_override_mode) +memcpy (&mode, &output->override_mode,sizeof (mode)); +else +memcpy (&mode, &output->config.default_mode,sizeof (mode)); + +/* create input fb */ + plane =igt_output_get_plane_type (output,DRM_PLANE_TYPE_PRIMARY ); +igt_assert (plane); + + fb_id =igt_create_color_pattern_fb (display->drm_fd, + mode.hdisplay, mode.vdisplay, +DRM_FORMAT_XRGB8888 ,DRM_FORMAT_MOD_LINEAR , +0.2 ,0.2 ,0.2 , &input_fb); +igt_assert (fb_id >=0 ); +igt_plane_set_fb (plane, &input_fb); +#if DUMP_FBS +igt_dump_fb (display, &input_fb,"." ,"input" ); +#endif + +/* create output fb */ + fb_id =igt_create_fb (display->drm_fd, mode.hdisplay, mode.vdisplay, +DRM_FORMAT_XRGB8888 , +igt_fb_mod_to_tiling (0 ), + &output_fb); +igt_require (fb_id >0 ); + +igt_fb_get_fnv1a_crc (&input_fb, &input_crc); + +igt_require (igt_plane_has_prop (plane,IGT_PLANE_COLOR_PIPELINE )); + +/* reset color pipeline*/ + +/* TODO do we need this? might be good sanity anyways */ +set_color_pipeline_bypass (plane); + +/* Commit */ +igt_plane_set_fb (plane, &input_fb); +igt_output_set_writeback_fb (output, &output_fb); + +igt_display_commit_atomic (output->display, +DRM_MODE_ATOMIC_ALLOW_MODESET , +NULL ); +get_and_wait_out_fence (output); + +/* Compare input and output buffers. They should be equal here. */ +igt_fb_get_fnv1a_crc (&output_fb, &output_crc); + +igt_assert_crc_equal (&input_crc, &output_crc); + +/* create sw transformed buffer */ + +igt_copy_fb (display->drm_fd, &input_fb, &sw_transform_fb); +igt_assert (igt_cmp_fb_pixels (&input_fb, &sw_transform_fb,0 ,0 )); + +apply_transforms (colorops, &sw_transform_fb); +#if DUMP_FBS +igt_dump_fb (display, &sw_transform_fb,"." ,"sw_transform" ); +#endif +/* discover and set COLOR PIPELINE */ + +/* get COLOR_PIPELINE enum */ + color_pipeline =get_color_pipeline (display, plane, colorops); + +/* skip test if we can't find applicable pipeline */ +igt_skip_on (!color_pipeline); + +set_color_pipeline (display, plane, colorops, color_pipeline); + +igt_output_set_writeback_fb (output, &output_fb); + +/* commit COLOR_PIPELINE */ +igt_display_commit_atomic (display, +DRM_MODE_ATOMIC_ALLOW_MODESET , +NULL ); +get_and_wait_out_fence (output); +#if DUMP_FBS +igt_dump_fb (display, &output_fb,"." ,"output" ); +#endif + +/* compare sw transformed and KMS transformed FBs */ +igt_assert (compare_with_bracket (&sw_transform_fb, &output_fb)); + +/* reset color pipeline*/ +set_color_pipeline_bypass (plane); + +/* Commit */ +igt_plane_set_fb (plane, &input_fb); +igt_output_set_writeback_fb (output, &output_fb); + +igt_display_commit_atomic (output->display, +DRM_MODE_ATOMIC_ALLOW_MODESET , +NULL ); +get_and_wait_out_fence (output); + +/* cleanup */ +detach_crtc (display, output); +igt_remove_fb (display->drm_fd, &input_fb); +igt_remove_fb (display->drm_fd, &output_fb); +} + +igt_main +{ + +struct { +kms_colorop_t *colorops[MAX_COLOROPS ]; +const char *name; + } tests[] = { + { { &kms_colorop_srgb_eotf,NULL },"srgb_eotf" }, + { { &kms_colorop_srgb_inv_eotf,NULL },"srgb_inv_eotf" }, + { { &kms_colorop_srgb_eotf, &kms_colorop_srgb_inv_eotf,NULL },"srgb_eotf-srgb_inv_eotf" } + }; + +igt_display_t display; +int i, ret; + + igt_fixture { + display.drm_fd =drm_open_driver_master (DRIVER_ANY ); + +if (drmSetClientCap (display.drm_fd,DRM_CLIENT_CAP_ATOMIC ,1 ) ==0 ) + display.is_atomic =1 ; + + ret =drmSetClientCap (display.drm_fd,DRM_CLIENT_CAP_WRITEBACK_CONNECTORS ,1 ); + +igt_require_f (!ret,"error setting DRM_CLIENT_CAP_WRITEBACK_CONNECTORS\n" ); + +igt_display_require (&display, display.drm_fd); + +kmstest_set_vt_graphics_mode (); + +igt_display_require (&display, display.drm_fd); + +igt_require (display.is_atomic); + + } + +for (i =0 ; i <sizeof (tests) /sizeof (tests[0 ]); i++) { +igt_describe ("Bla bla bla" ); + igt_subtest_f("plane-%s", tests[i].name) +colorop_plane_test (&display, tests[i].colorops); + } + +igt_describe ("Tests getting and setting COLOR_PIPELINE property on plane" ); +#if 0 + igt_subtest("plane-srgb") { +colorop_plane_test (&display, colorops_srgb); + } + igt_subtest("plane-inv_srgb") { +colorop_plane_test (&display, colorops_srgb_inv); + } +#endif + igt_fixture { + +igt_display_fini (&display); + } +} +
tests/kms_colorop.h new file +87 -0
87 lines not on this page · raw message
tests/meson.build +1 -0
@@ -23,6 +23,7 @@ test_progs = [ 'kms_bw', 'kms_color', 'kms_concurrent', + 'kms_colorop', 'kms_content_protection', 'kms_cursor_crc', 'kms_cursor_edge_walk',
Signature · 1 line
2.46.0
PATCH v5 13/37 lib/igt_kms: Add support for DATA colorop property
In reply to Harry Wentland--- lib/igt_kms.c | 33 +++++++++++++++++++++++++++++++++ lib/igt_kms.h | 12 ++++++++---- 2 files changed, 41 insertions(+), 4 deletions(-)
lib/igt_kms.c +33 -0
@@ -695,6 +695,7 @@ const char * const igt_colorop_prop_names[IGT_NUM_COLOROP_PROPS] = { [IGT_COLOROP_TYPE] = "TYPE", [IGT_COLOROP_BYPASS] = "BYPASS", [IGT_COLOROP_CURVE_1D_TYPE] = "CURVE_1D_TYPE", + [IGT_COLOROP_DATA] = "DATA", [IGT_COLOROP_NEXT] = "NEXT", };
@@ -4369,6 +4370,38 @@ igt_plane_replace_prop_blob(igt_plane_t *plane, enum igt_atomic_plane_propertiesigt_plane_set_prop_changed (plane, prop); } +/** +* igt_colorop_replace_prop_blob: +* @plane: colorop to set property on. +* @prop: property for which the blob will be replaced. +* @ptr: Pointer to contents for the property. +* @length: Length of contents. +* +* This function will destroy the old property blob for the given property, +* and will create a new property blob with the values passed to this function. +* +* The new property blob will be committed when you call igt_display_commit(), +* igt_display_commit2() or igt_display_commit_atomic(). +*/ +void +igt_colorop_replace_prop_blob (igt_colorop_t *colorop,enum igt_atomic_colorop_properties prop,const void *ptr,size_t length) +{ +igt_display_t *display = colorop->plane->pipe->display; +uint64_t *blob = &colorop->values[prop]; +uint32_t blob_id =0 ; + +if (*blob !=0 ) +igt_assert (drmModeDestroyPropertyBlob (display->drm_fd, + *blob) ==0 ); + +if (length >0 ) +igt_assert (drmModeCreatePropertyBlob (display->drm_fd, + ptr, length, &blob_id) ==0 ); + + *blob = blob_id; +igt_colorop_set_prop_changed (colorop, prop); +} +/** * igt_colorop_try_prop_enum: * @colorop: Target colorop.
lib/igt_kms.h +8 -4
@@ -353,6 +353,7 @@ enum igt_atomic_colorop_properties {IGT_COLOROP_TYPE ,IGT_COLOROP_BYPASS ,IGT_COLOROP_CURVE_1D_TYPE , +IGT_COLOROP_DATA ,IGT_COLOROP_NEXT , IGT_NUM_COLOROP_PROPS };
@@ -850,12 +851,15 @@ extern void igt_plane_set_prop_enum(igt_plane_t *plane,enum igt_atomic_plane_properties prop, const char *val); - +extern void igt_plane_replace_prop_blob (igt_plane_t *plane, +enum igt_atomic_plane_properties prop, +const void *ptr,size_t length);extern bool igt_plane_is_valid_colorop (igt_plane_t *plane,igt_colorop_t *colorop);extern void igt_plane_set_color_pipeline (igt_plane_t *plane,igt_colorop_t *colorop); +/** * igt_colorop_has_prop: * @colorop: colorop to check.
@@ -897,9 +901,9 @@ extern void igt_colorop_set_prop_enum(igt_colorop_t *colorop,enum igt_atomic_colorop_properties prop, const char *val); -extern void igt_plane_replace_prop_blob (igt_plane_t *plane, -enum igt_atomic_plane_properties prop, -const void *ptr,size_t length); +extern void igt_colorop_replace_prop_blob (igt_colorop_t *colorop, +enum igt_atomic_colorop_properties prop, +const void *ptr,size_t length);extern bool igt_plane_check_prop_is_mutable (igt_plane_t *plane,enum igt_atomic_plane_properties igt_prop);
Signature · 1 line
2.46.0
PATCH v5 14/37 lib/igt_color: Add support for 3x4 matrices
In reply to Harry WentlandAlso add a few matrices for testing.
--- lib/igt_color.c | 88 ++++++++++++++++++++++++++++++++++++++++++++++++- lib/igt_color.h | 71 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 158 insertions(+), 1 deletion(-)
lib/igt_color.c +87 -1
@@ -9,6 +9,7 @@#include <errno.h> #include <math.h> +#include "drmtest.h" #include "igt_color.h" #include "igt_core.h" #include "igt_x86.h"
@@ -70,6 +71,62 @@ void igt_color_srgb_eotf(igt_pixel_t *pixel) pixel->b =igt_color_tf_eval (&srgb_eotf, pixel->b); } +static void igt_color_apply_3x4_ctm (igt_pixel_t *pixel,const igt_matrix_3x4_t *matrix) +{ +igt_pixel_t result; + +memcpy (&result, pixel,sizeof (result)); + + result.r = matrix->m[0 ] * pixel->r + + matrix->m[1 ] * pixel->g + + matrix->m[2 ] * pixel->b + + matrix->m[3 ]; + + result.g = matrix->m[4 ] * pixel->r + + matrix->m[5 ] * pixel->g + + matrix->m[6 ] * pixel->b + + matrix->m[7 ]; + + result.b = matrix->m[8 ] * pixel->r + + matrix->m[9 ] * pixel->g + + matrix->m[10 ] * pixel->b + + matrix->m[11 ]; + +memcpy (pixel, &result,sizeof (result)); + +} + +void igt_color_ctm_3x4_50_desat (igt_pixel_t *pixel) +{ +/* apply a 50% desat matrix */ +igt_color_apply_3x4_ctm (pixel, &igt_matrix_3x4_50_desat); +} + +void igt_color_ctm_3x4_overdrive (igt_pixel_t *pixel) +{ +/* apply a 50% desat matrix */ +igt_color_apply_3x4_ctm (pixel, &igt_matrix_3x4_overdrive); +} + +void igt_color_ctm_3x4_oversaturate (igt_pixel_t *pixel) +{ +/* apply a 50% desat matrix */ +igt_color_apply_3x4_ctm (pixel, &igt_matrix_3x4_oversaturate); +} + +void igt_color_ctm_3x4_bt709_enc (igt_pixel_t *pixel) +{ +/* apply a 50% desat matrix */ +igt_color_apply_3x4_ctm (pixel, &igt_matrix_3x4_bt709_enc); +} + +void igt_color_ctm_3x4_bt709_dec (igt_pixel_t *pixel) +{ +/* apply a 50% desat matrix */ +igt_color_apply_3x4_ctm (pixel, &igt_matrix_3x4_bt709_dec); +} + +int igt_color_transform_pixels (igt_fb_t *fb,igt_pixel_transform transforms[],int num_transforms) {uint32_t *line =NULL ;
@@ -136,6 +193,11 @@ int igt_color_transform_pixels(igt_fb_t *fb, igt_pixel_transform transforms[], ifor (i =0 ; i < num_transforms; i++) transforms[i](&pixel); +/* clip */ + pixel.r =fmax (fmin (pixel.r,1.0 ),0.0 ); + pixel.g =fmax (fmin (pixel.g,1.0 ),0.0 ); + pixel.b =fmax (fmin (pixel.b,1.0 ),0.0 ); +/* de-normalize back to 8-bit */ pixel.r *= (0xff ); pixel.g *= (0xff );
@@ -255,4 +317,28 @@ void igt_dump_fb(igt_display_t *display, igt_fb_t *fb, status =cairo_surface_write_to_png (fb_surface_out, filepath_out);igt_assert_eq (status,CAIRO_STATUS_SUCCESS );cairo_surface_destroy (fb_surface_out); -} +} + +void igt_colorop_set_ctm_3x4 (igt_display_t *display, +igt_colorop_t *colorop, +const igt_matrix_3x4_t *matrix) +{ +struct drm_color_ctm_3x4 ctm; +int i; + +for (i =0 ; i <ARRAY_SIZE (ctm.matrix); i++) { +if (matrix->m[i] <0 ) { + ctm.matrix[i] = + (int64_t ) (-matrix->m[i] * + ((int64_t )1L <<32 )); + ctm.matrix[i] |=1ULL <<63 ; + }else { + ctm.matrix[i] = + (int64_t ) (matrix->m[i] * + ((int64_t )1L <<32 )); + } + } + +/* set blob property */ +igt_colorop_replace_prop_blob (colorop,IGT_COLOROP_DATA , &ctm,sizeof (ctm)); +}
lib/igt_color.h +71 -0
85 lines not on this page · raw message
Signature · 1 line
2.46.0
PATCH v5 15/37 tests/kms_colorop: Add 3x4 CTM tests
In reply to Harry Wentlandv4:
- Remove unused defines
--- tests/kms_colorop.c | 43 +++++++++++++++++++++++++++++-------------- tests/kms_colorop.h | 39 ++++++++++++++++++++++++++++++++++++++- 2 files changed, 67 insertions(+), 15 deletions(-)
tests/kms_colorop.c +29 -14
@@ -40,9 +40,16 @@* * arg[1]: * -* @srgb_eotf: sRGB EOTF -* @srgb_inv_eotf: sRGB Inverse EOTF -* @srgb_eotf-srgb_inv_eotf: sRGB EOTF -> sRGB Inverse EOTF +* @srgb_eotf: sRGB EOTF +* @srgb_inv_eotf: sRGB Inverse EOTF +* @srgb_eotf-srgb_inv_eotf: sRGB EOTF -> sRGB Inverse EOTF +* @ctm_3x4_50_desat: 3x4 matrix doing a 50% desaturation +* @ctm_3x4_overdrive: 3x4 matrix overdring all values by 50% +* @ctm_3x4_oversaturate: 3x4 matrix oversaturating values +* @ctm_3x4_bt709_enc: BT709 encoding matrix +* @ctm_3x4_bt709_dec: BT709 decoding matrix +* @ctm_3x4_bt709_enc_dec: BT709 encoding matrix, followed by decoding matrix +* @ctm_3x4_bt709_dec_enc: BT709 decoding matrix, followed by encoding matrix * */
@@ -181,11 +188,10 @@ static bool can_use_colorop(igt_display_t *display, igt_colorop_t *colorop, kms_ {switch (desired->type) {case KMS_COLOROP_ENUMERATED_LUT1D : -if (igt_colorop_get_prop (display, colorop,IGT_COLOROP_TYPE ) ==DRM_COLOROP_1D_CURVE ) { -return true; - } +return (igt_colorop_get_prop (display, colorop,IGT_COLOROP_TYPE ) ==DRM_COLOROP_1D_CURVE ); +case KMS_COLOROP_CTM_3X4 : +return (igt_colorop_get_prop (display, colorop,IGT_COLOROP_TYPE ) ==DRM_COLOROP_CTM_3X4 );case KMS_COLOROP_CUSTOM_LUT1D : -case KMS_COLOROP_CTM :case KMS_COLOROP_LUT3D :default :return false;
@@ -205,13 +211,15 @@ static bool map_to_pipeline(igt_display_t *display,int i =0 ;int prop_val =0 ; - current_op = colorops[i++]; + current_op = colorops[i]; + i++;igt_require (current_op);while (next) {if (can_use_colorop (display, next, current_op)) { current_op->colorop = next; - current_op = colorops[i++]; + current_op = colorops[i]; + i++;if (!current_op)break ; }
@@ -273,8 +281,10 @@ static void set_colorop(igt_display_t *display,igt_fail (IGT_EXIT_FAILURE ); }break ; +case KMS_COLOROP_CTM_3X4 : +igt_colorop_set_ctm_3x4 (display, colorop->colorop, colorop->matrix_3x4); +break ;case KMS_COLOROP_CUSTOM_LUT1D : -case KMS_COLOROP_CTM :case KMS_COLOROP_LUT3D :default :igt_fail (IGT_EXIT_FAILURE );
@@ -331,9 +341,7 @@ static bool compare_with_bracket(igt_fb_t *in, igt_fb_t *out)#define DUMP_FBS 1 -#define MAX_COLOROPS 3 -#define NUM_COLOROP_TESTS 3 -#define MAX_NAME_SIZE 256 +#define MAX_COLOROPS 5static void apply_transforms (kms_colorop_t *colorops[],igt_fb_t *sw_transform_fb) {
@@ -481,7 +489,14 @@ igt_main } tests[] = { { { &kms_colorop_srgb_eotf, NULL }, "srgb_eotf" }, { { &kms_colorop_srgb_inv_eotf, NULL }, "srgb_inv_eotf" }, - { { &kms_colorop_srgb_eotf, &kms_colorop_srgb_inv_eotf, NULL }, "srgb_eotf-srgb_inv_eotf" } + { { &kms_colorop_srgb_eotf, &kms_colorop_srgb_inv_eotf, NULL }, "srgb_eotf-srgb_inv_eotf" }, + { { &kms_colorop_ctm_3x4_50_desat, NULL }, "ctm_3x4_50_desat" }, + { { &kms_colorop_ctm_3x4_overdrive, NULL }, "ctm_3x4_overdrive" }, + { { &kms_colorop_ctm_3x4_oversaturate, NULL }, "ctm_3x4_oversaturate" }, + { { &kms_colorop_ctm_3x4_bt709_enc, NULL }, "ctm_3x4_bt709_enc" }, + { { &kms_colorop_ctm_3x4_bt709_dec, NULL }, "ctm_3x4_bt709_dec" }, + { { &kms_colorop_ctm_3x4_bt709_enc, &kms_colorop_ctm_3x4_bt709_dec, NULL }, "ctm_3x4_bt709_enc_dec" }, + { { &kms_colorop_ctm_3x4_bt709_dec, &kms_colorop_ctm_3x4_bt709_enc, NULL }, "ctm_3x4_bt709_dec_enc" }, }; igt_display_t display;
tests/kms_colorop.h +38 -1
@@ -35,7 +35,7 @@ typedef int (*transform_pixel)(igt_pixel_t *pixel);typedef enum kms_colorop_type {KMS_COLOROP_ENUMERATED_LUT1D ,KMS_COLOROP_CUSTOM_LUT1D , -KMS_COLOROP_CTM , +KMS_COLOROP_CTM_3X4 ,KMS_COLOROP_LUT3D }kms_colorop_type_t ;
@@ -55,6 +55,7 @@ typedef struct kms_colorop {union {kms_colorop_enumerated_lut1d_info_t enumerated_lut1d_info; +const igt_matrix_3x4_t *matrix_3x4; };const char *name;
@@ -84,4 +85,40 @@ kms_colorop_t kms_colorop_srgb_inv_eotf = { .transform = &igt_color_srgb_inv_eotf }; +kms_colorop_t kms_colorop_ctm_3x4_50_desat = { + .type =KMS_COLOROP_CTM_3X4 , + .matrix_3x4 = &igt_matrix_3x4_50_desat, + .name ="ctm_3x4_50_desat" , + .transform = &igt_color_ctm_3x4_50_desat +}; + +kms_colorop_t kms_colorop_ctm_3x4_overdrive = { + .type =KMS_COLOROP_CTM_3X4 , + .matrix_3x4 = &igt_matrix_3x4_overdrive, + .name ="ctm_3x4_overdrive" , + .transform = &igt_color_ctm_3x4_overdrive +}; + +kms_colorop_t kms_colorop_ctm_3x4_oversaturate = { + .type =KMS_COLOROP_CTM_3X4 , + .matrix_3x4 = &igt_matrix_3x4_oversaturate, + .name ="ctm_3x4_oversaturate" , + .transform = &igt_color_ctm_3x4_oversaturate +}; + +kms_colorop_t kms_colorop_ctm_3x4_bt709_enc = { + .type =KMS_COLOROP_CTM_3X4 , + .matrix_3x4 = &igt_matrix_3x4_bt709_enc, + .name ="ctm_3x4_bt709_enc" , + .transform = &igt_color_ctm_3x4_bt709_enc +}; + +kms_colorop_t kms_colorop_ctm_3x4_bt709_dec = { + .type =KMS_COLOROP_CTM_3X4 , + .matrix_3x4 = &igt_matrix_3x4_bt709_dec, + .name ="ctm_3x4_bt709_dec" , + .transform = &igt_color_ctm_3x4_bt709_dec +}; + +#endif /* __KMS_COLOROP_H__ */
Signature · 1 line
2.46.0
PATCH v5 16/37 tests/kms_colorop: Add bypass test
In reply to Harry WentlandWe want to test that setting the color pipeline to bypass yields the expected results.
--- tests/kms_colorop.c | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-)
tests/kms_colorop.c +12 -5
@@ -40,6 +40,7 @@* * arg[1]: * +* @bypass: Bypass Color Pipeline * @srgb_eotf: sRGB EOTF * @srgb_inv_eotf: sRGB Inverse EOTF * @srgb_eotf-srgb_inv_eotf: sRGB EOTF -> sRGB Inverse EOTF
@@ -440,13 +441,18 @@ static void colorop_plane_test(igt_display_t *display,#endif /* discover and set COLOR PIPELINE */ -/* get COLOR_PIPELINE enum */ - color_pipeline =get_color_pipeline (display, plane, colorops); +if (!colorops[0 ]) { +/* bypass test */ +set_color_pipeline_bypass (plane); + }else { +/* get COLOR_PIPELINE enum */ + color_pipeline =get_color_pipeline (display, plane, colorops); -/* skip test if we can't find applicable pipeline */ -igt_skip_on (!color_pipeline); +/* skip test if we can't find applicable pipeline */ +igt_skip_on (!color_pipeline); -set_color_pipeline (display, plane, colorops, color_pipeline); +set_color_pipeline (display, plane, colorops, color_pipeline); + }igt_output_set_writeback_fb (output, &output_fb);
@@ -487,6 +493,7 @@ igt_mainkms_colorop_t *colorops[MAX_COLOROPS ];const char *name; } tests[] = { + { { NULL }, "bypass" }, { { &kms_colorop_srgb_eotf, NULL }, "srgb_eotf" }, { { &kms_colorop_srgb_inv_eotf, NULL }, "srgb_inv_eotf" }, { { &kms_colorop_srgb_eotf, &kms_colorop_srgb_inv_eotf, NULL }, "srgb_eotf-srgb_inv_eotf" },
Signature · 1 line
2.46.0
PATCH v5 17/37 tests/kms_colorop: Parametrize the buffer format
In reply to Harry WentlandWe'll eventually want to run this test for 10 bpc buffers, or even other formats. Parametrize the buffer format for both input and writeback buffers using fourcc.
--- tests/kms_colorop.c | 49 +++++++++++++++++++++++++++++++-------------- 1 file changed, 34 insertions(+), 15 deletions(-)
tests/kms_colorop.c +34 -15
@@ -31,7 +31,7 @@* Category: Display * Description: Test to validate the retrieving and setting of DRM colorops * -* SUBTEST: plane-%s +* SUBTEST: plane-%s-%s * Description: Tests DRM colorop properties on a plane * Driver requirement: amdgpu * Functionality: kms_core
@@ -40,6 +40,10 @@* * arg[1]: * +* @XR24-XR24: XRGB8888 framebuffer and writeback buffer +* +* arg[2]: +* * @bypass: Bypass Color Pipeline * @srgb_eotf: sRGB EOTF * @srgb_inv_eotf: sRGB Inverse EOTF
@@ -56,11 +60,12 @@/* TODO move to lib for kms_writeback and kms_colorop (and other future) use */ static bool check_writeback_config (igt_display_t *display,igt_output_t *output, -drmModeModeInfo override_mode) +drmModeModeInfo override_mode,__u32 fourcc_in, +__u32 fourcc_out) {igt_fb_t input_fb, output_fb;igt_plane_t *plane; -uint32_t writeback_format =DRM_FORMAT_XRGB8888 ; +uint32_t writeback_format = fourcc_out;uint64_t modifier =DRM_FORMAT_MOD_LINEAR ;int width, height, ret;
@@ -70,7 +75,7 @@ static bool check_writeback_config(igt_display_t *display, igt_output_t *output, height = override_mode.vdisplay; ret =igt_create_fb (display->drm_fd, width, height, -DRM_FORMAT_XRGB8888 , modifier, &input_fb); + fourcc_in, modifier, &input_fb);igt_assert (ret >=0 ); ret = igt_create_fb(display->drm_fd, width, height,
@@ -103,7 +108,7 @@ typedef struct {static data_t data;/* TODO move to lib for kms_writeback and kms_colorop (and other future) use */ -static igt_output_t *kms_writeback_get_output (igt_display_t *display) +static igt_output_t *kms_writeback_get_output (igt_display_t *display,__u32 fourcc_in,__u32 fourcc_out) {int i;enum pipe pipe;
@@ -139,7 +144,7 @@ static igt_output_t *kms_writeback_get_output(igt_display_t *display)if (data.builtin_mode) override_mode = output->config.connector->modes[data.mode_index]; -if (check_writeback_config (display, output, override_mode)) { +if (check_writeback_config (display, output, override_mode, fourcc_in, fourcc_out)) {igt_debug ("Using connector %u:%s on pipe %d\n" , output->config.connector->connector_id, output->name, pipe);
@@ -366,6 +371,8 @@ static void apply_transforms(kms_colorop_t *colorops[], igt_fb_t *sw_transform_f }static void colorop_plane_test (igt_display_t *display, +__u32 fourcc_in, +__u32 fourcc_out,kms_colorop_t *colorops[]) {igt_colorop_t *color_pipeline =NULL ;
@@ -378,7 +385,7 @@ static void colorop_plane_test(igt_display_t *display,unsigned int fb_id;igt_crc_t input_crc, output_crc; - output =kms_writeback_get_output (display); + output =kms_writeback_get_output (display, fourcc_in, fourcc_out);igt_require (output);if (output->use_override_mode)
@@ -392,7 +399,7 @@ static void colorop_plane_test(igt_display_t *display, fb_id =igt_create_color_pattern_fb (display->drm_fd, mode.hdisplay, mode.vdisplay, -DRM_FORMAT_XRGB8888 ,DRM_FORMAT_MOD_LINEAR , + fourcc_in,DRM_FORMAT_MOD_LINEAR ,0.2 ,0.2 ,0.2 , &input_fb);igt_assert (fb_id >=0 );igt_plane_set_fb (plane, &input_fb);
@@ -402,7 +409,7 @@ static void colorop_plane_test(igt_display_t *display,/* create output fb */ fb_id =igt_create_fb (display->drm_fd, mode.hdisplay, mode.vdisplay, -DRM_FORMAT_XRGB8888 , + fourcc_in,igt_fb_mod_to_tiling (0 ), &output_fb);igt_require (fb_id >0 );
@@ -506,8 +513,16 @@ igt_main { { &kms_colorop_ctm_3x4_bt709_dec, &kms_colorop_ctm_3x4_bt709_enc, NULL }, "ctm_3x4_bt709_dec_enc" }, }; + struct { + __u32 fourcc_in; + __u32 fourcc_out; + const char *name; + } formats[] = { + { DRM_FORMAT_XRGB8888, DRM_FORMAT_XRGB8888, "XR24-XR24" }, + }; + igt_display_t display; - int i, ret; + int i, j, ret; igt_fixture { display.drm_fd = drm_open_driver_master(DRIVER_ANY);
@@ -529,12 +544,16 @@ igt_main } -for (i =0 ; i <sizeof (tests) /sizeof (tests[0 ]); i++) { -igt_describe ("Bla bla bla" ); - igt_subtest_f("plane-%s", tests[i].name) -colorop_plane_test (&display, tests[i].colorops); +for (j =0 ; j <sizeof (formats) /sizeof (formats[0 ]); j++) { +for (i =0 ; i <sizeof (tests) /sizeof (tests[0 ]); i++) { +igt_describe ("Bla bla bla" ); + igt_subtest_f("plane-%s-%s", formats[j].name, tests[i].name) +colorop_plane_test (&display, + formats[j].fourcc_in, + formats[j].fourcc_out, + tests[i].colorops); + } } -igt_describe ("Tests getting and setting COLOR_PIPELINE property on plane" );#if 0 igt_subtest("plane-srgb") {
Signature · 1 line
2.46.0
PATCH v5 18/37 tests/kms_colorop: Add 10bpc test and skip if format not supported
In reply to Harry Wentland--- tests/kms_colorop.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)
tests/kms_colorop.c +6 -1
@@ -41,6 +41,7 @@* arg[1]: * * @XR24-XR24: XRGB8888 framebuffer and writeback buffer +* @XR30-XR30: XRGB8888 framebuffer and writeback buffer * * arg[2]: *
@@ -74,6 +75,10 @@ static bool check_writeback_config(igt_display_t *display, igt_output_t *output, width = override_mode.hdisplay; height = override_mode.vdisplay; + plane =igt_output_get_plane_type (output,DRM_PLANE_TYPE_PRIMARY ); +igt_skip_on_f (!igt_plane_has_format_mod (plane, fourcc_in,DRM_FORMAT_MOD_LINEAR ), +"plane doesn't support fourcc format %x\n" , fourcc_in); + ret =igt_create_fb (display->drm_fd, width, height, fourcc_in, modifier, &input_fb);igt_assert (ret >=0 );
@@ -82,7 +87,6 @@ static bool check_writeback_config(igt_display_t *display, igt_output_t *output, writeback_format, modifier, &output_fb);igt_assert (ret >=0 ); - plane =igt_output_get_plane_type (output,DRM_PLANE_TYPE_PRIMARY );igt_plane_set_fb (plane, &input_fb);igt_output_set_writeback_fb (output, &output_fb);
@@ -519,6 +523,7 @@ igt_mainconst char *name; } formats[] = { { DRM_FORMAT_XRGB8888, DRM_FORMAT_XRGB8888, "XR24-XR24" }, + { DRM_FORMAT_XRGB2101010, DRM_FORMAT_XRGB2101010, "XR30-XR30" }, }; igt_display_t display;
Signature · 1 line
2.46.0
PATCH v5 19/37 tests/kms_colorop: Skip if writeback does not support fourcc
In reply to Harry Wentland--- tests/kms_colorop.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+)
tests/kms_colorop.c +15 -0
@@ -69,6 +69,10 @@ static bool check_writeback_config(igt_display_t *display, igt_output_t *output,uint32_t writeback_format = fourcc_out;uint64_t modifier =DRM_FORMAT_MOD_LINEAR ;int width, height, ret; +drmModePropertyBlobRes *wb_formats_blob; +int i; +__u32 *format; +bool found_format = false;igt_output_override_mode (output, &override_mode);
@@ -83,6 +87,17 @@ static bool check_writeback_config(igt_display_t *display, igt_output_t *output, fourcc_in, modifier, &input_fb);igt_assert (ret >=0 ); +/* check writeback formats */ + wb_formats_blob =get_writeback_formats_blob (output); + format = wb_formats_blob->data; + +for (i =0 ; i < wb_formats_blob->length /4 ; i++) +if (fourcc_out == format[i]) + found_format = true; + +igt_skip_on_f (!found_format, +"writeback doesn't support fourcc format %x\n" , fourcc_out); + ret =igt_create_fb (display->drm_fd, width, height, writeback_format, modifier, &output_fb);igt_assert (ret >=0 );
Signature · 1 line
2.46.0
PATCH v5 20/37 lib/igt_fb: Allow any non-planar format for igt_copy_fb
In reply to Harry WentlandThe function is able to handle any non-planar format. It's been tested for XRGB8888 and XRGB2101010 so far but should work for a wider range of formats.
--- lib/igt_fb.c | 4 ---- 1 file changed, 4 deletions(-)
lib/igt_fb.c +0 -4
@@ -2166,10 +2166,6 @@ unsigned int igt_copy_fb(int fd, struct igt_fb *src, struct igt_fb *fb)if (src->num_planes !=1 )return -EINVAL ; -/* TODO expand for other formats */ -if (src->drm_format !=DRM_FORMAT_XRGB8888 ) -return -EINVAL ; - fb_id =igt_create_fb (fd, src->width, src->height, src->drm_format, src->modifier, fb);
Signature · 1 line
2.46.0
PATCH v5 21/37 kms/colorop: Do proper setup and cleanup
In reply to Harry WentlandWe need to ensure framebuffers get removed and crcts detached when tests fail, otherwise consecutive test runs might fail.
--- tests/kms_colorop.c | 139 +++++++++++++++++++++++++------------------- 1 file changed, 78 insertions(+), 61 deletions(-)
tests/kms_colorop.c +78 -61
@@ -390,52 +390,20 @@ static void apply_transforms(kms_colorop_t *colorops[], igt_fb_t *sw_transform_f }static void colorop_plane_test (igt_display_t *display, +igt_output_t *output, +igt_plane_t *plane, +igt_fb_t *input_fb, +igt_fb_t *output_fb,__u32 fourcc_in,__u32 fourcc_out,kms_colorop_t *colorops[]) {igt_colorop_t *color_pipeline =NULL ; -igt_output_t *output; -igt_plane_t *plane; -igt_fb_t input_fb;igt_fb_t sw_transform_fb; -igt_fb_t output_fb; -drmModeModeInfo mode; -unsigned int fb_id;igt_crc_t input_crc, output_crc; +int res; - output =kms_writeback_get_output (display, fourcc_in, fourcc_out); -igt_require (output); - -if (output->use_override_mode) -memcpy (&mode, &output->override_mode,sizeof (mode)); -else -memcpy (&mode, &output->config.default_mode,sizeof (mode)); - -/* create input fb */ - plane =igt_output_get_plane_type (output,DRM_PLANE_TYPE_PRIMARY ); -igt_assert (plane); - - fb_id =igt_create_color_pattern_fb (display->drm_fd, - mode.hdisplay, mode.vdisplay, - fourcc_in,DRM_FORMAT_MOD_LINEAR , -0.2 ,0.2 ,0.2 , &input_fb); -igt_assert (fb_id >=0 ); -igt_plane_set_fb (plane, &input_fb); -#if DUMP_FBS -igt_dump_fb (display, &input_fb,"." ,"input" ); -#endif - -/* create output fb */ - fb_id =igt_create_fb (display->drm_fd, mode.hdisplay, mode.vdisplay, - fourcc_in, -igt_fb_mod_to_tiling (0 ), - &output_fb); -igt_require (fb_id >0 ); - -igt_fb_get_fnv1a_crc (&input_fb, &input_crc); - -igt_require (igt_plane_has_prop (plane,IGT_PLANE_COLOR_PIPELINE )); +igt_fb_get_fnv1a_crc (input_fb, &input_crc);/* reset color pipeline*/
@@ -443,8 +411,8 @@ static void colorop_plane_test(igt_display_t *display,set_color_pipeline_bypass (plane);/* Commit */ -igt_plane_set_fb (plane, &input_fb); -igt_output_set_writeback_fb (output, &output_fb); +igt_plane_set_fb (plane, input_fb); +igt_output_set_writeback_fb (output, output_fb); igt_display_commit_atomic(output->display, DRM_MODE_ATOMIC_ALLOW_MODESET,
@@ -452,14 +420,15 @@ static void colorop_plane_test(igt_display_t *display,get_and_wait_out_fence (output);/* Compare input and output buffers. They should be equal here. */ -igt_fb_get_fnv1a_crc (&output_fb, &output_crc); +igt_fb_get_fnv1a_crc (output_fb, &output_crc);igt_assert_crc_equal (&input_crc, &output_crc);/* create sw transformed buffer */ + res =igt_copy_fb (display->drm_fd, input_fb, &sw_transform_fb); +igt_assert_lte (0 , res); -igt_copy_fb (display->drm_fd, &input_fb, &sw_transform_fb); -igt_assert (igt_cmp_fb_pixels (&input_fb, &sw_transform_fb,0 ,0 )); +igt_assert (igt_cmp_fb_pixels (input_fb, &sw_transform_fb,0 ,0 ));apply_transforms (colorops, &sw_transform_fb);#if DUMP_FBS
@@ -480,7 +449,7 @@ static void colorop_plane_test(igt_display_t *display,set_color_pipeline (display, plane, colorops, color_pipeline); } -igt_output_set_writeback_fb (output, &output_fb); +igt_output_set_writeback_fb (output, output_fb);/* commit COLOR_PIPELINE */ igt_display_commit_atomic(display,
@@ -488,28 +457,24 @@ static void colorop_plane_test(igt_display_t *display, NULL);get_and_wait_out_fence (output);#if DUMP_FBS -igt_dump_fb (display, &output_fb,"." ,"output" ); +igt_dump_fb (display, output_fb,"." ,"output" );#endif /* compare sw transformed and KMS transformed FBs */ -igt_assert (compare_with_bracket (&sw_transform_fb, &output_fb)); +igt_assert (compare_with_bracket (&sw_transform_fb, output_fb));/* reset color pipeline*/ set_color_pipeline_bypass (plane);/* Commit */ -igt_plane_set_fb (plane, &input_fb); -igt_output_set_writeback_fb (output, &output_fb); +igt_plane_set_fb (plane, input_fb); +igt_output_set_writeback_fb (output, output_fb);igt_display_commit_atomic (output->display,DRM_MODE_ATOMIC_ALLOW_MODESET ,NULL );get_and_wait_out_fence (output); -/* cleanup */ -detach_crtc (display, output); -igt_remove_fb (display->drm_fd, &input_fb); -igt_remove_fb (display->drm_fd, &output_fb); } igt_main
@@ -561,17 +526,69 @@ igt_mainigt_display_require (&display, display.drm_fd);igt_require (display.is_atomic); - }for (j =0 ; j <sizeof (formats) /sizeof (formats[0 ]); j++) { -for (i =0 ; i <sizeof (tests) /sizeof (tests[0 ]); i++) { -igt_describe ("Bla bla bla" ); - igt_subtest_f("plane-%s-%s", formats[j].name, tests[i].name) -colorop_plane_test (&display, - formats[j].fourcc_in, - formats[j].fourcc_out, - tests[i].colorops); +igt_output_t *output; +igt_plane_t *plane; +igt_fb_t input_fb, output_fb; +unsigned int fb_id; +drmModeModeInfo mode; + + igt_subtest_group { + igt_fixture { + output =kms_writeback_get_output (&display, + formats[j].fourcc_in, + formats[j].fourcc_out); +igt_require (output); + +if (output->use_override_mode) +memcpy (&mode, &output->override_mode,sizeof (mode)); +else +memcpy (&mode, &output->config.default_mode,sizeof (mode)); + +/* create input fb */ + plane =igt_output_get_plane_type (output,DRM_PLANE_TYPE_PRIMARY ); +igt_assert (plane); +igt_require (igt_plane_has_prop (plane,IGT_PLANE_COLOR_PIPELINE )); + + fb_id =igt_create_color_pattern_fb (display.drm_fd, + mode.hdisplay, mode.vdisplay, + formats[j].fourcc_in,DRM_FORMAT_MOD_LINEAR , +0.2 ,0.2 ,0.2 , &input_fb); +igt_assert (fb_id >=0 ); +igt_plane_set_fb (plane, &input_fb); +#if DUMP_FBS +igt_dump_fb (&display, &input_fb,"." ,"input" ); +#endif + +/* create output fb */ + fb_id =igt_create_fb (display.drm_fd, mode.hdisplay, mode.vdisplay, + formats[j].fourcc_in, +igt_fb_mod_to_tiling (0 ), + &output_fb); +igt_require (fb_id >0 ); + } + +for (i =0 ; i <sizeof (tests) /sizeof (tests[0 ]); i++) { +igt_describe ("Bla bla bla" ); + igt_subtest_f("plane-%s-%s", formats[j].name, tests[i].name) +colorop_plane_test (&display, + output, + plane, + &input_fb, + &output_fb, + formats[j].fourcc_in, + formats[j].fourcc_out, + tests[i].colorops); + } + + igt_fixture { +detach_crtc (&display, output); +igt_remove_fb (display.drm_fd, &input_fb); +igt_remove_fb (display.drm_fd, &output_fb); + + } } }igt_describe ("Tests getting and setting COLOR_PIPELINE property on plane" );
@@ -584,8 +601,8 @@ igt_main }#endif igt_fixture { -igt_display_fini (&display); +drm_close_driver (display.drm_fd); } }
Signature · 1 line
2.46.0
PATCH v5 22/37 lib/igt_color: Support color transform for XRGB2101010
In reply to Harry Wentland--- lib/igt_color.c | 113 ++++++++++++++++++++++++++++++------------------ 1 file changed, 70 insertions(+), 43 deletions(-)
lib/igt_color.c +70 -43
@@ -126,6 +126,74 @@ void igt_color_ctm_3x4_bt709_dec(igt_pixel_t *pixel)igt_color_apply_3x4_ctm (pixel, &igt_matrix_3x4_bt709_dec); } +static void +igt_color_fourcc_to_pixel (uint32_t raw_pixel,uint32_t drm_format,igt_pixel_t *pixel) +{ +if (drm_format ==DRM_FORMAT_XRGB8888 ) { + raw_pixel &=0x00ffffff ; + + pixel->r = (raw_pixel &0x00ff0000 ) >>16 ; + pixel->g = (raw_pixel &0x0000ff00 ) >>8 ; + pixel->b = (raw_pixel &0x000000ff ); + +/* normalize for 8-bit */ + pixel->r /= (0xff ); + pixel->g /= (0xff ); + pixel->b /= (0xff ); + }else if (drm_format ==DRM_FORMAT_XRGB2101010 ) { + raw_pixel &=0x3fffffff ; + + pixel->r = (raw_pixel &0x3ff00000 ) >>20 ; + pixel->g = (raw_pixel &0x000ffc00 ) >>10 ; + pixel->b = (raw_pixel &0x000003ff ); + +/* normalize for 10-bit */ + pixel->r /= (0x3ff ); + pixel->g /= (0x3ff ); + pixel->b /= (0x3ff ); + }else { +igt_skip ("pixel format support not implemented" ); + } +} + +static uint32_t +igt_color_pixel_to_fourc (uint32_t drm_format,igt_pixel_t *pixel) +{ +uint32_t raw_pixel; + +/* clip */ + pixel->r =fmax (fmin (pixel->r,1.0 ),0.0 ); + pixel->g =fmax (fmin (pixel->g,1.0 ),0.0 ); + pixel->b =fmax (fmin (pixel->b,1.0 ),0.0 ); + +if (drm_format ==DRM_FORMAT_XRGB8888 ) { +/* de-normalize back to 8-bit */ + pixel->r *= (0xff ); + pixel->g *= (0xff ); + pixel->b *= (0xff ); + +/* re-pack pixel into FB*/ + raw_pixel =0x0 ; + raw_pixel |= ((uint8_t ) (lround (pixel->r) &0xff )) <<16 ; + raw_pixel |= ((uint8_t ) (lround (pixel->g) &0xff )) <<8 ; + raw_pixel |= ((uint8_t ) (lround (pixel->b) &0xff )); + }else if (drm_format ==DRM_FORMAT_XRGB2101010 ) { +/* de-normalize back to 10-bit */ + pixel->r *= (0x3ff ); + pixel->g *= (0x3ff ); + pixel->b *= (0x3ff ); + +/* re-pack pixel into FB*/ + raw_pixel =0x0 ; + raw_pixel |= (lround (pixel->r) &0x3ff ) <<20 ; + raw_pixel |= (lround (pixel->g) &0x3ff ) <<10 ; + raw_pixel |= (lround (pixel->b) &0x3ff ); + }else { +igt_skip ("pixel format support not implemented" ); + } + +return raw_pixel; +}int igt_color_transform_pixels (igt_fb_t *fb,igt_pixel_transform transforms[],int num_transforms) {
@@ -138,10 +206,6 @@ int igt_color_transform_pixels(igt_fb_t *fb, igt_pixel_transform transforms[], iif (fb->num_planes !=1 )return -EINVAL ; -/* TODO expand for other formats */ -if (fb->drm_format !=DRM_FORMAT_XRGB8888 ) -return -EINVAL ; - ptr =igt_fb_map_buffer (fb->fd, fb);igt_assert (ptr); map = ptr;
@@ -167,51 +231,14 @@ int igt_color_transform_pixels(igt_fb_t *fb, igt_pixel_transform transforms[], iigt_pixel_t pixel;int i; - raw_pixel &=0x00ffffff ; - -/* -* unpack pixel into igt_pixel_t -* -* only for XRGB8888 for now -* -* TODO add "generic" mechanism for unpacking -* other FB formats -*/ - pixel.r = (raw_pixel &0x00ff0000 ) >>16 ; - pixel.g = (raw_pixel &0x0000ff00 ) >>8 ; - pixel.b = (raw_pixel &0x000000ff ); - -/* normalize for 8-bit */ - pixel.r /= (0xff ); - pixel.g /= (0xff ); - pixel.b /= (0xff ); - -/* TODO use read_rgb from igt_fb? */ +igt_color_fourcc_to_pixel (raw_pixel, fb->drm_format, &pixel);/* run transform on pixel */ -for (i =0 ; i < num_transforms; i++) transforms[i](&pixel); -/* clip */ - pixel.r =fmax (fmin (pixel.r,1.0 ),0.0 ); - pixel.g =fmax (fmin (pixel.g,1.0 ),0.0 ); - pixel.b =fmax (fmin (pixel.b,1.0 ),0.0 ); - -/* de-normalize back to 8-bit */ - pixel.r *= (0xff ); - pixel.g *= (0xff ); - pixel.b *= (0xff ); - -/* re-pack pixel into FB*/ - raw_pixel =0x0 ; - raw_pixel |= ((uint8_t ) (lround (pixel.r) &0xff )) <<16 ; - raw_pixel |= ((uint8_t ) (lround (pixel.g) &0xff )) <<8 ; - raw_pixel |= ((uint8_t ) (lround (pixel.b) &0xff )); -/* TODO use write_rgb from igt_fb? */ -/* write back to line */ - line[x] =cpu_to_le32 (raw_pixel); + line[x] =cpu_to_le32 (igt_color_pixel_to_fourc (fb->drm_format, &pixel)); }/* copy line back to fb buffer */
Signature · 1 line
2.46.0
PATCH v5 23/37 tests/kms_colorop: Set wide [13, 13] bracket for comparison on amdgpu
In reply to Harry WentlandSetting a fairly wide delta for now, to pass tests. Note that since tests run with 10 bpc surfaces on amdgpu a wider bracket isn't unreasonable. Still, this should be investigated to reduce the delta.
--- tests/kms_colorop.c | 2 ++ 1 file changed, 2 insertions(+)
tests/kms_colorop.c +2 -0
@@ -354,6 +354,8 @@ static bool compare_with_bracket(igt_fb_t *in, igt_fb_t *out) {if (is_vkms_device (in->fd))return igt_cmp_fb_pixels (in, out,1 ,1 ); +if (is_amdgpu_device (in->fd)) +return igt_cmp_fb_pixels (in, out,13 ,13 );else /* * By default we'll look for a [0, 0] bracket. We can then
Signature · 1 line
2.46.0
PATCH v5 24/37 lib/igt_color: Add PQ variants for 0-1 and 0-125 range
In reply to Harry WentlandAdd PQ SW transforms. The most obvious to do the PQ EOTF is to transform [0.0, 1.0] non-linear values to [0.0, 1.0] linear values, and same in the inverse. So we add transforms that do this.
Some HW (like AMD's) has scaling baked into the PQ EOTF and will scale [0.0, 1.0] non-linear values to [0.0, 125.0] linear values when applying the PQ EOTF. The inverse will take [0.0, 125.0] linear values and output [0.0, 1.0] linear values. We're adding a transform that can handle this variant as well.
--- lib/igt_color.c | 81 +++++++++++++++++++++++++++++++++++++++++++------ lib/igt_color.h | 13 ++++++++ 2 files changed, 84 insertions(+), 10 deletions(-)
lib/igt_color.c +71 -10
@@ -20,6 +20,13 @@ static float clamp(float val, float min, float max)return ((val < min) ? min : ((val > max) ? max : val)); } +static void igt_color_multiply (igt_pixel_t *pixel,float multiplier) +{ + pixel->r *= multiplier; + pixel->g *= multiplier; + pixel->b *= multiplier; +} +static float igt_color_tf_eval_unclamped (const struct igt_color_tf *fn,float x) {if (x < fn->d)
@@ -51,24 +58,78 @@ static void tf_inverse(const struct igt_color_tf *fn, struct igt_color_tf *inv) } } -void igt_color_srgb_inv_eotf (igt_pixel_t *pixel) +static float pq_eval (const struct igt_color_tf_pq *pq,float x) +{ +return powf (fmaxf (pq->A + pq->B *powf (x, pq->C),0 ) + / (pq->D + pq->E *powf (x, pq->C)), + pq->F); +} + +static void pq_inv (struct igt_color_tf_pq *inv) +{ + inv->A = -pq_eotf.A; + inv->B = pq_eotf.D; + inv->C =1.0f / pq_eotf.F; + inv->D = pq_eotf.B; + inv->E = -pq_eotf.E; + inv->F =1.0f / pq_eotf.C; +} + +static void igt_color_tf (igt_pixel_t *pixel,const struct igt_color_tf *tf) +{ + pixel->r =igt_color_tf_eval (tf, pixel->r); + pixel->g =igt_color_tf_eval (tf, pixel->g); + pixel->b =igt_color_tf_eval (tf, pixel->b); +} + +static void igt_color_inv_tf (igt_pixel_t *pixel,const struct igt_color_tf *tf) {struct igt_color_tf inv; -tf_inverse (&srgb_eotf, &inv); - - pixel->r =igt_color_tf_eval (&inv, pixel->r); - pixel->g =igt_color_tf_eval (&inv, pixel->g); - pixel->b =igt_color_tf_eval (&inv, pixel->b); +tf_inverse (tf, &inv); +igt_color_tf (pixel, &inv); } - +static void tf_pq (igt_pixel_t *pixel,const struct igt_color_tf_pq *pq) +{ + pixel->r =pq_eval (pq, pixel->r); + pixel->g =pq_eval (pq, pixel->g); + pixel->b =pq_eval (pq, pixel->b); +}void igt_color_srgb_eotf (igt_pixel_t *pixel) { - pixel->r =igt_color_tf_eval (&srgb_eotf, pixel->r); - pixel->g =igt_color_tf_eval (&srgb_eotf, pixel->g); - pixel->b =igt_color_tf_eval (&srgb_eotf, pixel->b); +igt_color_tf (pixel, &srgb_eotf); +} + +void igt_color_srgb_inv_eotf (igt_pixel_t *pixel) +{ +igt_color_inv_tf (pixel, &srgb_eotf); +} + +void igt_color_pq_eotf (igt_pixel_t *pixel) +{ +tf_pq (pixel, &pq_eotf); +} + +void igt_color_pq_inv_eotf (igt_pixel_t *pixel) +{ +struct igt_color_tf_pq inv; + +pq_inv (&inv); +tf_pq (pixel, &inv); +} + +void igt_color_pq_125_eotf (igt_pixel_t *pixel) +{ +igt_color_pq_eotf (pixel); +igt_color_multiply (pixel,125.0f ); +} + +void igt_color_pq_125_inv_eotf (igt_pixel_t *pixel) +{ +igt_color_multiply (pixel,1 /125.0f ); +igt_color_pq_inv_eotf (pixel); }static void igt_color_apply_3x4_ctm (igt_pixel_t *pixel,const igt_matrix_3x4_t *matrix)
lib/igt_color.h +13 -0
@@ -19,8 +19,15 @@ struct igt_color_tf {float g, a,b,c,d,e,f; }; +struct igt_color_tf_pq { +float A, B, C, D, E, F, G; +}; + +const struct igt_color_tf srgb_eotf = {2.4f , (float )(1 /1.055 ), (float )(0.055 /1.055 ), (float )(1 /12.92 ),0.04045f ,0 ,0 }; +const struct igt_color_tf_pq pq_eotf = {-107 /128.0f ,1.0f ,32 /2523.0f ,2413 /128.0f ,-2392 /128.0f ,8192 /1305.0f }; + typedef struct igt_pixel { float r; float g;
@@ -104,6 +111,12 @@ void igt_colorop_set_ctm_3x4(igt_display_t *display,void igt_color_srgb_inv_eotf (igt_pixel_t *pixel);void igt_color_srgb_eotf (igt_pixel_t *pixel); +void igt_color_pq_inv_eotf (igt_pixel_t *pixel); +void igt_color_pq_eotf (igt_pixel_t *pixel); + +void igt_color_pq_125_inv_eotf (igt_pixel_t *pixel); +void igt_color_pq_125_eotf (igt_pixel_t *pixel); +void igt_color_ctm_3x4_50_desat (igt_pixel_t *pixel);void igt_color_ctm_3x4_overdrive (igt_pixel_t *pixel);void igt_color_ctm_3x4_oversaturate (igt_pixel_t *pixel);
Signature · 1 line
2.46.0
PATCH v5 25/37 tests/kms_colorop: Add tests for PQ variants
In reply to Harry WentlandAdd tests exercising the PQ EOTF and its inverse, both for the [0.0, 1.0] variant as well as the [0.0, 125.0] scaled variant.
--- tests/kms_colorop.c | 32 ++++++++++++++----------- tests/kms_colorop.h | 57 +++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 76 insertions(+), 13 deletions(-)
tests/kms_colorop.c +19 -13
@@ -49,6 +49,13 @@* @srgb_eotf: sRGB EOTF * @srgb_inv_eotf: sRGB Inverse EOTF * @srgb_eotf-srgb_inv_eotf: sRGB EOTF -> sRGB Inverse EOTF +* @pq_eotf: PQ EOTF +* @pq_inv_eotf: PQ Inverse EOTF +* @pq_eotf-pq_inv_eotf: PQ EOTF -> PQ Inverse EOTF +* @pq_125_eotf: PQ EOTF for [0.0, 125.0] optical range +* @pq_125_inv_eotf: PQ Inverse EOTF for [0.0, 125.0] optical range +* @pq_125_eotf-pq_125_inv_eotf: PQ EOTF -> PQ Inverse EOTF with [0.0, 125.0] optical range +* @pq_125_eotf-pq_125_inv_eotf-pq_125_eotf: PQ EOTF -> PQ Inverse EOTF -> PQ EOTF with [0.0, 125.0] optical range * @ctm_3x4_50_desat: 3x4 matrix doing a 50% desaturation * @ctm_3x4_overdrive: 3x4 matrix overdring all values by 50% * @ctm_3x4_oversaturate: 3x4 matrix oversaturating values
@@ -213,7 +220,10 @@ static bool can_use_colorop(igt_display_t *display, igt_colorop_t *colorop, kms_ {switch (desired->type) {case KMS_COLOROP_ENUMERATED_LUT1D : -return (igt_colorop_get_prop (display, colorop,IGT_COLOROP_TYPE ) ==DRM_COLOROP_1D_CURVE ); +if (igt_colorop_get_prop (display, colorop,IGT_COLOROP_TYPE ) ==DRM_COLOROP_1D_CURVE && +igt_colorop_try_prop_enum (colorop,IGT_COLOROP_CURVE_1D_TYPE , kms_colorop_lut1d_tf_names[desired->enumerated_lut1d_info.tf])) +return true; +return false;case KMS_COLOROP_CTM_3X4 :return (igt_colorop_get_prop (display, colorop,IGT_COLOROP_TYPE ) ==DRM_COLOROP_CTM_3X4 );case KMS_COLOROP_CUSTOM_LUT1D :
@@ -293,18 +303,7 @@ static void set_colorop(igt_display_t *display,/* TODO set to desired value from kms_colorop_t */ switch (colorop->type) {case KMS_COLOROP_ENUMERATED_LUT1D : -switch (colorop->enumerated_lut1d_info.tf) { -case KMS_COLOROP_LUT1D_SRGB_EOTF : -igt_colorop_set_prop_enum (colorop->colorop,IGT_COLOROP_CURVE_1D_TYPE ,"sRGB EOTF" ); -break ; -case KMS_COLOROP_LUT1D_SRGB_INV_EOTF : -igt_colorop_set_prop_enum (colorop->colorop,IGT_COLOROP_CURVE_1D_TYPE ,"sRGB Inverse EOTF" ); -break ; -case KMS_COLOROP_LUT1D_PQ_EOTF : -case KMS_COLOROP_LUT1D_PQ_INV_EOTF : -default : -igt_fail (IGT_EXIT_FAILURE ); - } +igt_colorop_set_prop_enum (colorop->colorop,IGT_COLOROP_CURVE_1D_TYPE , kms_colorop_lut1d_tf_names[colorop->enumerated_lut1d_info.tf]);break ;case KMS_COLOROP_CTM_3X4 :igt_colorop_set_ctm_3x4 (display, colorop->colorop, colorop->matrix_3x4);
@@ -490,6 +489,13 @@ igt_main { { &kms_colorop_srgb_eotf, NULL }, "srgb_eotf" }, { { &kms_colorop_srgb_inv_eotf, NULL }, "srgb_inv_eotf" }, { { &kms_colorop_srgb_eotf, &kms_colorop_srgb_inv_eotf, NULL }, "srgb_eotf-srgb_inv_eotf" }, + { { &kms_colorop_pq_eotf, NULL }, "pq_eotf" }, + { { &kms_colorop_pq_inv_eotf, NULL }, "pq_inv_eotf" }, + { { &kms_colorop_pq_eotf, &kms_colorop_pq_inv_eotf, NULL }, "pq_eotf-pq_inv_eotf" }, + { { &kms_colorop_pq_125_eotf, NULL }, "pq_125_eotf" }, + { { &kms_colorop_pq_125_inv_eotf, NULL }, "pq_125_inv_eotf" }, + { { &kms_colorop_pq_125_eotf, &kms_colorop_pq_125_inv_eotf, NULL }, "pq_125_eotf-pq_125_inv_eotf" }, + { { &kms_colorop_pq_125_eotf, &kms_colorop_pq_125_inv_eotf, &kms_colorop_pq_125_eotf_2, NULL }, "pq_125_eotf-pq_125_inv_eotf-pq_125_eotf" }, { { &kms_colorop_ctm_3x4_50_desat, NULL }, "ctm_3x4_50_desat" }, { { &kms_colorop_ctm_3x4_overdrive, NULL }, "ctm_3x4_overdrive" }, { { &kms_colorop_ctm_3x4_oversaturate, NULL }, "ctm_3x4_oversaturate" },
tests/kms_colorop.h +57 -0
71 lines not on this page · raw message
Signature · 1 line
2.46.0
PATCH v5 26/37 lib/igt_kms: increase MAX_NUM_COLOROPS to 128
In reply to Harry WentlandFrom: Alex Hung <[email protected]>
--- lib/igt_kms.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
lib/igt_kms.c +1 -1
@@ -90,7 +90,7 @@#define MAX_CONNECTORS 32#define MAX_EDID 2#define DISPLAY_TILE_BLOCK 0x12 -#define MAX_NUM_COLOROPS 32 +#define MAX_NUM_COLOROPS 128typedef bool (*igt_connector_attr_set )(int dir,const char *attr,const char *value);
Signature · 1 line
2.46.0
PATCH v5 27/37 tests/kms_colorop: Add a sRGB test for EOTF -> Inverse EOTF -> EOTF
In reply to Harry WentlandFrom: Alex Hung <[email protected]>
--- tests/kms_colorop.c | 40 +++++++++++++++++++++------------------- tests/kms_colorop.h | 9 +++++++++ 2 files changed, 30 insertions(+), 19 deletions(-)
tests/kms_colorop.c +21 -19
@@ -40,29 +40,30 @@* * arg[1]: * -* @XR24-XR24: XRGB8888 framebuffer and writeback buffer -* @XR30-XR30: XRGB8888 framebuffer and writeback buffer +* @XR24-XR24: XRGB8888 framebuffer and writeback buffer +* @XR30-XR30: XRGB8888 framebuffer and writeback buffer * * arg[2]: * -* @bypass: Bypass Color Pipeline -* @srgb_eotf: sRGB EOTF -* @srgb_inv_eotf: sRGB Inverse EOTF -* @srgb_eotf-srgb_inv_eotf: sRGB EOTF -> sRGB Inverse EOTF -* @pq_eotf: PQ EOTF -* @pq_inv_eotf: PQ Inverse EOTF -* @pq_eotf-pq_inv_eotf: PQ EOTF -> PQ Inverse EOTF -* @pq_125_eotf: PQ EOTF for [0.0, 125.0] optical range -* @pq_125_inv_eotf: PQ Inverse EOTF for [0.0, 125.0] optical range -* @pq_125_eotf-pq_125_inv_eotf: PQ EOTF -> PQ Inverse EOTF with [0.0, 125.0] optical range +* @bypass: Bypass Color Pipeline +* @srgb_eotf: sRGB EOTF +* @srgb_inv_eotf: sRGB Inverse EOTF +* @srgb_eotf-srgb_inv_eotf: sRGB EOTF -> sRGB Inverse EOTF +* @srgb_eotf-srgb_inv_eotf-srgb_eotf: sRGB EOTF -> sRGB Inverse EOTF -> sRGB EOTF +* @pq_eotf: PQ EOTF +* @pq_inv_eotf: PQ Inverse EOTF +* @pq_eotf-pq_inv_eotf: PQ EOTF -> PQ Inverse EOTF +* @pq_125_eotf: PQ EOTF for [0.0, 125.0] optical range +* @pq_125_inv_eotf: PQ Inverse EOTF for [0.0, 125.0] optical range +* @pq_125_eotf-pq_125_inv_eotf: PQ EOTF -> PQ Inverse EOTF with [0.0, 125.0] optical range * @pq_125_eotf-pq_125_inv_eotf-pq_125_eotf: PQ EOTF -> PQ Inverse EOTF -> PQ EOTF with [0.0, 125.0] optical range -* @ctm_3x4_50_desat: 3x4 matrix doing a 50% desaturation -* @ctm_3x4_overdrive: 3x4 matrix overdring all values by 50% -* @ctm_3x4_oversaturate: 3x4 matrix oversaturating values -* @ctm_3x4_bt709_enc: BT709 encoding matrix -* @ctm_3x4_bt709_dec: BT709 decoding matrix -* @ctm_3x4_bt709_enc_dec: BT709 encoding matrix, followed by decoding matrix -* @ctm_3x4_bt709_dec_enc: BT709 decoding matrix, followed by encoding matrix +* @ctm_3x4_50_desat: 3x4 matrix doing a 50% desaturation +* @ctm_3x4_overdrive: 3x4 matrix overdring all values by 50% +* @ctm_3x4_oversaturate: 3x4 matrix oversaturating values +* @ctm_3x4_bt709_enc: BT709 encoding matrix +* @ctm_3x4_bt709_dec: BT709 decoding matrix +* @ctm_3x4_bt709_enc_dec: BT709 encoding matrix, followed by decoding matrix +* @ctm_3x4_bt709_dec_enc: BT709 decoding matrix, followed by encoding matrix * */
@@ -489,6 +490,7 @@ igt_main { { &kms_colorop_srgb_eotf, NULL }, "srgb_eotf" }, { { &kms_colorop_srgb_inv_eotf, NULL }, "srgb_inv_eotf" }, { { &kms_colorop_srgb_eotf, &kms_colorop_srgb_inv_eotf, NULL }, "srgb_eotf-srgb_inv_eotf" }, + { { &kms_colorop_srgb_eotf, &kms_colorop_srgb_inv_eotf, &kms_colorop_srgb_eotf_2, NULL }, "srgb_eotf-srgb_inv_eotf-srgb_eotf" }, { { &kms_colorop_pq_eotf, NULL }, "pq_eotf" }, { { &kms_colorop_pq_inv_eotf, NULL }, "pq_inv_eotf" }, { { &kms_colorop_pq_eotf, &kms_colorop_pq_inv_eotf, NULL }, "pq_eotf-pq_inv_eotf" },
tests/kms_colorop.h +9 -0
@@ -88,6 +88,15 @@ kms_colorop_t kms_colorop_srgb_eotf = { .transform = &igt_color_srgb_eotf }; +kms_colorop_t kms_colorop_srgb_eotf_2 = { + .type =KMS_COLOROP_ENUMERATED_LUT1D , + .enumerated_lut1d_info = { + .tf =KMS_COLOROP_LUT1D_SRGB_EOTF + }, + .name ="srgb_eotf" , + .transform = &igt_color_srgb_eotf +}; +kms_colorop_t kms_colorop_srgb_inv_eotf = { .type =KMS_COLOROP_ENUMERATED_LUT1D , .enumerated_lut1d_info = {
Signature · 1 line
2.46.0
PATCH v5 28/37 lib/igt_color: add BT2020/BT709 transfer functions
In reply to Harry WentlandBT.709 and BT.2020 transfer functions are identical, the only difference beind that BT.2020 is defined with a higher precision for 10 and 12 bpc encodings.
These transfer functions are defined as OETFs, not EOTFs, so we create functions for them as OETF and its inverse.
--- lib/igt_color.c | 10 ++++++++++ lib/igt_color.h | 4 ++++ 2 files changed, 14 insertions(+)
lib/igt_color.c +10 -0
@@ -107,6 +107,16 @@ void igt_color_srgb_inv_eotf(igt_pixel_t *pixel)igt_color_inv_tf (pixel, &srgb_eotf); } +void igt_color_bt2020_inv_oetf (igt_pixel_t *pixel) +{ +igt_color_tf (pixel, &bt2020_inv_oetf); +} + +void igt_color_bt2020_oetf (igt_pixel_t *pixel) +{ +igt_color_inv_tf (pixel, &bt2020_inv_oetf); +} +void igt_color_pq_eotf (igt_pixel_t *pixel) {tf_pq (pixel, &pq_eotf);
lib/igt_color.h +4 -0
@@ -25,6 +25,7 @@ struct igt_color_tf_pq {const struct igt_color_tf srgb_eotf = {2.4f , (float )(1 /1.055 ), (float )(0.055 /1.055 ), (float )(1 /12.92 ),0.04045f ,0 ,0 }; +const struct igt_color_tf bt2020_inv_oetf = {(float )(1 /0.45f ), (float )(1 /1.0993f ), (float )(0.0993f /1.0993f ), (float )(1 /4.5f ), (float )(0.081 ),0 ,0 };const struct igt_color_tf_pq pq_eotf = {-107 /128.0f ,1.0f ,32 /2523.0f ,2413 /128.0f ,-2392 /128.0f ,8192 /1305.0f };
@@ -117,6 +118,9 @@ void igt_color_pq_eotf(igt_pixel_t *pixel);void igt_color_pq_125_inv_eotf (igt_pixel_t *pixel);void igt_color_pq_125_eotf (igt_pixel_t *pixel); +void igt_color_bt2020_inv_oetf (igt_pixel_t *pixel); +void igt_color_bt2020_oetf (igt_pixel_t *pixel); +void igt_color_ctm_3x4_50_desat (igt_pixel_t *pixel);void igt_color_ctm_3x4_overdrive (igt_pixel_t *pixel);void igt_color_ctm_3x4_oversaturate (igt_pixel_t *pixel);
Signature · 1 line
2.46.0
PATCH v5 29/37 tests/kms_colorop: Add tests for BT2020/BT709 TFs
In reply to Harry Wentland--- tests/kms_colorop.c | 6 ++++++ tests/kms_colorop.h | 22 ++++++++++++++++++++++ 2 files changed, 28 insertions(+)
tests/kms_colorop.c +6 -0
@@ -50,6 +50,9 @@* @srgb_inv_eotf: sRGB Inverse EOTF * @srgb_eotf-srgb_inv_eotf: sRGB EOTF -> sRGB Inverse EOTF * @srgb_eotf-srgb_inv_eotf-srgb_eotf: sRGB EOTF -> sRGB Inverse EOTF -> sRGB EOTF +* @bt2020_inv_oetf: BT.2020 Inverse OETF +* @bt2020_oetf: BT.2020 OETF +* @bt2020_inv_oetf-bt2020_oetf: BT.2020 Inverse OETF > BT.2020 OETF * @pq_eotf: PQ EOTF * @pq_inv_eotf: PQ Inverse EOTF * @pq_eotf-pq_inv_eotf: PQ EOTF -> PQ Inverse EOTF
@@ -491,6 +494,9 @@ igt_main { { &kms_colorop_srgb_inv_eotf, NULL }, "srgb_inv_eotf" }, { { &kms_colorop_srgb_eotf, &kms_colorop_srgb_inv_eotf, NULL }, "srgb_eotf-srgb_inv_eotf" }, { { &kms_colorop_srgb_eotf, &kms_colorop_srgb_inv_eotf, &kms_colorop_srgb_eotf_2, NULL }, "srgb_eotf-srgb_inv_eotf-srgb_eotf" }, + { { &kms_colorop_bt2020_inv_oetf, NULL }, "bt2020_inv_oetf" }, + { { &kms_colorop_bt2020_oetf, NULL }, "bt2020_oetf" }, + { { &kms_colorop_bt2020_inv_oetf, &kms_colorop_bt2020_oetf, NULL }, "bt2020_inv_oetf-bt2020_oetf" }, { { &kms_colorop_pq_eotf, NULL }, "pq_eotf" }, { { &kms_colorop_pq_inv_eotf, NULL }, "pq_inv_eotf" }, { { &kms_colorop_pq_eotf, &kms_colorop_pq_inv_eotf, NULL }, "pq_eotf-pq_inv_eotf" },
tests/kms_colorop.h +22 -0
@@ -42,6 +42,8 @@ typedef enum kms_colorop_type { typedef enum kms_colorop_lut1d_tf { KMS_COLOROP_LUT1D_SRGB_EOTF, KMS_COLOROP_LUT1D_SRGB_INV_EOTF, + KMS_COLOROP_LUT1D_BT2020_INV_OETF, + KMS_COLOROP_LUT1D_BT2020_OETF, KMS_COLOROP_LUT1D_PQ_EOTF, KMS_COLOROP_LUT1D_PQ_INV_EOTF, KMS_COLOROP_LUT1D_PQ_125_EOTF,
@@ -52,6 +54,8 @@ typedef enum kms_colorop_lut1d_tf {const char *const kms_colorop_lut1d_tf_names[KMS_COLOROP_LUT1D_NUM_ENUMS ] = { [KMS_COLOROP_LUT1D_SRGB_EOTF ] ="sRGB EOTF" , [KMS_COLOROP_LUT1D_SRGB_INV_EOTF ] ="sRGB Inverse EOTF" , + [KMS_COLOROP_LUT1D_BT2020_INV_OETF ] ="BT.2020 Inverse OETF" , + [KMS_COLOROP_LUT1D_BT2020_OETF ] ="BT.2020 OETF" , [KMS_COLOROP_LUT1D_PQ_EOTF ] ="PQ EOTF" , [KMS_COLOROP_LUT1D_PQ_INV_EOTF ] ="PQ Inverse EOTF" , [KMS_COLOROP_LUT1D_PQ_125_EOTF ] ="PQ 125 EOTF" ,
@@ -106,6 +110,24 @@ kms_colorop_t kms_colorop_srgb_inv_eotf = { .transform = &igt_color_srgb_inv_eotf }; +kms_colorop_t kms_colorop_bt2020_inv_oetf = { + .type =KMS_COLOROP_ENUMERATED_LUT1D , + .enumerated_lut1d_info = { + .tf =KMS_COLOROP_LUT1D_BT2020_INV_OETF + }, + .name ="bt2020_inv_oetf" , + .transform = &igt_color_bt2020_inv_oetf +}; + +kms_colorop_t kms_colorop_bt2020_oetf = { + .type =KMS_COLOROP_ENUMERATED_LUT1D , + .enumerated_lut1d_info = { + .tf =KMS_COLOROP_LUT1D_BT2020_OETF + }, + .name ="bt2020_oetf" , + .transform = &igt_color_bt2020_oetf +}; +kms_colorop_t kms_colorop_pq_eotf = { .type =KMS_COLOROP_ENUMERATED_LUT1D , .enumerated_lut1d_info = {
Signature · 1 line
2.46.0
PATCH v5 30/37 lib/igt_color: Add 1D LUT color transformation support
In reply to Harry WentlandFrom: Alex Hung <[email protected]>
Add definitions and functions for setting 1D LUT on a drm_colorop.
Add support for the SIZE prop of a colorop, as that's required for understanding the size of the LUT to construct.
--- lib/igt_color.c | 8 ++++++++ lib/igt_color.h | 20 ++++++++++++++++++++ lib/igt_kms.c | 1 + lib/igt_kms.h | 1 + 4 files changed, 30 insertions(+)
lib/igt_color.c +8 -0
@@ -440,3 +440,11 @@ void igt_colorop_set_ctm_3x4(igt_display_t *display,/* set blob property */ igt_colorop_replace_prop_blob (colorop,IGT_COLOROP_DATA , &ctm,sizeof (ctm)); } + +void igt_colorop_set_custom_1dlut (igt_display_t *display, +igt_colorop_t *colorop, +const igt_1dlut_t *lut1d, +const size_t lut_size) +{ +igt_colorop_replace_prop_blob (colorop,IGT_COLOROP_DATA , lut1d, lut_size); +}
lib/igt_color.h +20 -0
@@ -15,6 +15,8 @@#include "igt_fb.h" #include "igt_kms.h" +#define MAX_COLOR_LUT_ENTRIES 4096 +struct igt_color_tf {float g, a,b,c,d,e,f; };
@@ -35,6 +37,17 @@ typedef struct igt_pixel {float b; } igt_pixel_t; +typedef struct igt_1dlut { +struct drm_color_lut lut[MAX_COLOR_LUT_ENTRIES ]; +}igt_1dlut_t ; + +igt_1dlut_t igt_1dlut_srgb_inv_eotf = { { +} }; + + +igt_1dlut_t igt_1dlut_srgb_eotf = { { +} }; + typedef struct igt_matrix_3x4 { /* * out matrix in
@@ -107,11 +120,18 @@ void igt_colorop_set_ctm_3x4(igt_display_t *display,igt_colorop_t *colorop, const igt_matrix_3x4_t *matrix); +void igt_colorop_set_custom_1dlut (igt_display_t *display, +igt_colorop_t *colorop, +const igt_1dlut_t *lut1d, +const size_t lut_size); +/* transformations */ void igt_color_srgb_inv_eotf (igt_pixel_t *pixel);void igt_color_srgb_eotf (igt_pixel_t *pixel); +void igt_color_srgb_inv_eotf_custom_lut (igt_pixel_t *pixel); +void igt_color_pq_inv_eotf (igt_pixel_t *pixel);void igt_color_pq_eotf (igt_pixel_t *pixel);
lib/igt_kms.c +1 -0
@@ -695,6 +695,7 @@ const char * const igt_colorop_prop_names[IGT_NUM_COLOROP_PROPS] = { [IGT_COLOROP_TYPE] = "TYPE", [IGT_COLOROP_BYPASS] = "BYPASS", [IGT_COLOROP_CURVE_1D_TYPE] = "CURVE_1D_TYPE", + [IGT_COLOROP_SIZE] = "SIZE", [IGT_COLOROP_DATA] = "DATA", [IGT_COLOROP_NEXT] = "NEXT", };
lib/igt_kms.h +1 -0
@@ -353,6 +353,7 @@ enum igt_atomic_colorop_properties {IGT_COLOROP_TYPE ,IGT_COLOROP_BYPASS ,IGT_COLOROP_CURVE_1D_TYPE , +IGT_COLOROP_SIZE ,IGT_COLOROP_DATA ,IGT_COLOROP_NEXT ,IGT_NUM_COLOROP_PROPS
Signature · 1 line
2.46.0
PATCH v5 31/37 test/kms_colorop: Add tests that exercise the 1D LUT colorops
In reply to Harry WentlandFrom: Alex Hung <[email protected]>
We'll use the sRGB EOTF and its inverse for convenience.
--- tests/kms_colorop.c | 35 +++++++++++++++++++++++++++++++++++ tests/kms_colorop.h | 15 +++++++++++++++ 2 files changed, 50 insertions(+)
tests/kms_colorop.c +35 -0
@@ -50,6 +50,8 @@* @srgb_inv_eotf: sRGB Inverse EOTF * @srgb_eotf-srgb_inv_eotf: sRGB EOTF -> sRGB Inverse EOTF * @srgb_eotf-srgb_inv_eotf-srgb_eotf: sRGB EOTF -> sRGB Inverse EOTF -> sRGB EOTF +* @srgb_inv_eotf_lut: sRGB Inverse EOTF Custom LUT +* @srgb_inv_eotf_lut-srgb_eotf_lut: sRGB Inverse EOTF Custom LUT -> sRGB EOTF Custom LUT * @bt2020_inv_oetf: BT.2020 Inverse OETF * @bt2020_oetf: BT.2020 OETF * @bt2020_inv_oetf-bt2020_oetf: BT.2020 Inverse OETF > BT.2020 OETF
@@ -231,6 +233,9 @@ static bool can_use_colorop(igt_display_t *display, igt_colorop_t *colorop, kms_case KMS_COLOROP_CTM_3X4 :return (igt_colorop_get_prop (display, colorop,IGT_COLOROP_TYPE ) ==DRM_COLOROP_CTM_3X4 );case KMS_COLOROP_CUSTOM_LUT1D : +if (igt_colorop_get_prop (display, colorop,IGT_COLOROP_TYPE ) ==DRM_COLOROP_1D_LUT ) +return true; +return false;case KMS_COLOROP_LUT3D :default :return false;
@@ -298,9 +303,33 @@ static igt_colorop_t *get_color_pipeline(igt_display_t *display,return colorop; } +static void fill_custom_1dlut (igt_display_t *display,kms_colorop_t *colorop) +{ +uint64_t lut_size =igt_colorop_get_prop (display, colorop->colorop,IGT_COLOROP_SIZE ); +igt_pixel_t pixel; +float index; +int i; + +for (i =0 ; i < lut_size; i++) { + index = i / (float ) lut_size; + + pixel.r = index; + pixel.g = index; + pixel.b = index; + + colorop->transform (&pixel); + + colorop->lut1d->lut[i].red = pixel.r *0xffff ; + colorop->lut1d->lut[i].green = pixel.g *0xffff ; + colorop->lut1d->lut[i].blue = pixel.b *0xffff ; + } +} +static void set_colorop (igt_display_t *display,kms_colorop_t *colorop) { +uint64_t lut_size =0 ; +igt_assert (colorop->colorop);igt_colorop_set_prop_value (colorop->colorop,IGT_COLOROP_BYPASS ,0 );
@@ -313,6 +342,10 @@ static void set_colorop(igt_display_t *display,igt_colorop_set_ctm_3x4 (display, colorop->colorop, colorop->matrix_3x4);break ;case KMS_COLOROP_CUSTOM_LUT1D : +fill_custom_1dlut (display, colorop); + lut_size =igt_colorop_get_prop (display, colorop->colorop,IGT_COLOROP_SIZE ); +igt_colorop_set_custom_1dlut (display, colorop->colorop, colorop->lut1d, lut_size *sizeof (struct drm_color_lut )); +break ;case KMS_COLOROP_LUT3D :default :igt_fail (IGT_EXIT_FAILURE );
@@ -494,6 +527,8 @@ igt_main { { &kms_colorop_srgb_inv_eotf, NULL }, "srgb_inv_eotf" }, { { &kms_colorop_srgb_eotf, &kms_colorop_srgb_inv_eotf, NULL }, "srgb_eotf-srgb_inv_eotf" }, { { &kms_colorop_srgb_eotf, &kms_colorop_srgb_inv_eotf, &kms_colorop_srgb_eotf_2, NULL }, "srgb_eotf-srgb_inv_eotf-srgb_eotf" }, + { { &kms_colorop_srgb_inv_eotf_lut, NULL }, "srgb_inv_eotf_lut" }, + { { &kms_colorop_srgb_inv_eotf_lut, &kms_colorop_srgb_eotf_lut, NULL }, "srgb_inv_eotf_lut-srgb_eotf_lut" }, { { &kms_colorop_bt2020_inv_oetf, NULL }, "bt2020_inv_oetf" }, { { &kms_colorop_bt2020_oetf, NULL }, "bt2020_oetf" }, { { &kms_colorop_bt2020_inv_oetf, &kms_colorop_bt2020_oetf, NULL }, "bt2020_inv_oetf-bt2020_oetf" },
tests/kms_colorop.h +15 -0
@@ -71,6 +71,7 @@ typedef struct kms_colorop {union {kms_colorop_enumerated_lut1d_info_t enumerated_lut1d_info; +igt_1dlut_t *lut1d;const igt_matrix_3x4_t *matrix_3x4; };
@@ -110,6 +111,20 @@ kms_colorop_t kms_colorop_srgb_inv_eotf = { .transform = &igt_color_srgb_inv_eotf }; +kms_colorop_t kms_colorop_srgb_inv_eotf_lut = { + .type =KMS_COLOROP_CUSTOM_LUT1D , + .lut1d = &igt_1dlut_srgb_inv_eotf, + .name ="srgb_inv_eotf_lut" , + .transform = &igt_color_srgb_inv_eotf +}; + +kms_colorop_t kms_colorop_srgb_eotf_lut = { + .type =KMS_COLOROP_CUSTOM_LUT1D , + .lut1d = &igt_1dlut_srgb_eotf, + .name ="srgb_eotf_lut" , + .transform = &igt_color_srgb_eotf +}; +kms_colorop_t kms_colorop_bt2020_inv_oetf = { .type =KMS_COLOROP_ENUMERATED_LUT1D , .enumerated_lut1d_info = {
Signature · 1 line
2.46.0
PATCH v5 32/37 tests/kms_colorop: Add multiplier tests
In reply to Harry WentlandFrom: Alex Hung <[email protected]>
This includes multiply_125 (125.0f) and multiply_inv_125 (1/125.0f).
--- include/drm-uapi/drm_mode.h | 1 + lib/igt_color.c | 10 ++++++++++ lib/igt_color.h | 2 ++ lib/igt_kms.c | 1 + lib/igt_kms.h | 1 + tests/kms_colorop.c | 11 +++++++++++ tests/kms_colorop.h | 15 +++++++++++++++ 7 files changed, 41 insertions(+)
include/drm-uapi/drm_mode.h +1 -0
@@ -878,6 +878,7 @@ enum drm_colorop_type {DRM_COLOROP_1D_CURVE ,DRM_COLOROP_1D_LUT ,DRM_COLOROP_CTM_3X4 , + DRM_COLOROP_MULTIPLIER, };/**
lib/igt_color.c +10 -0
@@ -197,6 +197,16 @@ void igt_color_ctm_3x4_bt709_dec(igt_pixel_t *pixel)igt_color_apply_3x4_ctm (pixel, &igt_matrix_3x4_bt709_dec); } +void igt_color_multiply_125 (igt_pixel_t *pixel) +{ +igt_color_multiply (pixel,125.0f ); +} + +void igt_color_multiply_inv_125 (igt_pixel_t *pixel) +{ +igt_color_multiply (pixel,1 /125.0f ); +} +static void igt_color_fourcc_to_pixel (uint32_t raw_pixel,uint32_t drm_format,igt_pixel_t *pixel) {
lib/igt_color.h +2 -0
@@ -147,5 +147,7 @@ void igt_color_ctm_3x4_oversaturate(igt_pixel_t *pixel);void igt_color_ctm_3x4_bt709_dec (igt_pixel_t *pixel);void igt_color_ctm_3x4_bt709_enc (igt_pixel_t *pixel); +void igt_color_multiply_125 (igt_pixel_t *pixel); +void igt_color_multiply_inv_125 (igt_pixel_t *pixel);#endif
lib/igt_kms.c +1 -0
@@ -697,6 +697,7 @@ const char * const igt_colorop_prop_names[IGT_NUM_COLOROP_PROPS] = { [IGT_COLOROP_CURVE_1D_TYPE] = "CURVE_1D_TYPE", [IGT_COLOROP_SIZE] = "SIZE", [IGT_COLOROP_DATA] = "DATA", + [IGT_COLOROP_MULTIPLIER] = "MULTIPLIER", [IGT_COLOROP_NEXT] = "NEXT", };
lib/igt_kms.h +1 -0
@@ -355,6 +355,7 @@ enum igt_atomic_colorop_properties {IGT_COLOROP_CURVE_1D_TYPE ,IGT_COLOROP_SIZE ,IGT_COLOROP_DATA , +IGT_COLOROP_MULTIPLIER ,IGT_COLOROP_NEXT , IGT_NUM_COLOROP_PROPS };
tests/kms_colorop.c +11 -0
@@ -69,6 +69,8 @@* @ctm_3x4_bt709_dec: BT709 decoding matrix * @ctm_3x4_bt709_enc_dec: BT709 encoding matrix, followed by decoding matrix * @ctm_3x4_bt709_dec_enc: BT709 decoding matrix, followed by encoding matrix +* @multiply_125: Multiplier by 125 +* @multiply_inv_125: Multiplier by inverse of 125 * */
@@ -236,6 +238,8 @@ static bool can_use_colorop(igt_display_t *display, igt_colorop_t *colorop, kms_if (igt_colorop_get_prop (display, colorop,IGT_COLOROP_TYPE ) ==DRM_COLOROP_1D_LUT )return true;return false; +case KMS_COLOROP_MULTIPLIER : +return (igt_colorop_get_prop (display, colorop,IGT_COLOROP_TYPE ) ==DRM_COLOROP_MULTIPLIER );case KMS_COLOROP_LUT3D :default :return false;
@@ -329,6 +333,7 @@ static void set_colorop(igt_display_t *display, kms_colorop_t *colorop) {uint64_t lut_size =0 ; +uint64_t mult =1 ;igt_assert (colorop->colorop);igt_colorop_set_prop_value (colorop->colorop,IGT_COLOROP_BYPASS ,0 );
@@ -346,6 +351,10 @@ static void set_colorop(igt_display_t *display, lut_size =igt_colorop_get_prop (display, colorop->colorop,IGT_COLOROP_SIZE );igt_colorop_set_custom_1dlut (display, colorop->colorop, colorop->lut1d, lut_size *sizeof (struct drm_color_lut ));break ; +case KMS_COLOROP_MULTIPLIER : + mult = colorop->multiplier * (mult <<32 );/* convert double to fixed number */ +igt_colorop_set_prop_value (colorop->colorop,IGT_COLOROP_MULTIPLIER , mult); +break ;case KMS_COLOROP_LUT3D :default :igt_fail (IGT_EXIT_FAILURE );
@@ -546,6 +555,8 @@ igt_main { { &kms_colorop_ctm_3x4_bt709_dec, NULL }, "ctm_3x4_bt709_dec" }, { { &kms_colorop_ctm_3x4_bt709_enc, &kms_colorop_ctm_3x4_bt709_dec, NULL }, "ctm_3x4_bt709_enc_dec" }, { { &kms_colorop_ctm_3x4_bt709_dec, &kms_colorop_ctm_3x4_bt709_enc, NULL }, "ctm_3x4_bt709_dec_enc" }, + { { &kms_colorop_multiply_125, NULL }, "multiply_125" }, + { { &kms_colorop_multiply_inv_125, NULL }, "multiply_inv_125" }, }; struct {
tests/kms_colorop.h +15 -0
@@ -36,6 +36,7 @@ typedef enum kms_colorop_type {KMS_COLOROP_ENUMERATED_LUT1D ,KMS_COLOROP_CUSTOM_LUT1D ,KMS_COLOROP_CTM_3X4 , +KMS_COLOROP_MULTIPLIER , KMS_COLOROP_LUT3D } kms_colorop_type_t;
@@ -73,6 +74,7 @@ typedef struct kms_colorop {kms_colorop_enumerated_lut1d_info_t enumerated_lut1d_info;igt_1dlut_t *lut1d;const igt_matrix_3x4_t *matrix_3x4; +double multiplier; };const char *name;
@@ -223,5 +225,18 @@ kms_colorop_t kms_colorop_ctm_3x4_bt709_dec = { .transform = &igt_color_ctm_3x4_bt709_dec }; +kms_colorop_t kms_colorop_multiply_125 = { + .type =KMS_COLOROP_MULTIPLIER , + .multiplier =125.0f , + .name ="multiply_125" , + .transform = &igt_color_multiply_125 +}; + +kms_colorop_t kms_colorop_multiply_inv_125 = { + .type =KMS_COLOROP_MULTIPLIER , + .multiplier =1 /125.0f , + .name ="multiply_inv_125" , + .transform = &igt_color_multiply_inv_125 +};#endif /* __KMS_COLOROP_H__ */
Signature · 1 line
2.46.0
PATCH v5 33/37 lib/igt_color: Point license header at skia license
In reply to Harry Wentland--- lib/igt_color.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
lib/igt_color.c +3 -1
@@ -3,7 +3,9 @@* Copyright 2023 Advanced Micro Devices, Inc. * * This file contains code adapted from Skia, which is -* Copyright (c) 2011 Google Inc. All rights reserved. +* distributed under a BSD-style license which can be +* found at +* https://skia.googlesource.com/skia.git/+/refs/heads/main/LICENSE */ #include <errno.h>
Signature · 1 line
2.46.0
PATCH v5 34/37 scripts/convert_3dlut.py Convert a 3D LUT to igt_3dlut_t array for 3D LUT API
In reply to Harry WentlandFrom: Alex Hung <[email protected]>
This script converts a 17x17x17 3D LUT in a txt file to the following (i.e. 4913 entries):
{ .red = 0.000000, .green = 0.000000, .blue = 0.000000 },
{ .red = 0.175580, .green = 0.003419, .blue = 0.006838 },
{ .red = 0.338706, .green = 0.015140, .blue = 0.012454 },
...The text file should contains 3 column (RGB) in following form:
0000 0000 0000 0255 0307 0606 0225 0306 0893 ...
--- scripts/convert_3dlut.py | 94 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 94 insertions(+) create mode 100755 scripts/convert_3dlut.py
scripts/convert_3dlut.py new file +94 -0
@@ -0,0 +1,94 @@ +#!/usr/bin/env python3 +# SPDX-License-Identifier: (GPL-2.0 OR MIT) + +## Copyright (C) 2024 Advanced Micro Devices, Inc. ## +## Author: Alex Hung <[email protected]> ## + +import sys, os, argparse +import numpy as np +import pprint + +import pprint + +class Color: + def __init__(self, r, g, b): + self.r = r + self.g = g + self.b = b + def __str__(self): + r = self.r + g = self.g + b = self.b + rgb = "\t{ " + ".red = {0:05f}, .green = {1:05f}, .blue = {2:05f}".format(r, g, b) + " }," + return rgb + +def print_lut(ind, lut): + for i, v in enumerate(lut): + if (i - ind) % (17 * 17) == 0: + print(str(i) + " " + v) + #print(v) + +def parse_lut_file(file_path, max_value=4095): + lut = [] + + try: + with open(file_path, "r") as file: + for line in file: + values = line.strip().split() # Split values by spaces or tabs + if len(values) == 3: + r, g, b = map(float, values) # Convert to floats + r = r / max_value + g = g / max_value + b = b / max_value + color = Color(r, g, b) + lut.append(color) + else: + print(f"Skipping invalid line: '{line.strip()}'") + except FileNotFoundError: + print(f"File '{file_path}' not found.") + + return lut + +def fill_3d_array(lut, size=17): + lut3d = np.zeros((size, size, size), dtype=object) + + for i in range(size): + for j in range(size): + for k in range(size): + index = i * (size ** 2) + j * size + k + color = lut[index] + lut3d[i][j][k] = color + return lut3d + +def print_3d_array_rgb(lut3d, size=17): + for i in range(size): + for j in range(size): + for k in range(size): + print(lut3d[i][j][k]) + +def print_3d_array_bgr(lut3d, size=17): + for i in range(size): + for j in range(size): + for k in range(size): + print(lut3d[k][j][i]) + +def main(): + + parser = argparse.ArgumentParser(description='Convert integer values in a 3D LUT file to IGT format.') + parser.add_argument("-f", "--input", help="3D LUT file", required=True) + parser.add_argument("-t", "--traversal", help="traversal order", required=True) + args = parser.parse_args() + + lut = parse_lut_file(args.input) + lut3d = fill_3d_array(lut) + + if args.traversal.lower() == "rgb": + print_3d_array_rgb(lut3d) + elif args.traversal.lower() == "bgr": + print_3d_array_bgr(lut3d) + + return 0 + +if __name__ == "__main__": + ret = main() + sys.exit(ret)
Signature · 1 line
2.46.0
PATCH v5 35/37 tests/kms_colorop: Add 3D LUT subtests
In reply to Harry WentlandFrom: Alex Hung <[email protected]>
This includes two subtests 3dlut_17_12_rgb and 3dlut_17_12_bgr.
--- include/drm-uapi/drm_mode.h | 50 + lib/igt_color.c | 191 + lib/igt_color.h | 9 + lib/igt_color_lut.h | 9866 +++++++++++++++++++++++++++++++++++ lib/igt_kms.c | 2 + lib/igt_kms.h | 2 + tests/kms_colorop.c | 46 +- tests/kms_colorop.h | 33 + 8 files changed, 10198 insertions(+), 1 deletion(-) create mode 100644 lib/igt_color_lut.h
include/drm-uapi/drm_mode.h +50 -0
@@ -879,6 +879,56 @@ enum drm_colorop_type {DRM_COLOROP_1D_LUT ,DRM_COLOROP_CTM_3X4 ,DRM_COLOROP_MULTIPLIER , + DRM_COLOROP_3D_LUT, +}; + +enum drm_colorop_interpolation_type { +DRM_COLOROP_TETRAHEDRAL , +}; + +enum drm_colorop_traversal_order { +DRM_COLOROP_TRAVERSAL_RGB , +DRM_COLOROP_TRAVERSAL_BGR , +}; + +struct drm_mode_3dlut_mode { +/** +* @lut_size: 3D LUT size - can be 9, 17 or 33 +*/ +__u16 lut_size; +/** +* @lut_stride: dimensions of 3D LUT. Must be larger than lut_size +*/ +__u16 lut_stride[3 ]; +/** +* @interpolation: interpolation algorithm for 3D LUT. See drm_colorop_interpolation_type +*/ +__u16 interpolation; +/** +* @color_depth: color depth - can be 8, 10 or 12 +*/ +__u16 color_depth; +/** +* @color_format: color format specifieid by fourcc values +* ex. DRM_FORMAT_XRGB16161616 - color in order of RGB, each is 16bit. +*/ +__u32 color_format; +/** +* @traversal_order: RGB color placement in 3D array, lut3d[R][G][B] or lut3d[B][G][R] +* ex. for a 3D array with size of 17 - +* DRM_COLOROP_TRAVERSAL_RGB is traversd by +* for R in range 0..16 +* for G in range 0..16 +* for B in range 0..16 +* color = lut3d[R][G][B] +* +* DRM_COLOROP_TRAVERSAL_BGR is traversd by +* for R in range 0..16 +* for G in range 0..16 +* for B in range 0..16 +* color = lut3d[B][G][R] +*/ +__u16 traversal_order; };/**
lib/igt_color.c +191 -0
202 lines not on this page · raw message
lib/igt_color.h +9 -0
@@ -14,6 +14,7 @@#include "igt_fb.h" #include "igt_kms.h" +#include "igt_color_lut.h" #define MAX_COLOR_LUT_ENTRIES 4096
@@ -125,6 +126,12 @@ void igt_colorop_set_custom_1dlut(igt_display_t *display,const igt_1dlut_t *lut1d, const size_t lut_size); +void igt_colorop_set_3dlut (igt_display_t *display, +igt_colorop_t *colorop, +const igt_3dlut_norm_t *lut3d, +const size_t lut_size); + +/* transformations */ void igt_color_srgb_inv_eotf (igt_pixel_t *pixel);
@@ -149,5 +156,7 @@ void igt_color_ctm_3x4_bt709_enc(igt_pixel_t *pixel);void igt_color_multiply_125 (igt_pixel_t *pixel);void igt_color_multiply_inv_125 (igt_pixel_t *pixel); +void igt_color_3dlut_17_12_rgb (igt_pixel_t *pixel); +void igt_color_3dlut_17_12_bgr (igt_pixel_t *pixel);#endif
lib/igt_color_lut.h new file +9866 -0
2,715 lines not on this page · raw message
tests/kms_colorop.c +45 -1
46 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
Signature · 1 line
2.46.0
Part of the diff is not shown here. View the raw message.
PATCH v5 36/37 drm-uapi: Update kernel doc for drm_colorop_type
In reply to Harry WentlandFrom: Alex Hung <[email protected]>
Sync up with kernel documents.
--- include/drm-uapi/drm_mode.h | 44 +++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+)
include/drm-uapi/drm_mode.h +44 -0
@@ -874,11 +874,55 @@ struct drm_color_lut {__u16 reserved; }; +/** +* enum drm_colorop_type - Type of color operation +* +* +* drm_colorops can be of many different types. Each type behaves differently +* and defines a different set of properties. This enum defines all types and +* gives a high-level description. +*/ enum drm_colorop_type { +/** +* @DRM_COLOROP_1D_CURVE: +* +* A 1D curve that is being applied to all color channels. The +* curve is specified via tha CURVE_1D_TYPE colorop property. +*/ DRM_COLOROP_1D_CURVE , + +/** +* @DRM_COLOROP_1D_LUT: +* +* A simple 1D LUT of uniformly spaced &drm_color_lut entries, +* packed into a blob via the DATA property. The driver's expected +* LUT size is advertised via the SIZE property. +*/ DRM_COLOROP_1D_LUT , + +/** +* @DRM_COLOROP_CTM_3X4: +* +* A 3x4 matrix. Its values are specified via the +* &drm_color_ctm_3x4 struct provided via the DATA property. +*/ DRM_COLOROP_CTM_3X4 , + +/** +* @DRM_COLOROP_MULTIPLIER: +* +* A simple multiplier, applied to all color values. The +* multiplier is specified as a S31.32 via the MULTIPLIER +* property. +*/ DRM_COLOROP_MULTIPLIER , +/** +* @DRM_COLOROP_3D_LUT: +* +* A 3D LUT of &drm_color_lut entries, +* packed into a blob via the DATA property. The driver's expected +* LUT size is advertised via the SIZE property. +*/ DRM_COLOROP_3D_LUT , };
Signature · 1 line
2.46.0
PATCH v5 37/37 drm-uapi: Sync up definition with kernel colorop implementation
In reply to Harry WentlandFrom: Alex Hung <[email protected]>
Add drm_colorop_lut1d_interpolation_type to IGT.
--- include/drm-uapi/drm_mode.h | 13 +++++++++++++ 1 file changed, 13 insertions(+)
include/drm-uapi/drm_mode.h +13 -0
@@ -975,6 +975,19 @@ struct drm_mode_3dlut_mode {__u16 traversal_order; }; +/** +* enum drm_colorop_lut1d_interpolation_type - type of interpolation for 1D LUTs +*/ +enum drm_colorop_lut1d_interpolation_type { +/** +* @DRM_COLOROP_LUT1D_INTERPOLATION_LINEAR: +* +* Linear interpolation. Values between points of the LUT will be +* linearly interpolated. +*/ +DRM_COLOROP_LUT1D_INTERPOLATION_LINEAR , +}; +/** * struct hdr_metadata_infoframe - HDR Metadata Infoframe Data. *
Signature · 1 line
2.46.0
Patchwork
CI✓ CI.xeBAT: success for IGT tests for the KMS Color Pipeline API (rev6)
In reply to Harry Wentland== Series Details ==
== Series Details ==
Series: IGT tests for the KMS Color Pipeline API (rev6)
URL : https://patchwork.freedesktop.org/series/123448/
State : success
== Summary ==
CI Bug Log - changes from XEIGT_7978_BAT -> XEIGTPW_11599_BAT
====================================================
Summary
-------
**SUCCESS**
No regressions found.
Participating hosts (9 -> 9)
------------------------------
No changes in participating hosts
Changes
-------
No changes found
Build changes
-------------
* IGT: IGT_7978 -> IGTPW_11599
IGTPW_11599: 11599
IGT_7978: 4083a9d8abc80c8a905ffdc20bc76383b1e07e79 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
xe-1798-4d24271792fac837e728f7bb6237a94ee46cc76e: 4d24271792fac837e728f7bb6237a94ee46cc76e
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11599/index.html
Patchwork
CI✗ Fi.CI.BAT: failure for IGT tests for the KMS Color Pipeline API (rev6)
In reply to Harry Wentland== Series Details ==
== Series Details ==
Series: IGT tests for the KMS Color Pipeline API (rev6)
URL : https://patchwork.freedesktop.org/series/123448/
State : failure
== Summary ==
CI Bug Log - changes from IGT_7978 -> IGTPW_11599
====================================================
Summary
-------
**FAILURE**
Serious unknown changes coming with IGTPW_11599 absolutely need to be verified manually.
If you think the reported changes have nothing to do with the changes
introduced in IGTPW_11599, please notify your bug team ([email protected]) to allow them to document this new failure mode, which will reduce false positives in CI.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11599/index.html
Participating hosts (41 -> 39)
------------------------------
Missing (2): bat-kbl-2 fi-snb-2520m
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in IGTPW_11599:
### IGT changes ###
#### Possible regressions ####
* igt@i915_selftest@live@client:
- bat-arlh-2: [PASS][1] -> [INCOMPLETE][2]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_7978/bat-arlh-2/igt@i915_selftest@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11599/bat-arlh-2/igt@i915_selftest@[email protected]
Known issues
------------
Here are the changes found in IGTPW_11599 that come from known issues:
### IGT changes ###
#### Possible fixes ####
* igt@i915_selftest@live@hangcheck:
- bat-arls-1: [DMESG-WARN][3] ([i915#11349] / [i915#11378]) -> [PASS][4]
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_7978/bat-arls-1/igt@i915_selftest@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11599/bat-arls-1/igt@i915_selftest@[email protected]
#### Warnings ####
* igt@kms_psr@psr-cursor-plane-move:
- bat-mtlp-6: [SKIP][5] ([i915#1072] / [i915#9673] / [i915#9732] / [i915#9792]) -> [SKIP][6] ([i915#1072] / [i915#9732] / [i915#9792]) +3 other tests skip
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_7978/bat-mtlp-6/igt@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11599/bat-mtlp-6/igt@[email protected]
* igt@kms_psr@psr-sprite-plane-onoff:
- bat-adlp-9: [SKIP][7] ([i915#1072] / [i915#9673] / [i915#9732]) -> [SKIP][8] ([i915#1072] / [i915#9732]) +3 other tests skip
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_7978/bat-adlp-9/igt@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11599/bat-adlp-9/igt@[email protected]
- bat-rplp-1: [SKIP][9] ([i915#1072] / [i915#9673] / [i915#9732]) -> [SKIP][10] ([i915#1072] / [i915#9732]) +3 other tests skip
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_7978/bat-rplp-1/igt@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11599/bat-rplp-1/igt@[email protected]
- bat-dg2-9: [SKIP][11] ([i915#1072] / [i915#9673] / [i915#9732]) -> [SKIP][12] ([i915#1072] / [i915#9732]) +3 other tests skip
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_7978/bat-dg2-9/igt@[email protected]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11599/bat-dg2-9/igt@[email protected]
- bat-adlp-11: [SKIP][13] ([i915#1072] / [i915#9673] / [i915#9732]) -> [SKIP][14] ([i915#1072] / [i915#9732]) +3 other tests skip
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_7978/bat-adlp-11/igt@[email protected]
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11599/bat-adlp-11/igt@[email protected]
- bat-dg2-8: [SKIP][15] ([i915#1072] / [i915#9673] / [i915#9732]) -> [SKIP][16] ([i915#1072] / [i915#9732]) +3 other tests skip
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_7978/bat-dg2-8/igt@[email protected]
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11599/bat-dg2-8/igt@[email protected]
- bat-adlm-1: [SKIP][17] ([i915#1072] / [i915#9673] / [i915#9732]) -> [SKIP][18] ([i915#1072] / [i915#9732]) +3 other tests skip
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_7978/bat-adlm-1/igt@[email protected]
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11599/bat-adlm-1/igt@[email protected]
[i915#1072]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/1072
[i915#11349]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/11349
[i915#11378]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/11378
[i915#9673]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/9673
[i915#9732]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/9732
[i915#9792]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/9792
Build changes
-------------
* CI: CI-20190529 -> None
* IGT: IGT_7978 -> IGTPW_11599
CI-20190529: 20190529
CI_DRM_15263: 4d24271792fac837e728f7bb6237a94ee46cc76e @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_11599: 11599
IGT_7978: 4083a9d8abc80c8a905ffdc20bc76383b1e07e79 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11599/index.html
Patchwork
CI✗ CI.xeFULL: failure for IGT tests for the KMS Color Pipeline API (rev6)
In reply to Harry Wentland== Series Details ==
== Series Details ==
Series: IGT tests for the KMS Color Pipeline API (rev6)
URL : https://patchwork.freedesktop.org/series/123448/
State : failure
== Summary ==
CI Bug Log - changes from XEIGT_7978_full -> XEIGTPW_11599_full
====================================================
Summary
-------
**FAILURE**
Serious unknown changes coming with XEIGTPW_11599_full absolutely need to be verified manually.
If you think the reported changes have nothing to do with the changes
introduced in XEIGTPW_11599_full, please notify your bug team ([email protected]) to allow them to document this new failure mode, which will reduce false positives in CI.
Participating hosts (4 -> 4)
------------------------------
No changes in participating hosts
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in XEIGTPW_11599_full:
### IGT changes ###
#### Possible regressions ####
* igt@kms_colorop@plane-xr24-xr24-bt2020_oetf (NEW):
- shard-lnl: NOTRUN -> [SKIP][1] +52 other tests skip
[1]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11599/shard-lnl-8/igt@kms_colorop@plane-xr24-xr24-bt2020_oetf.html
* igt@kms_colorop@plane-xr24-xr24-pq_eotf-pq_inv_eotf (NEW):
- {shard-bmg}: NOTRUN -> [SKIP][2] +55 other tests skip
[2]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11599/shard-bmg-7/igt@kms_colorop@plane-xr24-xr24-pq_eotf-pq_inv_eotf.html
* igt@kms_colorop@plane-xr30-xr30-pq_125_eotf (NEW):
- shard-dg2-set2: NOTRUN -> [SKIP][3] +8 other tests skip
[3]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11599/shard-dg2-432/igt@kms_colorop@plane-xr30-xr30-pq_125_eotf.html
* igt@kms_fb_coherency@memset-crc:
- shard-dg2-set2: [PASS][4] -> [CRASH][5] +1 other test crash
[4]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7978/shard-dg2-435/igt@[email protected]
[5]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11599/shard-dg2-435/igt@[email protected]
* igt@kms_fb_coherency@memset-crc@mmap-offset-wc:
- shard-lnl: [PASS][6] -> [CRASH][7] +1 other test crash
[6]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7978/shard-lnl-2/igt@kms_fb_coherency@[email protected]
[7]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11599/shard-lnl-8/igt@kms_fb_coherency@[email protected]
* igt@xe_exec_threads@threads-userptr:
- shard-dg2-set2: [PASS][8] -> [DMESG-WARN][9]
[8]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7978/shard-dg2-433/igt@[email protected]
[9]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11599/shard-dg2-434/igt@[email protected]
* igt@xe_pm@d3hot-mmap-vram:
- shard-dg2-set2: [PASS][10] -> [FAIL][11]
[10]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7978/shard-dg2-463/igt@[email protected]
[11]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11599/shard-dg2-432/igt@[email protected]
#### Suppressed ####
The following results come from untrusted machines, tests, or statuses. They do not affect the overall result.
* igt@kms_fb_coherency@memset-crc:
- {shard-bmg}: [PASS][12] -> [CRASH][13] +1 other test crash
[12]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7978/shard-bmg-8/igt@[email protected]
[13]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11599/shard-bmg-3/igt@[email protected]
* igt@kms_flip@2x-flip-vs-suspend-interruptible@ad-dp2-hdmi-a3:
- {shard-bmg}: [PASS][14] -> [INCOMPLETE][15]
[14]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7978/shard-bmg-6/igt@kms_flip@[email protected]
[15]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11599/shard-bmg-6/igt@kms_flip@[email protected]
New tests
---------
New tests have been introduced between XEIGT_7978_full and XEIGTPW_11599_full:
### New IGT tests (96) ###
* igt@kms_colorop@plane-xr24-xr24-3dlut_17_12_bgr:
- Statuses : 3 skip(s)
- Exec time: [0.0] s
* igt@kms_colorop@plane-xr24-xr24-3dlut_17_12_rgb:
- Statuses : 3 skip(s)
- Exec time: [0.0] s
* igt@kms_colorop@plane-xr24-xr24-bt2020_inv_oetf:
- Statuses : 3 skip(s)
- Exec time: [0.0] s
* igt@kms_colorop@plane-xr24-xr24-bt2020_inv_oetf-bt2020_oetf:
- Statuses : 3 skip(s)
- Exec time: [0.0] s
* igt@kms_colorop@plane-xr24-xr24-bt2020_oetf:
- Statuses : 3 skip(s)
- Exec time: [0.0] s
* igt@kms_colorop@plane-xr24-xr24-bypass:
- Statuses : 3 skip(s)
- Exec time: [0.0] s
* igt@kms_colorop@plane-xr24-xr24-ctm_3x4_50_desat:
- Statuses : 2 skip(s)
- Exec time: [0.0] s
* igt@kms_colorop@plane-xr24-xr24-ctm_3x4_bt709_dec:
- Statuses : 3 skip(s)
- Exec time: [0.0] s
* igt@kms_colorop@plane-xr24-xr24-ctm_3x4_bt709_dec_enc:
- Statuses : 2 skip(s)
- Exec time: [0.0] s
* igt@kms_colorop@plane-xr24-xr24-ctm_3x4_bt709_enc:
- Statuses : 3 skip(s)
- Exec time: [0.0] s
* igt@kms_colorop@plane-xr24-xr24-ctm_3x4_bt709_enc_dec:
- Statuses : 3 skip(s)
- Exec time: [0.0] s
* igt@kms_colorop@plane-xr24-xr24-ctm_3x4_overdrive:
- Statuses : 3 skip(s)
- Exec time: [0.0] s
* igt@kms_colorop@plane-xr24-xr24-ctm_3x4_oversaturate:
- Statuses : 3 skip(s)
- Exec time: [0.0] s
* igt@kms_colorop@plane-xr24-xr24-multiply_125:
- Statuses : 3 skip(s)
- Exec time: [0.0] s
* igt@kms_colorop@plane-xr24-xr24-multiply_inv_125:
- Statuses : 3 skip(s)
- Exec time: [0.0] s
* igt@kms_colorop@plane-xr24-xr24-pq_125_eotf:
- Statuses : 3 skip(s)
- Exec time: [0.0] s
* igt@kms_colorop@plane-xr24-xr24-pq_125_eotf-pq_125_inv_eotf:
- Statuses : 3 skip(s)
- Exec time: [0.0] s
* igt@kms_colorop@plane-xr24-xr24-pq_125_eotf-pq_125_inv_eotf-pq_125_eotf:
- Statuses : 3 skip(s)
- Exec time: [0.0] s
* igt@kms_colorop@plane-xr24-xr24-pq_125_inv_eotf:
- Statuses : 3 skip(s)
- Exec time: [0.0] s
* igt@kms_colorop@plane-xr24-xr24-pq_eotf:
- Statuses : 3 skip(s)
- Exec time: [0.0] s
* igt@kms_colorop@plane-xr24-xr24-pq_eotf-pq_inv_eotf:
- Statuses : 3 skip(s)
- Exec time: [0.0] s
* igt@kms_colorop@plane-xr24-xr24-pq_inv_eotf:
- Statuses : 3 skip(s)
- Exec time: [0.0] s
* igt@kms_colorop@plane-xr24-xr24-srgb_eotf:
- Statuses : 3 skip(s)
- Exec time: [0.0] s
* igt@kms_colorop@plane-xr24-xr24-srgb_eotf-srgb_inv_eotf:
- Statuses : 3 skip(s)
- Exec time: [0.0] s
* igt@kms_colorop@plane-xr24-xr24-srgb_eotf-srgb_inv_eotf-srgb_eotf:
- Statuses : 3 skip(s)
- Exec time: [0.0] s
* igt@kms_colorop@plane-xr24-xr24-srgb_inv_eotf:
- Statuses : 3 skip(s)
- Exec time: [0.0] s
* igt@kms_colorop@plane-xr24-xr24-srgb_inv_eotf_lut:
- Statuses : 2 skip(s)
- Exec time: [0.0] s
* igt@kms_colorop@plane-xr24-xr24-srgb_inv_eotf_lut-srgb_eotf_lut:
- Statuses : 3 skip(s)
- Exec time: [0.0] s
* igt@kms_colorop@plane-xr30-xr30-3dlut_17_12_bgr:
- Statuses : 3 skip(s)
- Exec time: [0.0] s
* igt@kms_colorop@plane-xr30-xr30-3dlut_17_12_rgb:
- Statuses : 3 skip(s)
- Exec time: [0.0] s
* igt@kms_colorop@plane-xr30-xr30-bt2020_inv_oetf:
- Statuses : 2 skip(s)
- Exec time: [0.0] s
* igt@kms_colorop@plane-xr30-xr30-bt2020_inv_oetf-bt2020_oetf:
- Statuses : 3 skip(s)
- Exec time: [0.0] s
* igt@kms_colorop@plane-xr30-xr30-bt2020_oetf:
- Statuses : 3 skip(s)
- Exec time: [0.0] s
* igt@kms_colorop@plane-xr30-xr30-bypass:
- Statuses : 3 skip(s)
- Exec time: [0.0] s
* igt@kms_colorop@plane-xr30-xr30-ctm_3x4_50_desat:
- Statuses : 3 skip(s)
- Exec time: [0.0] s
* igt@kms_colorop@plane-xr30-xr30-ctm_3x4_bt709_dec:
- Statuses : 3 skip(s)
- Exec time: [0.0] s
* igt@kms_colorop@plane-xr30-xr30-ctm_3x4_bt709_dec_enc:
- Statuses : 3 skip(s)
- Exec time: [0.0] s
* igt@kms_colorop@plane-xr30-xr30-ctm_3x4_bt709_enc:
- Statuses : 3 skip(s)
- Exec time: [0.0] s
* igt@kms_colorop@plane-xr30-xr30-ctm_3x4_bt709_enc_dec:
- Statuses : 2 skip(s)
- Exec time: [0.0] s
* igt@kms_colorop@plane-xr30-xr30-ctm_3x4_overdrive:
- Statuses : 3 skip(s)
- Exec time: [0.0] s
* igt@kms_colorop@plane-xr30-xr30-ctm_3x4_oversaturate:
- Statuses : 3 skip(s)
- Exec time: [0.0] s
* igt@kms_colorop@plane-xr30-xr30-multiply_125:
- Statuses : 3 skip(s)
- Exec time: [0.0] s
* igt@kms_colorop@plane-xr30-xr30-multiply_inv_125:
- Statuses : 3 skip(s)
- Exec time: [0.0] s
* igt@kms_colorop@plane-xr30-xr30-pq_125_eotf:
- Statuses : 3 skip(s)
- Exec time: [0.0] s
* igt@kms_colorop@plane-xr30-xr30-pq_125_eotf-pq_125_inv_eotf:
- Statuses : 3 skip(s)
- Exec time: [0.0] s
* igt@kms_colorop@plane-xr30-xr30-pq_125_eotf-pq_125_inv_eotf-pq_125_eotf:
- Statuses : 3 skip(s)
- Exec time: [0.0] s
* igt@kms_colorop@plane-xr30-xr30-pq_125_inv_eotf:
- Statuses : 3 skip(s)
- Exec time: [0.0] s
* igt@kms_colorop@plane-xr30-xr30-pq_eotf:
- Statuses : 3 skip(s)
- Exec time: [0.0] s
* igt@kms_colorop@plane-xr30-xr30-pq_eotf-pq_inv_eotf:
- Statuses : 3 skip(s)
- Exec time: [0.0] s
* igt@kms_colorop@plane-xr30-xr30-pq_inv_eotf:
- Statuses : 3 skip(s)
- Exec time: [0.0] s
* igt@kms_colorop@plane-xr30-xr30-srgb_eotf:
- Statuses : 3 skip(s)
- Exec time: [0.0] s
* igt@kms_colorop@plane-xr30-xr30-srgb_eotf-srgb_inv_eotf:
- Statuses : 3 skip(s)
- Exec time: [0.0] s
* igt@kms_colorop@plane-xr30-xr30-srgb_eotf-srgb_inv_eotf-srgb_eotf:
- Statuses : 3 skip(s)
- Exec time: [0.0] s
* igt@kms_colorop@plane-xr30-xr30-srgb_inv_eotf:
- Statuses : 2 skip(s)
- Exec time: [0.0] s
* igt@kms_colorop@plane-xr30-xr30-srgb_inv_eotf_lut:
- Statuses : 3 skip(s)
- Exec time: [0.0] s
* igt@kms_colorop@plane-xr30-xr30-srgb_inv_eotf_lut-srgb_eotf_lut:
- Statuses : 3 skip(s)
- Exec time: [0.0] s
* igt@kms_properties@colorop-properties-atomic:
- Statuses : 3 pass(s)
- Exec time: [1.26, 2.91] s
* igt@kms_properties@colorop-properties-atomic@pipe-a-dp-2:
- Statuses : 1 pass(s)
- Exec time: [0.16] s
* igt@kms_properties@colorop-properties-atomic@pipe-a-dp-4:
- Statuses : 1 pass(s)
- Exec time: [0.18] s
* igt@kms_properties@colorop-properties-atomic@pipe-a-edp-1:
- Statuses : 1 pass(s)
- Exec time: [0.41] s
* igt@kms_properties@colorop-properties-atomic@pipe-a-hdmi-a-3:
- Statuses : 1 pass(s)
- Exec time: [0.13] s
* igt@kms_properties@colorop-properties-atomic@pipe-a-hdmi-a-6:
- Statuses : 1 pass(s)
- Exec time: [0.20] s
* igt@kms_properties@colorop-properties-atomic@pipe-b-dp-2:
- Statuses : 1 pass(s)
- Exec time: [0.19] s
* igt@kms_properties@colorop-properties-atomic@pipe-b-dp-4:
- Statuses : 1 pass(s)
- Exec time: [0.17] s
* igt@kms_properties@colorop-properties-atomic@pipe-b-edp-1:
- Statuses : 1 pass(s)
- Exec time: [1.31] s
* igt@kms_properties@colorop-properties-atomic@pipe-b-hdmi-a-3:
- Statuses : 1 pass(s)
- Exec time: [0.13] s
* igt@kms_properties@colorop-properties-atomic@pipe-b-hdmi-a-6:
- Statuses : 1 pass(s)
- Exec time: [0.13] s
* igt@kms_properties@colorop-properties-atomic@pipe-c-dp-2:
- Statuses : 1 pass(s)
- Exec time: [0.18] s
* igt@kms_properties@colorop-properties-atomic@pipe-c-dp-4:
- Statuses : 1 pass(s)
- Exec time: [0.17] s
* igt@kms_properties@colorop-properties-atomic@pipe-c-edp-1:
- Statuses : 1 pass(s)
- Exec time: [1.19] s
* igt@kms_properties@colorop-properties-atomic@pipe-c-hdmi-a-3:
- Statuses : 1 pass(s)
- Exec time: [0.14] s
* igt@kms_properties@colorop-properties-atomic@pipe-c-hdmi-a-6:
- Statuses : 1 pass(s)
- Exec time: [0.14] s
* igt@kms_properties@colorop-properties-atomic@pipe-d-dp-2:
- Statuses : 1 pass(s)
- Exec time: [0.18] s
* igt@kms_properties@colorop-properties-atomic@pipe-d-dp-4:
- Statuses : 1 pass(s)
- Exec time: [0.18] s
* igt@kms_properties@colorop-properties-atomic@pipe-d-hdmi-a-3:
- Statuses : 1 pass(s)
- Exec time: [0.14] s
* igt@kms_properties@colorop-properties-atomic@pipe-d-hdmi-a-6:
- Statuses : 1 pass(s)
- Exec time: [0.12] s
* igt@kms_properties@colorop-properties-legacy:
- Statuses : 3 pass(s)
- Exec time: [1.35, 3.92] s
* igt@kms_properties@colorop-properties-legacy@pipe-a-dp-2:
- Statuses : 1 pass(s)
- Exec time: [0.25] s
* igt@kms_properties@colorop-properties-legacy@pipe-a-dp-4:
- Statuses : 1 pass(s)
- Exec time: [0.20] s
* igt@kms_properties@colorop-properties-legacy@pipe-a-edp-1:
- Statuses : 1 pass(s)
- Exec time: [0.52] s
* igt@kms_properties@colorop-properties-legacy@pipe-a-hdmi-a-3:
- Statuses : 1 pass(s)
- Exec time: [0.13] s
* igt@kms_properties@colorop-properties-legacy@pipe-a-hdmi-a-6:
- Statuses : 1 pass(s)
- Exec time: [0.32] s
* igt@kms_properties@colorop-properties-legacy@pipe-b-dp-2:
- Statuses : 1 pass(s)
- Exec time: [0.18] s
* igt@kms_properties@colorop-properties-legacy@pipe-b-dp-4:
- Statuses : 1 pass(s)
- Exec time: [0.17] s
* igt@kms_properties@colorop-properties-legacy@pipe-b-edp-1:
- Statuses : 1 pass(s)
- Exec time: [1.25] s
* igt@kms_properties@colorop-properties-legacy@pipe-b-hdmi-a-3:
- Statuses : 1 pass(s)
- Exec time: [0.14] s
* igt@kms_properties@colorop-properties-legacy@pipe-b-hdmi-a-6:
- Statuses : 1 pass(s)
- Exec time: [0.14] s
* igt@kms_properties@colorop-properties-legacy@pipe-c-dp-2:
- Statuses : 1 pass(s)
- Exec time: [0.18] s
* igt@kms_properties@colorop-properties-legacy@pipe-c-dp-4:
- Statuses : 1 pass(s)
- Exec time: [0.18] s
* igt@kms_properties@colorop-properties-legacy@pipe-c-edp-1:
- Statuses : 1 pass(s)
- Exec time: [2.15] s
* igt@kms_properties@colorop-properties-legacy@pipe-c-hdmi-a-3:
- Statuses : 1 pass(s)
- Exec time: [0.13] s
* igt@kms_properties@colorop-properties-legacy@pipe-c-hdmi-a-6:
- Statuses : 1 pass(s)
- Exec time: [0.12] s
* igt@kms_properties@colorop-properties-legacy@pipe-d-dp-2:
- Statuses : 1 pass(s)
- Exec time: [0.19] s
* igt@kms_properties@colorop-properties-legacy@pipe-d-dp-4:
- Statuses : 1 pass(s)
- Exec time: [0.17] s
* igt@kms_properties@colorop-properties-legacy@pipe-d-hdmi-a-3:
- Statuses : 1 pass(s)
- Exec time: [0.14] s
* igt@kms_properties@colorop-properties-legacy@pipe-d-hdmi-a-6:
- Statuses : 1 pass(s)
- Exec time: [0.13] s
Known issues
------------
Here are the changes found in XEIGTPW_11599_full that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@kms_atomic_transition@plane-all-modeset-transition@pipe-a-hdmi-a-6:
- shard-dg2-set2: [PASS][16] -> [FAIL][17] ([Intel XE#1426]) +1 other test fail
[16]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7978/shard-dg2-463/igt@kms_atomic_transition@[email protected]
[17]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11599/shard-dg2-435/igt@kms_atomic_transition@[email protected]
* igt@kms_big_joiner@invalid-modeset:
- shard-lnl: NOTRUN -> [SKIP][18] ([Intel XE#346])
[18]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11599/shard-lnl-7/igt@[email protected]
* igt@kms_ccs@crc-primary-basic-4-tiled-xe2-ccs:
- shard-dg2-set2: NOTRUN -> [SKIP][19] ([Intel XE#1201] / [Intel XE#1252])
[19]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11599/shard-dg2-435/igt@[email protected]
* igt@kms_ccs@crc-sprite-planes-basic-4-tiled-dg2-rc-ccs-cc:
- shard-lnl: NOTRUN -> [SKIP][20] ([Intel XE#1399]) +1 other test skip
[20]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11599/shard-lnl-5/igt@[email protected]
* igt@kms_ccs@missing-ccs-buffer-y-tiled-ccs@pipe-a-dp-4:
- shard-dg2-set2: NOTRUN -> [SKIP][21] ([Intel XE#1201] / [Intel XE#787]) +6 other tests skip
[21]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11599/shard-dg2-466/igt@kms_ccs@[email protected]
* igt@kms_ccs@missing-ccs-buffer-y-tiled-ccs@pipe-d-dp-4:
- shard-dg2-set2: NOTRUN -> [SKIP][22] ([Intel XE#1201] / [Intel XE#455] / [Intel XE#787]) +1 other test skip
[22]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11599/shard-dg2-466/igt@kms_ccs@[email protected]
* igt@kms_chamelium_edid@hdmi-edid-read:
- shard-dg2-set2: NOTRUN -> [SKIP][23] ([Intel XE#1201] / [Intel XE#373])
[23]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11599/shard-dg2-435/igt@[email protected]
* igt@kms_colorop@plane-xr30-xr30-pq_125_inv_eotf (NEW):
- shard-dg2-set2: NOTRUN -> [SKIP][24] ([Intel XE#1201]) +43 other tests skip
[24]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11599/shard-dg2-463/igt@kms_colorop@plane-xr30-xr30-pq_125_inv_eotf.html
* igt@kms_content_protection@lic-type-1:
- shard-lnl: NOTRUN -> [SKIP][25] ([Intel XE#599])
[25]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11599/shard-lnl-6/igt@[email protected]
* igt@kms_cursor_crc@cursor-rapid-movement-32x10:
- shard-dg2-set2: NOTRUN -> [SKIP][26] ([Intel XE#1201] / [Intel XE#455]) +1 other test skip
[26]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11599/shard-dg2-463/igt@[email protected]
* igt@kms_cursor_legacy@cursorb-vs-flipa-varying-size:
- shard-lnl: NOTRUN -> [SKIP][27] ([Intel XE#309])
[27]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11599/shard-lnl-5/igt@[email protected]
* igt@kms_cursor_legacy@flip-vs-cursor-crc-legacy:
- shard-lnl: [PASS][28] -> [FAIL][29] ([Intel XE#1475])
[28]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7978/shard-lnl-6/igt@[email protected]
[29]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11599/shard-lnl-7/igt@[email protected]
* igt@kms_cursor_legacy@torture-bo@pipe-a:
- shard-lnl: [PASS][30] -> [DMESG-WARN][31] ([Intel XE#877]) +1 other test dmesg-warn
[30]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7978/shard-lnl-7/igt@kms_cursor_legacy@[email protected]
[31]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11599/shard-lnl-4/igt@kms_cursor_legacy@[email protected]
* igt@kms_flip@2x-absolute-wf_vblank:
- shard-lnl: NOTRUN -> [SKIP][32] ([Intel XE#1421])
[32]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11599/shard-lnl-8/igt@kms_flip@2x-absolute-wf_vblank.html
* igt@kms_flip@blocking-absolute-wf_vblank-interruptible:
- shard-dg2-set2: [PASS][33] -> [INCOMPLETE][34] ([Intel XE#1195] / [Intel XE#2049])
[33]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7978/shard-dg2-466/igt@kms_flip@blocking-absolute-wf_vblank-interruptible.html
[34]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11599/shard-dg2-466/igt@kms_flip@blocking-absolute-wf_vblank-interruptible.html
* igt@kms_flip@blocking-absolute-wf_vblank-interruptible@c-dp4:
- shard-dg2-set2: [PASS][35] -> [INCOMPLETE][36] ([Intel XE#1195])
[35]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7978/shard-dg2-466/igt@kms_flip@[email protected]
[36]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11599/shard-dg2-466/igt@kms_flip@[email protected]
* igt@kms_flip_scaled_crc@flip-64bpp-ytile-to-32bpp-ytile-downscaling:
- shard-lnl: NOTRUN -> [SKIP][37] ([Intel XE#1401] / [Intel XE#1745])
[37]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11599/shard-lnl-1/igt@kms_flip_scaled_crc@flip-64bpp-ytile-to-32bpp-ytile-downscaling.html
* igt@kms_flip_scaled_crc@flip-64bpp-ytile-to-32bpp-ytile-downscaling@pipe-a-default-mode:
- shard-lnl: NOTRUN -> [SKIP][38] ([Intel XE#1401])
[38]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11599/shard-lnl-1/igt@kms_flip_scaled_crc@flip-64bpp-ytile-to-32bpp-ytile-downscaling@pipe-a-default-mode.html
* igt@kms_frontbuffer_tracking@fbcdrrs-1p-offscren-pri-shrfb-draw-mmap-wc:
- shard-dg2-set2: NOTRUN -> [SKIP][39] ([Intel XE#1201] / [Intel XE#651])
[39]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11599/shard-dg2-434/igt@kms_frontbuffer_tracking@fbcdrrs-1p-offscren-pri-shrfb-draw-mmap-wc.html
* igt@kms_frontbuffer_tracking@fbcpsr-2p-scndscrn-spr-indfb-draw-mmap-wc:
- shard-lnl: NOTRUN -> [SKIP][40] ([Intel XE#656]) +3 other tests skip
[40]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11599/shard-lnl-7/igt@kms_frontbuffer_tracking@fbcpsr-2p-scndscrn-spr-indfb-draw-mmap-wc.html
* igt@kms_frontbuffer_tracking@fbcpsr-rgb565-draw-mmap-wc:
- shard-dg2-set2: NOTRUN -> [SKIP][41] ([Intel XE#1201] / [Intel XE#653]) +2 other tests skip
[41]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11599/shard-dg2-463/igt@[email protected]
* igt@kms_pipe_crc_basic@suspend-read-crc:
- shard-dg2-set2: [PASS][42] -> [DMESG-WARN][43] ([Intel XE#1162])
[42]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7978/shard-dg2-435/igt@[email protected]
[43]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11599/shard-dg2-435/igt@[email protected]
* igt@kms_pipe_crc_basic@suspend-read-crc@pipe-d-hdmi-a-6:
- shard-dg2-set2: [PASS][44] -> [DMESG-WARN][45] ([Intel XE#2019]) +2 other tests dmesg-warn
[44]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7978/shard-dg2-435/igt@kms_pipe_crc_basic@[email protected]
[45]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11599/shard-dg2-435/igt@kms_pipe_crc_basic@[email protected]
* igt@kms_plane_scaling@intel-max-src-size:
- shard-dg2-set2: [PASS][46] -> [FAIL][47] ([Intel XE#361]) +1 other test fail
[46]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7978/shard-dg2-463/igt@[email protected]
[47]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11599/shard-dg2-434/igt@[email protected]
* igt@kms_pm_backlight@fade:
- shard-lnl: [PASS][48] -> [SKIP][49] ([Intel XE#870])
[48]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7978/shard-lnl-5/igt@[email protected]
[49]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11599/shard-lnl-7/igt@[email protected]
* igt@kms_pm_dc@dc5-dpms:
- shard-lnl: [PASS][50] -> [FAIL][51] ([Intel XE#718]) +1 other test fail
[50]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7978/shard-lnl-1/igt@[email protected]
[51]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11599/shard-lnl-8/igt@[email protected]
* igt@kms_psr@pr-cursor-blt:
- shard-dg2-set2: NOTRUN -> [SKIP][52] ([Intel XE#1201] / [Intel XE#929])
[52]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11599/shard-dg2-434/igt@[email protected]
* igt@kms_vblank@ts-continuation-dpms-suspend@pipe-a-dp-4:
- shard-dg2-set2: [PASS][53] -> [DMESG-WARN][54] ([Intel XE#1551]) +3 other tests dmesg-warn
[53]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7978/shard-dg2-466/igt@kms_vblank@[email protected]
[54]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11599/shard-dg2-466/igt@kms_vblank@[email protected]
* igt@xe_evict@evict-beng-mixed-many-threads-small:
- shard-dg2-set2: [PASS][55] -> [TIMEOUT][56] ([Intel XE#1473] / [Intel XE#402])
[55]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7978/shard-dg2-435/igt@[email protected]
[56]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11599/shard-dg2-435/igt@[email protected]
* igt@xe_evict@evict-beng-threads-large:
- shard-dg2-set2: [PASS][57] -> [INCOMPLETE][58] ([Intel XE#1195] / [Intel XE#1473])
[57]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7978/shard-dg2-432/igt@[email protected]
[58]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11599/shard-dg2-435/igt@[email protected]
* igt@xe_evict@evict-mixed-many-threads-small:
- shard-dg2-set2: [PASS][59] -> [TIMEOUT][60] ([Intel XE#1473]) +2 other tests timeout
[59]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7978/shard-dg2-432/igt@[email protected]
[60]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11599/shard-dg2-432/igt@[email protected]
* igt@xe_exec_basic@multigpu-once-bindexecqueue-rebind:
- shard-lnl: NOTRUN -> [SKIP][61] ([Intel XE#1392])
[61]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11599/shard-lnl-1/igt@[email protected]
* igt@xe_exec_threads@threads-bal-mixed-fd-userptr:
- shard-dg2-set2: [PASS][62] -> [INCOMPLETE][63] ([Intel XE#1169] / [Intel XE#1356])
[62]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7978/shard-dg2-433/igt@[email protected]
[63]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11599/shard-dg2-432/igt@[email protected]
* igt@xe_live_ktest@xe_migrate@xe_validate_ccs_kunit:
- shard-dg2-set2: NOTRUN -> [SKIP][64] ([Intel XE#1201] / [Intel XE#2229])
[64]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11599/shard-dg2-466/igt@xe_live_ktest@xe_migrate@xe_validate_ccs_kunit.html
* igt@xe_module_load@force-load:
- shard-lnl: NOTRUN -> [SKIP][65] ([Intel XE#378])
[65]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11599/shard-lnl-4/igt@[email protected]
* igt@xe_module_load@unload:
- shard-dg2-set2: [PASS][66] -> [DMESG-WARN][67] ([Intel XE#1551] / [Intel XE#2019])
[66]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7978/shard-dg2-432/igt@[email protected]
[67]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11599/shard-dg2-463/igt@[email protected]
* igt@xe_oa@oa-regs-whitelisted:
- shard-lnl: [PASS][68] -> [FAIL][69] ([Intel XE#2514])
[68]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7978/shard-lnl-6/igt@[email protected]
[69]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11599/shard-lnl-4/igt@[email protected]
* igt@xe_oa@oa-regs-whitelisted@rcs-0:
- shard-lnl: NOTRUN -> [FAIL][70] ([Intel XE#2514])
[70]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11599/shard-lnl-4/igt@xe_oa@[email protected]
* igt@xe_pm@s4-vm-bind-userptr:
- shard-lnl: [PASS][71] -> [ABORT][72] ([Intel XE#1794]) +1 other test abort
[71]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7978/shard-lnl-6/igt@[email protected]
[72]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11599/shard-lnl-2/igt@[email protected]
#### Possible fixes ####
* igt@kms_async_flips@alternate-sync-async-flip@pipe-d-hdmi-a-3:
- {shard-bmg}: [DMESG-WARN][73] ([Intel XE#1033]) -> [PASS][74] +1 other test pass
[73]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7978/shard-bmg-3/igt@kms_async_flips@[email protected]
[74]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11599/shard-bmg-1/igt@kms_async_flips@[email protected]
* igt@kms_atomic_transition@modeset-transition-nonblocking-fencing:
- shard-lnl: [FAIL][75] ([Intel XE#1701]) -> [PASS][76] +1 other test pass
[75]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7978/shard-lnl-5/igt@kms_atomic_transition@modeset-transition-nonblocking-fencing.html
[76]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11599/shard-lnl-7/igt@kms_atomic_transition@modeset-transition-nonblocking-fencing.html
* igt@kms_atomic_transition@plane-all-modeset-transition-fencing-internal-panels:
- shard-lnl: [FAIL][77] ([Intel XE#1426]) -> [PASS][78] +1 other test pass
[77]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7978/shard-lnl-6/igt@kms_atomic_transition@plane-all-modeset-transition-fencing-internal-panels.html
[78]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11599/shard-lnl-3/igt@kms_atomic_transition@plane-all-modeset-transition-fencing-internal-panels.html
* igt@kms_atomic_transition@plane-toggle-modeset-transition:
- {shard-bmg}: [FAIL][79] ([Intel XE#1426]) -> [PASS][80] +1 other test pass
[79]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7978/shard-bmg-4/igt@[email protected]
[80]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11599/shard-bmg-5/igt@[email protected]
* igt@kms_atomic_transition@plane-toggle-modeset-transition@pipe-a-hdmi-a-6:
- shard-dg2-set2: [FAIL][81] ([Intel XE#1426]) -> [PASS][82] +1 other test pass
[81]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7978/shard-dg2-463/igt@kms_atomic_transition@[email protected]
[82]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11599/shard-dg2-435/igt@kms_atomic_transition@[email protected]
* igt@kms_big_fb@4-tiled-64bpp-rotate-0:
- shard-lnl: [FAIL][83] ([Intel XE#1659]) -> [PASS][84]
[83]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7978/shard-lnl-1/igt@[email protected]
[84]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11599/shard-lnl-1/igt@[email protected]
* igt@kms_ccs@crc-sprite-planes-basic-4-tiled-xe2-ccs@pipe-a-dp-2:
- {shard-bmg}: [FAIL][85] ([Intel XE#2436]) -> [PASS][86]
[85]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7978/shard-bmg-2/igt@kms_ccs@[email protected]
[86]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11599/shard-bmg-2/igt@kms_ccs@[email protected]
* igt@kms_cursor_crc@cursor-suspend:
- {shard-bmg}: [INCOMPLETE][87] -> [PASS][88] +3 other tests pass
[87]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7978/shard-bmg-6/igt@[email protected]
[88]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11599/shard-bmg-8/igt@[email protected]
* igt@kms_flip@flip-vs-suspend-interruptible:
- shard-dg2-set2: [DMESG-WARN][89] ([Intel XE#1551]) -> [PASS][90] +1 other test pass
[89]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7978/shard-dg2-435/igt@[email protected]
[90]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11599/shard-dg2-433/igt@[email protected]
* igt@kms_flip_scaled_crc@flip-64bpp-4tile-to-16bpp-4tile-upscaling:
- {shard-bmg}: [FAIL][91] -> [PASS][92] +1 other test pass
[91]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7978/shard-bmg-7/igt@kms_flip_scaled_crc@flip-64bpp-4tile-to-16bpp-4tile-upscaling.html
[92]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11599/shard-bmg-7/igt@kms_flip_scaled_crc@flip-64bpp-4tile-to-16bpp-4tile-upscaling.html
* igt@kms_frontbuffer_tracking@fbcpsr-suspend:
- shard-lnl: [FAIL][93] ([Intel XE#2028]) -> [PASS][94] +5 other tests pass
[93]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7978/shard-lnl-1/igt@[email protected]
[94]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11599/shard-lnl-5/igt@[email protected]
* igt@kms_plane@plane-position-hole:
- shard-lnl: [DMESG-FAIL][95] ([Intel XE#324]) -> [PASS][96] +1 other test pass
[95]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7978/shard-lnl-4/igt@[email protected]
[96]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11599/shard-lnl-1/igt@[email protected]
* igt@kms_plane@plane-position-hole@pipe-b-plane-1:
- shard-lnl: [DMESG-WARN][97] ([Intel XE#324]) -> [PASS][98] +3 other tests pass
[97]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7978/shard-lnl-4/igt@kms_plane@[email protected]
[98]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11599/shard-lnl-1/igt@kms_plane@[email protected]
* igt@kms_pm_backlight@bad-brightness:
- shard-lnl: [SKIP][99] ([Intel XE#870]) -> [PASS][100]
[99]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7978/shard-lnl-3/igt@[email protected]
[100]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11599/shard-lnl-3/igt@[email protected]
* igt@xe_evict@evict-beng-mixed-threads-large:
- {shard-bmg}: [TIMEOUT][101] ([Intel XE#1473]) -> [PASS][102] +1 other test pass
[101]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7978/shard-bmg-8/igt@[email protected]
[102]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11599/shard-bmg-1/igt@[email protected]
* igt@xe_evict@evict-cm-threads-large:
- shard-dg2-set2: [INCOMPLETE][103] ([Intel XE#1195] / [Intel XE#1473]) -> [PASS][104]
[103]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7978/shard-dg2-435/igt@[email protected]
[104]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11599/shard-dg2-433/igt@[email protected]
* igt@xe_exec_compute_mode@many-execqueues-userptr-unmap:
- {shard-bmg}: [DMESG-WARN][105] ([Intel XE#877]) -> [PASS][106] +2 other tests pass
[105]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7978/shard-bmg-8/igt@[email protected]
[106]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11599/shard-bmg-3/igt@[email protected]
* igt@xe_exec_reset@parallel-gt-reset:
- {shard-bmg}: [TIMEOUT][107] ([Intel XE#2105]) -> [PASS][108]
[107]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7978/shard-bmg-1/igt@[email protected]
[108]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11599/shard-bmg-8/igt@[email protected]
- shard-dg2-set2: [INCOMPLETE][109] ([Intel XE#2105]) -> [PASS][110]
[109]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7978/shard-dg2-432/igt@[email protected]
[110]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11599/shard-dg2-434/igt@[email protected]
* igt@xe_live_ktest@xe_migrate:
- shard-dg2-set2: [SKIP][111] ([Intel XE#1192] / [Intel XE#1201]) -> [PASS][112] +1 other test pass
[111]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7978/shard-dg2-463/igt@xe_live_ktest@xe_migrate.html
[112]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11599/shard-dg2-466/igt@xe_live_ktest@xe_migrate.html
* igt@xe_oa@mmio-triggered-reports:
- {shard-bmg}: [FAIL][113] ([Intel XE#2249]) -> [PASS][114] +1 other test pass
[113]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7978/shard-bmg-2/igt@[email protected]
[114]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11599/shard-bmg-3/igt@[email protected]
- shard-lnl: [FAIL][115] ([Intel XE#2249]) -> [PASS][116]
[115]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7978/shard-lnl-2/igt@[email protected]
[116]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11599/shard-lnl-3/igt@[email protected]
* igt@xe_pm@s4-d3hot-basic-exec:
- shard-lnl: [ABORT][117] ([Intel XE#1358] / [Intel XE#1607]) -> [PASS][118]
[117]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7978/shard-lnl-2/igt@[email protected]
[118]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11599/shard-lnl-1/igt@[email protected]
* igt@xe_pm@s4-vm-bind-prefetch:
- shard-dg2-set2: [DMESG-WARN][119] ([Intel XE#2019]) -> [PASS][120]
[119]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7978/shard-dg2-463/igt@[email protected]
[120]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11599/shard-dg2-434/igt@[email protected]
#### Warnings ####
* igt@kms_addfb_basic@addfb25-y-tiled-small-legacy:
- shard-dg2-set2: [SKIP][121] ([Intel XE#623]) -> [SKIP][122] ([Intel XE#1201] / [Intel XE#623])
[121]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7978/shard-dg2-432/igt@[email protected]
[122]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11599/shard-dg2-435/igt@[email protected]
* igt@kms_big_fb@4-tiled-32bpp-rotate-270:
- shard-dg2-set2: [SKIP][123] ([Intel XE#316]) -> [SKIP][124] ([Intel XE#1201] / [Intel XE#316])
[123]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7978/shard-dg2-432/igt@[email protected]
[124]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11599/shard-dg2-463/igt@[email protected]
* igt@kms_big_fb@4-tiled-64bpp-rotate-90:
- shard-dg2-set2: [SKIP][125] ([Intel XE#1201] / [Intel XE#316]) -> [SKIP][126] ([Intel XE#316]) +1 other test skip
[125]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7978/shard-dg2-463/igt@[email protected]
[126]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11599/shard-dg2-432/igt@[email protected]
* igt@kms_big_fb@yf-tiled-32bpp-rotate-180:
- shard-dg2-set2: [SKIP][127] ([Intel XE#1124]) -> [SKIP][128] ([Intel XE#1124] / [Intel XE#1201]) +10 other tests skip
[127]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7978/shard-dg2-432/igt@[email protected]
[128]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11599/shard-dg2-434/igt@[email protected]
* igt@kms_big_fb@yf-tiled-max-hw-stride-64bpp-rotate-0-async-flip:
- shard-dg2-set2: [SKIP][129] ([Intel XE#1124] / [Intel XE#1201]) -> [SKIP][130] ([Intel XE#1124]) +10 other tests skip
[129]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7978/shard-dg2-433/igt@[email protected]
[130]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11599/shard-dg2-432/igt@[email protected]
* igt@kms_bw@connected-linear-tiling-3-displays-2560x1440p:
- shard-dg2-set2: [SKIP][131] ([Intel XE#2191]) -> [SKIP][132] ([Intel XE#1201] / [Intel XE#2191]) +1 other test skip
[131]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7978/shard-dg2-432/igt@[email protected]
[132]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11599/shard-dg2-434/igt@[email protected]
* igt@kms_bw@linear-tiling-2-displays-2160x1440p:
- shard-dg2-set2: [SKIP][133] ([Intel XE#367]) -> [SKIP][134] ([Intel XE#1201] / [Intel XE#367]) +1 other test skip
[133]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7978/shard-dg2-432/igt@[email protected]
[134]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11599/shard-dg2-466/igt@[email protected]
* igt@kms_bw@linear-tiling-3-displays-2160x1440p:
- shard-dg2-set2: [SKIP][135] ([Intel XE#1201] / [Intel XE#367]) -> [SKIP][136] ([Intel XE#367]) +1 other test skip
[135]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7978/shard-dg2-466/igt@[email protected]
[136]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11599/shard-dg2-432/igt@[email protected]
* igt@kms_ccs@bad-pixel-format-yf-tiled-ccs:
- shard-dg2-set2: [SKIP][137] ([Intel XE#1201] / [Intel XE#455] / [Intel XE#787]) -> [SKIP][138] ([Intel XE#455] / [Intel XE#787]) +21 other tests skip
[137]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7978/shard-dg2-435/igt@[email protected]
[138]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11599/shard-dg2-432/igt@[email protected]
* igt@kms_ccs@crc-sprite-planes-basic-4-tiled-dg2-rc-ccs-cc:
- shard-dg2-set2: [FAIL][139] ([Intel XE#616]) -> [INCOMPLETE][140] ([Intel XE#1195]) +1 other test incomplete
[139]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7978/shard-dg2-435/igt@[email protected]
[140]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11599/shard-dg2-435/igt@[email protected]
* igt@kms_ccs@crc-sprite-planes-basic-4-tiled-mtl-rc-ccs-cc@pipe-c-hdmi-a-6:
- shard-dg2-set2: [SKIP][141] ([Intel XE#1201] / [Intel XE#787]) -> [SKIP][142] ([Intel XE#787]) +76 other tests skip
[141]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7978/shard-dg2-433/igt@kms_ccs@crc-sprite-planes-basic-4-tiled-mtl-rc-ccs-cc@pipe-c-hdmi-a-6.html
[142]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11599/shard-dg2-432/igt@kms_ccs@crc-sprite-planes-basic-4-tiled-mtl-rc-ccs-cc@pipe-c-hdmi-a-6.html
* igt@kms_ccs@crc-sprite-planes-basic-y-tiled-gen12-rc-ccs@pipe-d-dp-4:
- shard-dg2-set2: [SKIP][143] ([Intel XE#455] / [Intel XE#787]) -> [SKIP][144] ([Intel XE#1201] / [Intel XE#455] / [Intel XE#787]) +25 other tests skip
[143]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7978/shard-dg2-432/igt@kms_ccs@[email protected]
[144]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11599/shard-dg2-435/igt@kms_ccs@[email protected]
* igt@kms_ccs@missing-ccs-buffer-4-tiled-mtl-rc-ccs@pipe-c-hdmi-a-6:
- shard-dg2-set2: [SKIP][145] ([Intel XE#787]) -> [SKIP][146] ([Intel XE#1201] / [Intel XE#787]) +90 other tests skip
[145]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7978/shard-dg2-432/igt@kms_ccs@[email protected]
[146]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11599/shard-dg2-433/igt@kms_ccs@[email protected]
* igt@kms_cdclk@plane-scaling@pipe-b-dp-4:
- shard-dg2-set2: [SKIP][147] ([Intel XE#1152]) -> [SKIP][148] ([Intel XE#1152] / [Intel XE#1201]) +3 other tests skip
[147]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7978/shard-dg2-432/igt@kms_cdclk@[email protected]
[148]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11599/shard-dg2-433/igt@kms_cdclk@[email protected]
* igt@kms_chamelium_hpd@hdmi-hpd:
- shard-dg2-set2: [SKIP][149] ([Intel XE#1201] / [Intel XE#373]) -> [SKIP][150] ([Intel XE#373]) +7 other tests skip
[149]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7978/shard-dg2-466/igt@[email protected]
[150]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11599/shard-dg2-432/igt@[email protected]
* igt@kms_chamelium_hpd@vga-hpd:
- shard-dg2-set2: [SKIP][151] ([Intel XE#373]) -> [SKIP][152] ([Intel XE#1201] / [Intel XE#373]) +8 other tests skip
[151]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7978/shard-dg2-432/igt@[email protected]
[152]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11599/shard-dg2-466/igt@[email protected]
* igt@kms_content_protection@dp-mst-lic-type-1:
- shard-dg2-set2: [SKIP][153] ([Intel XE#307]) -> [SKIP][154] ([Intel XE#1201] / [Intel XE#307])
[153]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7978/shard-dg2-432/igt@[email protected]
[154]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11599/shard-dg2-434/igt@[email protected]
* igt@kms_cursor_crc@cursor-onscreen-512x512:
- shard-dg2-set2: [SKIP][155] ([Intel XE#308]) -> [SKIP][156] ([Intel XE#1201] / [Intel XE#308]) +1 other test skip
[155]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7978/shard-dg2-432/igt@[email protected]
[156]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11599/shard-dg2-434/igt@[email protected]
* igt@kms_cursor_legacy@basic-busy-flip-before-cursor-atomic:
- shard-dg2-set2: [SKIP][157] ([Intel XE#323]) -> [SKIP][158] ([Intel XE#1201] / [Intel XE#323]) +1 other test skip
[157]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7978/shard-dg2-432/igt@[email protected]
[158]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11599/shard-dg2-466/igt@[email protected]
* igt@kms_dsc@dsc-with-output-formats-with-bpc:
- shard-dg2-set2: [SKIP][159] ([Intel XE#455]) -> [SKIP][160] ([Intel XE#1201] / [Intel XE#455]) +10 other tests skip
[159]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7978/shard-dg2-432/igt@[email protected]
[160]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11599/shard-dg2-463/igt@[email protected]
* igt@kms_fbcon_fbt@psr:
- shard-dg2-set2: [SKIP][161] ([Intel XE#776]) -> [SKIP][162] ([Intel XE#1201] / [Intel XE#776])
[161]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7978/shard-dg2-432/igt@[email protected]
[162]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11599/shard-dg2-466/igt@[email protected]
* igt@kms_feature_discovery@display-4x:
- shard-dg2-set2: [SKIP][163] ([Intel XE#1138] / [Intel XE#1201]) -> [SKIP][164] ([Intel XE#1138])
[163]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7978/shard-dg2-435/igt@[email protected]
[164]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11599/shard-dg2-432/igt@[email protected]
* igt@kms_feature_discovery@dp-mst:
- shard-dg2-set2: [SKIP][165] ([Intel XE#1137]) -> [SKIP][166] ([Intel XE#1137] / [Intel XE#1201])
[165]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7978/shard-dg2-432/igt@[email protected]
[166]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11599/shard-dg2-434/igt@[email protected]
* igt@kms_feature_discovery@psr2:
- shard-dg2-set2: [SKIP][167] ([Intel XE#1135] / [Intel XE#1201]) -> [SKIP][168] ([Intel XE#1135])
[167]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7978/shard-dg2-433/igt@[email protected]
[168]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11599/shard-dg2-432/igt@[email protected]
* igt@kms_frontbuffer_tracking@drrs-suspend:
- shard-dg2-set2: [SKIP][169] ([Intel XE#1201] / [Intel XE#651]) -> [SKIP][170] ([Intel XE#651]) +17 other tests skip
[169]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7978/shard-dg2-433/igt@[email protected]
[170]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11599/shard-dg2-432/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbcdrrs-1p-primscrn-cur-indfb-draw-render:
- shard-dg2-set2: [SKIP][171] ([Intel XE#651]) -> [SKIP][172] ([Intel XE#1201] / [Intel XE#651]) +22 other tests skip
[171]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7978/shard-dg2-432/igt@kms_frontbuffer_tracking@fbcdrrs-1p-primscrn-cur-indfb-draw-render.html
[172]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11599/shard-dg2-466/igt@kms_frontbuffer_tracking@fbcdrrs-1p-primscrn-cur-indfb-draw-render.html
* igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-spr-indfb-draw-blt:
- shard-dg2-set2: [SKIP][173] ([Intel XE#653]) -> [SKIP][174] ([Intel XE#1201] / [Intel XE#653]) +20 other tests skip
[173]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7978/shard-dg2-432/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-spr-indfb-draw-blt.html
[174]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11599/shard-dg2-466/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-spr-indfb-draw-blt.html
* igt@kms_frontbuffer_tracking@fbcpsr-tiling-4:
- shard-dg2-set2: [SKIP][175] ([Intel XE#1201] / [Intel XE#653]) -> [SKIP][176] ([Intel XE#653]) +21 other tests skip
[175]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7978/shard-dg2-435/igt@[email protected]
[176]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11599/shard-dg2-432/igt@[email protected]
* igt@kms_invalid_mode@clock-too-high:
- shard-lnl: [SKIP][177] ([Intel XE#1450] / [Intel XE#599]) -> [SKIP][178] ([Intel XE#1450] / [Intel XE#2568] / [Intel XE#599])
[177]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7978/shard-lnl-7/igt@[email protected]
[178]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11599/shard-lnl-4/igt@[email protected]
* igt@kms_pm_backlight@fade:
- shard-dg2-set2: [SKIP][179] ([Intel XE#870]) -> [SKIP][180] ([Intel XE#1201] / [Intel XE#870])
[179]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7978/shard-dg2-432/igt@[email protected]
[180]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11599/shard-dg2-434/igt@[email protected]
* igt@kms_pm_backlight@fade-with-dpms:
- shard-dg2-set2: [SKIP][181] ([Intel XE#1201] / [Intel XE#870]) -> [SKIP][182] ([Intel XE#870])
[181]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7978/shard-dg2-466/igt@[email protected]
[182]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11599/shard-dg2-432/igt@[email protected]
* igt@kms_pm_dc@dc5-psr:
- shard-dg2-set2: [SKIP][183] ([Intel XE#1129]) -> [SKIP][184] ([Intel XE#1129] / [Intel XE#1201])
[183]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7978/shard-dg2-432/igt@[email protected]
[184]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11599/shard-dg2-466/igt@[email protected]
* igt@kms_psr2_sf@fbc-cursor-plane-update-sf:
- shard-dg2-set2: [SKIP][185] ([Intel XE#1201] / [Intel XE#1489]) -> [SKIP][186] ([Intel XE#1489])
[185]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7978/shard-dg2-433/igt@[email protected]
[186]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11599/shard-dg2-432/igt@[email protected]
* igt@kms_psr2_sf@fbc-plane-move-sf-dmg-area:
- shard-dg2-set2: [SKIP][187] ([Intel XE#1489]) -> [SKIP][188] ([Intel XE#1201] / [Intel XE#1489]) +3 other tests skip
[187]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7978/shard-dg2-432/igt@[email protected]
[188]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11599/shard-dg2-434/igt@[email protected]
* igt@kms_psr2_su@page_flip-p010:
- shard-dg2-set2: [SKIP][189] ([Intel XE#1122]) -> [SKIP][190] ([Intel XE#1122] / [Intel XE#1201]) +1 other test skip
[189]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7978/shard-dg2-432/igt@kms_psr2_su@page_flip-p010.html
[190]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11599/shard-dg2-434/igt@kms_psr2_su@page_flip-p010.html
* igt@kms_psr@fbc-pr-dpms:
- shard-dg2-set2: [SKIP][191] ([Intel XE#1201] / [Intel XE#929]) -> [SKIP][192] ([Intel XE#929]) +11 other tests skip
[191]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7978/shard-dg2-433/igt@[email protected]
[192]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11599/shard-dg2-432/igt@[email protected]
* igt@kms_psr@fbc-psr2-cursor-plane-onoff:
- shard-dg2-set2: [SKIP][193] ([Intel XE#929]) -> [SKIP][194] ([Intel XE#1201] / [Intel XE#929]) +11 other tests skip
[193]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7978/shard-dg2-432/igt@[email protected]
[194]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11599/shard-dg2-435/igt@[email protected]
* igt@kms_psr_stress_test@invalidate-primary-flip-overlay:
- shard-dg2-set2: [SKIP][195] ([Intel XE#1149]) -> [SKIP][196] ([Intel XE#1149] / [Intel XE#1201])
[195]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7978/shard-dg2-432/igt@[email protected]
[196]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11599/shard-dg2-433/igt@[email protected]
* igt@kms_rotation_crc@bad-tiling:
- shard-dg2-set2: [SKIP][197] ([Intel XE#327]) -> [SKIP][198] ([Intel XE#1201] / [Intel XE#327]) +3 other tests skip
[197]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7978/shard-dg2-432/igt@[email protected]
[198]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11599/shard-dg2-463/igt@[email protected]
* igt@kms_rotation_crc@primary-y-tiled-reflect-x-180:
- shard-dg2-set2: [SKIP][199] ([Intel XE#1127] / [Intel XE#1201]) -> [SKIP][200] ([Intel XE#1127])
[199]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7978/shard-dg2-466/igt@[email protected]
[200]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11599/shard-dg2-432/igt@[email protected]
* igt@kms_rotation_crc@primary-y-tiled-reflect-x-270:
- shard-dg2-set2: [SKIP][201] ([Intel XE#1201] / [Intel XE#327]) -> [SKIP][202] ([Intel XE#327])
[201]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7978/shard-dg2-463/igt@[email protected]
[202]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11599/shard-dg2-432/igt@[email protected]
* igt@kms_vrr@flipline:
- shard-dg2-set2: [SKIP][203] ([Intel XE#1201] / [Intel XE#455]) -> [SKIP][204] ([Intel XE#455]) +16 other tests skip
[203]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7978/shard-dg2-434/igt@[email protected]
[204]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11599/shard-dg2-432/igt@[email protected]
* igt@kms_vrr@lobf:
- shard-dg2-set2: [SKIP][205] ([Intel XE#1201] / [Intel XE#2168]) -> [SKIP][206] ([Intel XE#2168])
[205]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7978/shard-dg2-463/igt@[email protected]
[206]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11599/shard-dg2-432/igt@[email protected]
* igt@kms_writeback@writeback-fb-id:
- shard-dg2-set2: [SKIP][207] ([Intel XE#1201] / [Intel XE#756]) -> [SKIP][208] ([Intel XE#1201] / [Intel XE#326] / [Intel XE#756]) +3 other tests skip
[207]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7978/shard-dg2-434/igt@[email protected]
[208]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11599/shard-dg2-466/igt@[email protected]
* igt@sriov_basic@enable-vfs-bind-unbind-each-numvfs-all:
- shard-dg2-set2: [SKIP][209] ([Intel XE#1091]) -> [SKIP][210] ([Intel XE#1091] / [Intel XE#1201]) +1 other test skip
[209]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7978/shard-dg2-432/igt@[email protected]
[210]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11599/shard-dg2-463/igt@[email protected]
* igt@xe_copy_basic@mem-copy-linear-0xfd:
- shard-dg2-set2: [SKIP][211] ([Intel XE#1123] / [Intel XE#1201]) -> [SKIP][212] ([Intel XE#1123])
[211]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7978/shard-dg2-435/igt@[email protected]
[212]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11599/shard-dg2-432/igt@[email protected]
* igt@xe_exec_fault_mode@once-bindexecqueue-imm:
- shard-dg2-set2: [SKIP][213] ([Intel XE#1201] / [Intel XE#288]) -> [SKIP][214] ([Intel XE#288]) +20 other tests skip
[213]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7978/shard-dg2-434/igt@[email protected]
[214]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11599/shard-dg2-432/igt@[email protected]
* igt@xe_exec_fault_mode@twice-bindexecqueue-userptr-invalidate-race:
- shard-dg2-set2: [SKIP][215] ([Intel XE#288]) -> [SKIP][216] ([Intel XE#1201] / [Intel XE#288]) +26 other tests skip
[215]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7978/shard-dg2-432/igt@xe_exec_fault_mode@twice-bindexecqueue-userptr-invalidate-race.html
[216]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11599/shard-dg2-466/igt@xe_exec_fault_mode@twice-bindexecqueue-userptr-invalidate-race.html
* igt@xe_oa@invalid-create-userspace-config:
- shard-dg2-set2: [SKIP][217] ([Intel XE#1201] / [Intel XE#2541]) -> [SKIP][218] ([Intel XE#2541]) +2 other tests skip
[217]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7978/shard-dg2-435/igt@[email protected]
[218]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11599/shard-dg2-432/igt@[email protected]
* igt@xe_oa@whitelisted-registers-userspace-config:
- shard-dg2-set2: [SKIP][219] ([Intel XE#2541]) -> [SKIP][220] ([Intel XE#1201] / [Intel XE#2541]) +5 other tests skip
[219]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7978/shard-dg2-432/igt@[email protected]
[220]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11599/shard-dg2-466/igt@[email protected]
* igt@xe_pat@display-vs-wb-transient:
- shard-dg2-set2: [SKIP][221] ([Intel XE#1201] / [Intel XE#1337]) -> [SKIP][222] ([Intel XE#1337])
[221]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7978/shard-dg2-466/igt@[email protected]
[222]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11599/shard-dg2-432/igt@[email protected]
* igt@xe_pm@d3cold-basic-exec:
- shard-dg2-set2: [SKIP][223] ([Intel XE#1201] / [Intel XE#2284] / [Intel XE#366]) -> [SKIP][224] ([Intel XE#2284] / [Intel XE#366])
[223]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7978/shard-dg2-434/igt@[email protected]
[224]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11599/shard-dg2-432/igt@[email protected]
* igt@xe_pm@d3cold-mmap-vram:
- shard-dg2-set2: [SKIP][225] ([Intel XE#2284] / [Intel XE#366]) -> [SKIP][226] ([Intel XE#1201] / [Intel XE#2284] / [Intel XE#366]) +1 other test skip
[225]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7978/shard-dg2-432/igt@[email protected]
[226]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11599/shard-dg2-434/igt@[email protected]
* igt@xe_pm@s3-basic-exec:
- shard-dg2-set2: [DMESG-WARN][227] ([Intel XE#1551] / [Intel XE#569]) -> [INCOMPLETE][228] ([Intel XE#1358] / [Intel XE#1551] / [Intel XE#569])
[227]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7978/shard-dg2-433/igt@[email protected]
[228]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11599/shard-dg2-432/igt@[email protected]
* igt@xe_pm@s3-vm-bind-unbind-all:
- shard-dg2-set2: [DMESG-WARN][229] ([Intel XE#1162] / [Intel XE#569]) -> [DMESG-WARN][230] ([Intel XE#1162] / [Intel XE#1941] / [Intel XE#569])
[229]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7978/shard-dg2-433/igt@[email protected]
[230]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11599/shard-dg2-432/igt@[email protected]
* igt@xe_query@multigpu-query-config:
- shard-dg2-set2: [SKIP][231] ([Intel XE#944]) -> [SKIP][232] ([Intel XE#1201] / [Intel XE#944]) +2 other tests skip
[231]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7978/shard-dg2-432/igt@[email protected]
[232]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11599/shard-dg2-434/igt@[email protected]
* igt@xe_wedged@wedged-at-any-timeout:
- shard-dg2-set2: [DMESG-WARN][233] ([Intel XE#1760]) -> [DMESG-FAIL][234] ([Intel XE#1760])
[233]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7978/shard-dg2-463/igt@[email protected]
[234]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11599/shard-dg2-434/igt@[email protected]
- shard-lnl: [DMESG-WARN][235] ([Intel XE#1760]) -> [DMESG-FAIL][236] ([Intel XE#1760])
[235]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7978/shard-lnl-3/igt@[email protected]
[236]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11599/shard-lnl-3/igt@[email protected]
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[Intel XE#1033]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1033
[Intel XE#1091]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1091
[Intel XE#1122]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1122
[Intel XE#1123]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1123
[Intel XE#1124]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1124
[Intel XE#1127]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1127
[Intel XE#1129]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1129
[Intel XE#1135]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1135
[Intel XE#1137]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1137
[Intel XE#1138]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1138
[Intel XE#1149]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1149
[Intel XE#1152]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1152
[Intel XE#1162]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1162
[Intel XE#1169]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1169
[Intel XE#1192]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1192
[Intel XE#1195]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1195
[Intel XE#1201]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1201
[Intel XE#1252]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1252
[Intel XE#1337]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1337
[Intel XE#1356]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1356
[Intel XE#1358]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1358
[Intel XE#1392]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1392
[Intel XE#1399]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1399
[Intel XE#1401]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1401
[Intel XE#1421]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1421
[Intel XE#1426]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1426
[Intel XE#1450]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1450
[Intel XE#1473]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1473
[Intel XE#1475]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1475
[Intel XE#1489]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1489
[Intel XE#1503]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1503
[Intel XE#1551]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1551
[Intel XE#1607]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1607
[Intel XE#1659]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1659
[Intel XE#1701]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1701
[Intel XE#1745]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1745
[Intel XE#1760]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1760
[Intel XE#1794]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1794
[Intel XE#1941]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1941
[Intel XE#2019]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2019
[Intel XE#2028]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2028
[Intel XE#2049]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2049
[Intel XE#2105]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2105
[Intel XE#2168]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2168
[Intel XE#2191]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2191
[Intel XE#2229]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2229
[Intel XE#2233]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2233
[Intel XE#2234]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2234
[Intel XE#2244]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2244
[Intel XE#2249]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2249
[Intel XE#2251]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2251
[Intel XE#2252]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2252
[Intel XE#2284]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2284
[Intel XE#2293]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2293
[Intel XE#2311]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2311
[Intel XE#2313]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2313
[Intel XE#2322]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2322
[Intel XE#2333]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2333
[Intel XE#2364]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2364
[Intel XE#2380]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2380
[Intel XE#2390]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2390
[Intel XE#2429]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2429
[Intel XE#2436]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2436
[Intel XE#2472]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2472
[Intel XE#2514]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2514
[Intel XE#2541]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2541
[Intel XE#2568]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2568
[Intel XE#288]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/288
[Intel XE#307]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/307
[Intel XE#308]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/308
[Intel XE#309]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/309
[Intel XE#316]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/316
[Intel XE#323]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/323
[Intel XE#324]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/324
[Intel XE#326]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/326
[Intel XE#327]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/327
[Intel XE#346]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/346
[Intel XE#361]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/361
[Intel XE#366]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/366
[Intel XE#367]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/367
[Intel XE#373]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/373
[Intel XE#378]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/378
[Intel XE#402]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/402
[Intel XE#455]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/455
[Intel XE#498]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/498
[Intel XE#569]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/569
[Intel XE#599]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/599
[Intel XE#616]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/616
[Intel XE#623]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/623
[Intel XE#651]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/651
[Intel XE#653]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/653
[Intel XE#656]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/656
[Intel XE#718]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/718
[Intel XE#756]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/756
[Intel XE#776]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/776
[Intel XE#787]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/787
[Intel XE#870]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/870
[Intel XE#877]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/877
[Intel XE#899]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/899
[Intel XE#929]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/929
[Intel XE#944]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/944
Build changes
-------------
* IGT: IGT_7978 -> IGTPW_11599
IGTPW_11599: 11599
IGT_7978: 4083a9d8abc80c8a905ffdc20bc76383b1e07e79 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
xe-1798-4d24271792fac837e728f7bb6237a94ee46cc76e: 4d24271792fac837e728f7bb6237a94ee46cc76e
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11599/index.html