Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Sharma, Swati2" <swati2.sharma@intel.com>
To: Alex Hung <alex.hung@amd.com>, <igt-dev@lists.freedesktop.org>
Cc: <harry.wentland@amd.com>
Subject: Re: [PATCH V7 08/37] lib/igt_kms: Introduce drm_colorop and COLOR_PIPELINE
Date: Thu, 3 Apr 2025 15:34:46 +0530	[thread overview]
Message-ID: <92291c28-1f6d-4fab-9527-fe44f4f8732d@intel.com> (raw)
In-Reply-To: <20250326233609.2980110-9-alex.hung@amd.com>

Hi Alex,

Destroy colorops on exit in this patch itself.
Something which Bhanu had added separate patch
https://patchwork.freedesktop.org/patch/591122/?series=132839&rev=1

On 27-03-2025 05:05 am, Alex Hung wrote:
> From: Harry Wentland <harry.wentland@amd.com>
>
> We'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.
>
> v6:
>   - Ignore COLOR_PIPELINE property if
>     DRM_CLIENT_CAP_PLANE_COLOR_PIPELINE not set
>
> 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
>
> Signed-off-by: Harry Wentland <harry.wentland@amd.com>
> ---
>   lib/igt_kms.c          | 271 ++++++++++++++++++++++++++++++++++++++++-
>   lib/igt_kms.h          |  89 ++++++++++++++
>   tests/kms_properties.c |   5 +-
>   3 files changed, 358 insertions(+), 7 deletions(-)
>
> diff --git a/lib/igt_kms.c b/lib/igt_kms.c
> index 88ed35f07..3f0ad25ce 100644
> --- a/lib/igt_kms.c
> +++ b/lib/igt_kms.c
> @@ -92,6 +92,7 @@
>   #define MAX_CONNECTORS 32
>   #define MAX_EDID 2
>   #define DISPLAY_TILE_BLOCK 0x12
> +#define MAX_NUM_COLOROPS 32
>   
>   typedef bool (*igt_connector_attr_set)(int dir, const char *attr, const char *value);
>   
> @@ -701,6 +702,14 @@ const char * const igt_plane_prop_names[IGT_NUM_PLANE_PROPS] = {
>   	[IGT_PLANE_FB_DAMAGE_CLIPS] = "FB_DAMAGE_CLIPS",
>   	[IGT_PLANE_SCALING_FILTER] = "SCALING_FILTER",
>   	[IGT_PLANE_SIZE_HINTS] = "SIZE_HINTS",
> +	[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] = {
> @@ -768,6 +777,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.
> @@ -799,6 +910,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);
>   	}
>   
> @@ -2999,16 +3113,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;
> @@ -3626,6 +3738,8 @@ igt_atomic_ignore_plane_prop(igt_pipe_t *pipe, uint32_t prop)
>   		}
>   	} else {
>   		switch(prop) {
> +		case IGT_PLANE_COLOR_PIPELINE:
> +			return true;
>   		default:
>   			return false;
>   		}
> @@ -3675,6 +3789,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.
> @@ -4122,6 +4275,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);
> @@ -4210,6 +4382,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.
> @@ -4242,6 +4452,50 @@ igt_plane_replace_prop_blob(igt_plane_t *plane, enum igt_atomic_plane_properties
>   	igt_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.
> @@ -4514,6 +4768,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);
>   		}
>   
>   	}
> diff --git a/lib/igt_kms.h b/lib/igt_kms.h
> index 7531ae53b..04a96f47a 100644
> --- a/lib/igt_kms.h
> +++ b/lib/igt_kms.h
> @@ -365,9 +365,18 @@ enum igt_atomic_plane_properties {
>          IGT_PLANE_HOTSPOT_X,
>          IGT_PLANE_HOTSPOT_Y,
>          IGT_PLANE_SIZE_HINTS,
> +       IGT_PLANE_COLOR_PIPELINE,
>          IGT_NUM_PLANE_PROPS
>   };
>   
> +enum igt_atomic_colorop_properties {
> +	IGT_COLOROP_TYPE,
> +	IGT_COLOROP_BYPASS,
> +	IGT_COLOROP_CURVE_1D_TYPE,
> +	IGT_COLOROP_NEXT,
> +	IGT_NUM_COLOROP_PROPS
> +};
> +
>   /**
>    * igt_plane_prop_names
>    *
> @@ -376,10 +385,20 @@ enum igt_atomic_plane_properties {
>    */
>   extern const char * const igt_plane_prop_names[];
>   
> +/**
> + * igt_colorop_prop_names
> + *
> + * igt_colorop_prop_names contains a list of colorop property names,
> + * as indexed by the igt_atomic_colorop_properties enum.
> + */
> +extern const char * const igt_colorop_prop_names[];
> +
>   typedef struct igt_display igt_display_t;
>   typedef struct igt_pipe igt_pipe_t;
>   typedef uint32_t igt_fixed_t;			/* 16.16 fixed point */
>   
> +#define IGT_NUM_PLANE_COLOR_PIPELINES 4
> +
>   typedef enum {
>   	/* this maps to the kernel API */
>   	IGT_ROTATION_0   = 1 << 0,
> @@ -405,6 +424,20 @@ static inline bool igt_rotation_90_or_270(igt_rotation_t rotation)
>   	return rotation & (IGT_ROTATION_90 | IGT_ROTATION_270);
>   }
>   
> +typedef struct igt_plane igt_plane_t;
> +
> +typedef struct igt_colorop {
> +	uint32_t id;
> +	igt_plane_t *plane;
> +
> +	char name[DRM_PROP_NAME_LEN];
> +
> +	uint64_t changed;
> +	uint32_t props[IGT_NUM_COLOROP_PROPS];
> +	uint64_t values[IGT_NUM_COLOROP_PROPS];
> +
> +} igt_colorop_t;
> +
>   typedef struct igt_plane {
>   	/*< private >*/
>   	igt_pipe_t *pipe;
> @@ -438,6 +471,11 @@ typedef struct igt_plane {
>   	uint64_t *modifiers;
>   	uint32_t *formats;
>   	int format_mod_count;
> +
> +	igt_colorop_t *color_pipelines[IGT_NUM_PLANE_COLOR_PIPELINES];
> +	int num_color_pipelines;
> +
> +	igt_colorop_t *assigned_color_pipeline;
>   } igt_plane_t;
>   
>   /*
> @@ -496,9 +534,11 @@ struct igt_display {
>   	int log_shift;
>   	int n_pipes;
>   	int n_planes;
> +	int n_colorops;
>   	int n_outputs;
>   	igt_output_t *outputs;
>   	igt_plane_t *planes;
> +	igt_colorop_t *colorops;
>   	igt_pipe_t *pipes;
>   	bool has_cursor_plane;
>   	bool is_atomic;
> @@ -841,6 +881,53 @@ extern void igt_plane_set_prop_enum(igt_plane_t *plane,
>   				    enum igt_atomic_plane_properties prop,
>   				    const char *val);
>   
> +
> +
> +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.
> + * @prop: Property to check.
> + *
> + * Check whether colorop supports a given property.
> + *
> + * Returns: True if the property is supported, otherwise false.
> + */
> +static inline bool
> +igt_colorop_has_prop(igt_colorop_t *colorop, enum igt_atomic_colorop_properties prop)
> +{
> +	return colorop->props[prop];
> +}
> +
> +uint64_t igt_colorop_get_prop(igt_display_t *display, igt_colorop_t *colorop, enum igt_atomic_colorop_properties prop);
> +
> +#define igt_colorop_is_prop_changed(colorop, prop) \
> +	(!!((colorop)->changed & (1 << (prop))))
> +
> +#define igt_colorop_set_prop_changed(colorop, prop) \
> +	(colorop)->changed |= 1 << (prop)
> +
> +#define igt_colorop_clear_prop_changed(colorop, prop) \
> +	(colorop)->changed &= ~(1 << (prop))
> +
> +#define igt_colorop_set_prop_value(colorop, prop, value) \
> +	do { \
> +		colorop->values[prop] = value; \
> +		igt_colorop_set_prop_changed(colorop, prop); \
> +	} while (0)
> +
> +
> +extern bool igt_colorop_try_prop_enum(igt_colorop_t *colorop,
> +				      enum igt_atomic_colorop_properties prop,
> +				      const char *val);
> +
> +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);
> @@ -1283,4 +1370,6 @@ int igt_backlight_write(int value, const char *fname, igt_backlight_context_t *c
>   
>   drmModePropertyBlobRes *get_writeback_formats_blob(igt_output_t *output);
>   
> +igt_colorop_t *igt_find_colorop(igt_display_t *display, uint32_t id);
> +
>   #endif /* __IGT_KMS_H__ */
> diff --git a/tests/kms_properties.c b/tests/kms_properties.c
> index 01ec3bedc..1f21fd851 100644
> --- a/tests/kms_properties.c
> +++ b/tests/kms_properties.c
> @@ -112,7 +112,10 @@ static bool ignore_property(uint32_t obj_type, uint32_t prop_flags,
>   			return true;
>   		break;
>   	case DRM_MODE_OBJECT_PLANE:
> -		if (has_color_pipeline && !strcmp(name, "COLOR_RANGE")) {
> +		if (!has_color_pipeline && !strcmp(name, "COLOR_PIPELINE")) {
> +			printf("hwhw: ignoring COLOR_PIPELINE\n");
> +			return true;
> +		}		if (has_color_pipeline && !strcmp(name, "COLOR_RANGE")) {
>   			printf("hwhw: ignoring COLOR_RANGE\n");
>   			return true;
>   		}


  reply	other threads:[~2025-04-03 10:05 UTC|newest]

Thread overview: 49+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-03-26 23:35 [PATCH V7 00/37] IGT tests for the KMS Color Pipeline API Alex Hung
2025-03-26 23:35 ` [PATCH V7 01/37] lib/drmtest: Add is_vkms_device() Alex Hung
2025-03-26 23:35 ` [PATCH V7 02/37] tests/kms_writeback: Fix kms_writeback for VKMS Alex Hung
2025-03-26 23:35 ` [PATCH V7 03/37] lib/igt_kms: Move get_writeback_formats_blob to lib Alex Hung
2025-04-03  6:41   ` Sharma, Swati2
2025-03-26 23:35 ` [PATCH V7 04/37] lib/igt_kms: Introduce DRM_CLIENT_CAP_PLANE_COLOR_PIPELINE Alex Hung
2025-03-26 23:35 ` [PATCH V7 05/37] include/drm-uapi: Add COLOROP object Alex Hung
2025-03-26 23:35 ` [PATCH V7 06/37] drm-uapi: Add 3x4 CTM Alex Hung
2025-03-26 23:35 ` [PATCH V7 07/37] drm-uapi: Add 1D LUT drm_colorop_type Alex Hung
2025-03-26 23:35 ` [PATCH V7 08/37] lib/igt_kms: Introduce drm_colorop and COLOR_PIPELINE Alex Hung
2025-04-03 10:04   ` Sharma, Swati2 [this message]
2025-03-26 23:35 ` [PATCH V7 09/37] tests/kms_properties: Add colorop properties test Alex Hung
2025-03-26 23:35 ` [PATCH V7 10/37] igt/color: Add SW color transform functionality Alex Hung
2025-03-26 23:35 ` [PATCH V7 11/37] lib/igt_fb: Add copy_fb function Alex Hung
2025-03-26 23:35 ` [PATCH V7 12/37] tests/kms_colorop: Add kms_colorop tests Alex Hung
2025-04-03  9:57   ` Sharma, Swati2
2025-03-26 23:35 ` [PATCH V7 13/37] lib/igt_kms: Add support for DATA colorop property Alex Hung
2025-03-26 23:35 ` [PATCH V7 14/37] lib/igt_color: Add support for 3x4 matrices Alex Hung
2025-03-26 23:35 ` [PATCH V7 15/37] tests/kms_colorop: Add 3x4 CTM tests Alex Hung
2025-03-26 23:35 ` [PATCH V7 16/37] tests/kms_colorop: Add bypass test Alex Hung
2025-03-26 23:35 ` [PATCH V7 17/37] tests/kms_colorop: Parametrize the buffer format Alex Hung
2025-03-26 23:35 ` [PATCH V7 18/37] tests/kms_colorop: Add 10bpc test and skip if format not supported Alex Hung
2025-03-26 23:35 ` [PATCH V7 19/37] tests/kms_colorop: Skip if writeback does not support fourcc Alex Hung
2025-03-26 23:35 ` [PATCH V7 20/37] lib/igt_fb: Allow any non-planar format for igt_copy_fb Alex Hung
2025-03-26 23:35 ` [PATCH V7 21/37] kms/colorop: Do proper setup and cleanup Alex Hung
2025-03-26 23:35 ` [PATCH V7 22/37] lib/igt_color: Support color transform for XRGB2101010 Alex Hung
2025-03-26 23:35 ` [PATCH V7 23/37] tests/kms_colorop: Set wide [13, 13] bracket for comparison on amdgpu Alex Hung
2025-03-26 23:35 ` [PATCH V7 24/37] lib/igt_color: Add PQ variants for 0-1 and 0-125 range Alex Hung
2025-03-26 23:35 ` [PATCH V7 25/37] tests/kms_colorop: Add tests for PQ variants Alex Hung
2025-03-26 23:35 ` [PATCH V7 26/37] lib/igt_kms: increase MAX_NUM_COLOROPS to 128 Alex Hung
2025-03-26 23:35 ` [PATCH V7 27/37] tests/kms_colorop: Add a sRGB test for EOTF -> Inverse EOTF -> EOTF Alex Hung
2025-03-26 23:36 ` [PATCH V7 28/37] lib/igt_color: add BT2020/BT709 transfer functions Alex Hung
2025-03-26 23:36 ` [PATCH V7 29/37] tests/kms_colorop: Add tests for BT2020/BT709 TFs Alex Hung
2025-03-26 23:36 ` [PATCH V7 30/37] lib/igt_color: Add 1D LUT color transformation support Alex Hung
2025-03-26 23:36 ` [PATCH V7 31/37] test/kms_colorop: Add tests that exercise the 1D LUT colorops Alex Hung
2025-03-26 23:36 ` [PATCH V7 32/37] tests/kms_colorop: Add multiplier tests Alex Hung
2025-03-26 23:36 ` [PATCH V7 33/37] lib/igt_color: Point license header at skia license Alex Hung
2025-03-26 23:36 ` [PATCH V7 34/37] scripts/convert_3dlut.py Convert a 3D LUT to igt_3dlut_t array for 3D LUT API Alex Hung
2025-03-26 23:36 ` [PATCH V7 35/37] tests/kms_colorop: Add a 3D LUT subtest Alex Hung
2025-03-26 23:36 ` [PATCH V7 36/37] drm-uapi: Update kernel doc for drm_colorop_type Alex Hung
2025-03-26 23:36 ` [PATCH V7 37/37] drm-uapi: Sync up definition with kernel colorop implementation Alex Hung
2025-03-27  0:48 ` ✓ Xe.CI.BAT: success for IGT tests for the KMS Color Pipeline API (rev7) Patchwork
2025-03-27  3:13 ` ✓ i915.CI.BAT: " Patchwork
2025-03-27  5:26 ` ✗ i915.CI.Full: failure " Patchwork
2025-03-27 13:49 ` ✗ Xe.CI.Full: " Patchwork
2025-03-28 12:00 ` Patchwork
2025-04-03 10:12 ` [PATCH V7 00/37] IGT tests for the KMS Color Pipeline API Sharma, Swati2
2025-04-07 23:26   ` Alex Hung
2025-04-06 16:26 ` ✗ Xe.CI.Full: failure for IGT tests for the KMS Color Pipeline API (rev7) Patchwork

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=92291c28-1f6d-4fab-9527-fe44f4f8732d@intel.com \
    --to=swati2.sharma@intel.com \
    --cc=alex.hung@amd.com \
    --cc=harry.wentland@amd.com \
    --cc=igt-dev@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox