Skip to contentSkip to conversation

drm: Add plane SIZE_HINTS property

PATCH In review Ville Syrjala 4 participants 8 messages Mar 18, 2024 – Mar 20, 2024

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

v3 cover drm: Add plane SIZE_HINTS property

From: Ville Syrjälä <[email protected]>

Final final version I hope. Mainly for CI to test against the new IGTs.

Real userspace implementation:
https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3165

IGT:
https://patchwork.freedesktop.org/series/131199/

Changes from v2:
- Limit to cursor planes only (Simon)

Test-with: [email protected]
Cc: Simon Ser <[email protected]>
Cc: Jonas Ådahl <[email protected]>
Cc: Daniel Stone <[email protected]>
Cc: Sameer Lattannavar <[email protected]>
Cc: Sebastian Wick <[email protected]>
Cc: Harry Wentland <[email protected]>
Cc: Pekka Paalanen <[email protected]>

Ville Syrjälä (2):
drm: Introduce plane SIZE_HINTS property
drm/i915: Add SIZE_HINTS property for cursors

 drivers/gpu/drm/drm_mode_config.c           |  7 +++
 drivers/gpu/drm/drm_plane.c                 | 56 +++++++++++++++++++++
 drivers/gpu/drm/i915/display/intel_cursor.c | 24 +++++++++
 include/drm/drm_mode_config.h               |  5 ++
 include/drm/drm_plane.h                     |  4 ++
 include/uapi/drm/drm_mode.h                 | 11 ++++
 6 files changed, 107 insertions(+)
Signature · 1 line
2.43.2
#1 lore raw

PATCH v3 1/2 drm: Introduce plane SIZE_HINTS property

From: Ville Syrjälä <[email protected]>

Add a new immutable plane property by which a plane can advertise a handful of recommended plane sizes. This would be mostly exposed by cursor planes as a slightly more capable replacement for the DRM_CAP_CURSOR_WIDTH/HEIGHT caps, which can only declare a one size fits all limit for the whole device.

Currently eg. amdgpu/i915/nouveau just advertize the max cursor size via the cursor size caps. But always using the max sized cursor can waste a surprising amount of power, so a better strategy is desirable.

Most other drivers don't specify any cursor size at all, in which case the ioctl code just claims that 64x64 is a great choice. Whether that is actually true is debatable.

A poll of various compositor developers informs us that blindly probing with setcursor/atomic ioctl to determine suitable cursor sizes is not acceptable, thus the introduction of the new property to supplant the cursor size caps. The compositor will now be free to select a more optimal cursor size from the short list of options.

Note that the reported sizes (either via the property or the caps) make no claims about things such as plane scaling. So these things should only really be consulted for simple "cursor like" use cases.

Userspace consumer in the form of mutter seems ready:
https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3165

v2: Try to add some docs
v3: Specify that value 0 is reserved for future use (basic idea from Jonas)
Drop the note about typical hardware (Pekka)
v4: Update the docs to indicate the list is "in order of preference"
Add a a link to the mutter MR
v5: Limit to cursors only for now (Simon)

---
 drivers/gpu/drm/drm_mode_config.c |  7 ++++
 drivers/gpu/drm/drm_plane.c       | 56 +++++++++++++++++++++++++++++++
 include/drm/drm_mode_config.h     |  5 +++
 include/drm/drm_plane.h           |  4 +++
 include/uapi/drm/drm_mode.h       | 11 ++++++
 5 files changed, 83 insertions(+)
drivers/gpu/drm/drm_mode_config.c +7 -0
index 48fd2d67f352..568972258222 100644
@@ -372,6 +372,13 @@ static int drm_mode_create_standard_properties(struct drm_device *dev)
 		return -ENOMEM;
 	dev->mode_config.modifiers_property = prop;
 
+	prop = drm_property_create(dev,
+				   DRM_MODE_PROP_IMMUTABLE | DRM_MODE_PROP_BLOB,
+				   "SIZE_HINTS", 0);
+	if (!prop)
+		return -ENOMEM;
+	dev->mode_config.size_hints_property = prop;
+
 	return 0;
 }
 
drivers/gpu/drm/drm_plane.c +56 -0

65 lines not on this page · raw message

include/drm/drm_mode_config.h +5 -0
index 973119a9176b..9d8acf7a10eb 100644
@@ -942,6 +942,11 @@ struct drm_mode_config {
 	 */
 	struct drm_property *modifiers_property;
 
+	/**
+	 * @size_hints_propertty: Plane SIZE_HINTS property.
+	 */
+	struct drm_property *size_hints_property;
+
 	/* cursor size */
 	uint32_t cursor_width, cursor_height;
 
include/drm/drm_plane.h +4 -0
index 641fe298052d..ec1112208b73 100644
@@ -32,6 +32,7 @@
 #include <drm/drm_util.h>
 
 struct drm_crtc;
+struct drm_plane_size_hint;
 struct drm_printer;
 struct drm_modeset_acquire_ctx;
 
@@ -976,5 +977,8 @@ drm_plane_get_damage_clips(const struct drm_plane_state *state);
 
 int drm_plane_create_scaling_filter_property(struct drm_plane *plane,
 					     unsigned int supported_filters);
+int drm_plane_add_size_hints_property(struct drm_plane *plane,
+				      const struct drm_plane_size_hint *hints,
+				      int num_hints);
 
 #endif
include/uapi/drm/drm_mode.h +11 -0
index 7040e7ea80c7..1ca5c7e418fd 100644
@@ -865,6 +865,17 @@ struct drm_color_lut {
 	__u16 reserved;
 };
 
+/**
+ * struct drm_plane_size_hint - Plane size hints
+ *
+ * The plane SIZE_HINTS property blob contains an
+ * array of struct drm_plane_size_hint.
+ */
+struct drm_plane_size_hint {
+	__u16 width;
+	__u16 height;
+};
+
 /**
  * struct hdr_metadata_infoframe - HDR Metadata Infoframe Data.
  *
Signature · 1 line
2.43.2
#2 lore raw

Re: [PATCH v3 1/2] drm: Introduce plane SIZE_HINTS property

kernel test robot noticed the following build warnings:

Hi Ville,

kernel test robot noticed the following build warnings:

[auto build test WARNING on drm-misc/drm-misc-next]
[also build test WARNING on drm-intel/for-linux-next drm-intel/for-linux-next-fixes drm-tip/drm-tip linus/master v6.8 next-20240319] [If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url:    https://github.com/intel-lab-lkp/linux/commits/Ville-Syrjala/drm-Introduce-plane-SIZE_HINTS-property/20240319-044605
base:   git://anongit.freedesktop.org/drm/drm-misc drm-misc-next
patch link:    https://lore.kernel.org/r/20240318204408.9687-2-ville.syrjala%40linux.intel.com
patch subject: [PATCH v3 1/2] drm: Introduce plane SIZE_HINTS property
config: x86_64-defconfig (https://download.01.org/0day-ci/archive/20240319/[email protected]/config)
compiler: gcc-11 (Debian 11.3.0-12) 11.3.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240319/[email protected]/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/

All warnings (new ones prefixed by >>):

>> drivers/gpu/drm/drm_plane.c:1767: warning: expecting prototype for drm_plane_add_size_hint_property(). Prototype was for drm_plane_add_size_hints_property() instead

vim +1767 drivers/gpu/drm/drm_plane.c

1751
1752 /**
1753 * drm_plane_add_size_hint_property - create a size hint property
1754 *
1755 * @plane: drm plane
1756 * @hints: size hints
1757 * @num_hints: number of size hints
1758 *
1759 * Create a size hints property for the plane.
1760 *
1761 * RETURNS:
1762 * Zero for success or -errno
1763 */
1764 int drm_plane_add_size_hints_property(struct drm_plane *plane,
1765 const struct drm_plane_size_hint *hints,
1766 int num_hints)

> 1767	{
Signature · 2 lines
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
#3 lore raw

PATCH v3 2/2 drm/i915: Add SIZE_HINTS property for cursors

In reply to Ville Syrjala

From: Ville Syrjälä <[email protected]>

Advertize more suitable cursor sizes via the new SIZE_HINTS plane property.

We can't really enumerate all supported cursor sizes on the platforms where the cursor height can vary freely, so for simplicity we'll just expose all square+POT sizes between each platform's min and max cursor limits.

Depending on the platform this will give us one of three results:
- 64x64,128x128,256x256,512x512
- 64x64,128x128,256x256
- 64x64

Cc Simon Ser <[email protected]>
Cc Jonas Ådahl <[email protected]>
Cc Daniel Stone <[email protected]>
Cc Sameer Lattannavar <[email protected]>
Cc Sebastian Wick <[email protected]>
Cc Harry Wentland <[email protected]>
Cc Pekka Paalanen <[email protected]>
---
 drivers/gpu/drm/i915/display/intel_cursor.c | 24 +++++++++++++++++++++
 1 file changed, 24 insertions(+)
drivers/gpu/drm/i915/display/intel_cursor.c +24 -0
index f8b33999d43f..49e9b9be2235 100644
@@ -823,6 +823,28 @@ static const struct drm_plane_funcs intel_cursor_plane_funcs = {
 	.format_mod_supported = intel_cursor_format_mod_supported,
 };
 
+static void intel_cursor_add_size_hints_property(struct intel_plane *plane)
+{
+	struct drm_i915_private *i915 = to_i915(plane->base.dev);
+	const struct drm_mode_config *config = &i915->drm.mode_config;
+	struct drm_plane_size_hint hints[4];
+	int size, max_size, num_hints = 0;
+
+	max_size = min(config->cursor_width, config->cursor_height);
+
+	/* for simplicity only enumerate the supported square+POT sizes */
+	for (size = 64; size <= max_size; size *= 2) {
+		if (drm_WARN_ON(&i915->drm, num_hints >= ARRAY_SIZE(hints)))
+			break;
+
+		hints[num_hints].width = size;
+		hints[num_hints].height = size;
+		num_hints++;
+	}
+
+	drm_plane_add_size_hints_property(&plane->base, hints, num_hints);
+}
+
 struct intel_plane *
 intel_cursor_plane_create(struct drm_i915_private *dev_priv,
 			  enum pipe pipe)
@@ -881,6 +903,8 @@ intel_cursor_plane_create(struct drm_i915_private *dev_priv,
 						   DRM_MODE_ROTATE_0 |
 						   DRM_MODE_ROTATE_180);
 
+	intel_cursor_add_size_hints_property(cursor);
+
 	zpos = DISPLAY_RUNTIME_INFO(dev_priv)->num_sprites[pipe] + 1;
 	drm_plane_create_zpos_immutable_property(&cursor->base, zpos);
 
Signature · 1 line
2.43.2
Reviewed-by on v3 2/2
#4 lore raw

Re: [PATCH v3 2/2] drm/i915: Add SIZE_HINTS property for cursors

look all ok to me.

Quoted 70 lines · Ville Syrjala

From: Ville Syrjälä <[email protected]>

Advertize more suitable cursor sizes via the new SIZE_HINTS plane property.

We can't really enumerate all supported cursor sizes on the platforms where the cursor height can vary freely, so for simplicity we'll just expose all square+POT sizes between each platform's min and max cursor limits.

Depending on the platform this will give us one of three results:
- 64x64,128x128,256x256,512x512
- 64x64,128x128,256x256
- 64x64

Cc Simon Ser <[email protected]>
Cc Jonas Ådahl <[email protected]>
Cc Daniel Stone <[email protected]>
Cc Sameer Lattannavar <[email protected]>
Cc Sebastian Wick <[email protected]>
Cc Harry Wentland <[email protected]>
Cc Pekka Paalanen <[email protected]>
---
  drivers/gpu/drm/i915/display/intel_cursor.c | 24 +++++++++++++++++++++
  1 file changed, 24 insertions(+)
drivers/gpu/drm/i915/display/intel_cursor.c +24 -0
index f8b33999d43f..49e9b9be2235 100644
@@ -823,6 +823,28 @@ static const struct drm_plane_funcs intel_cursor_plane_funcs = {
  	.format_mod_supported = intel_cursor_format_mod_supported,
  };
 
+static void intel_cursor_add_size_hints_property(struct intel_plane *plane)
+{
+	struct drm_i915_private *i915 = to_i915(plane->base.dev);
+	const struct drm_mode_config *config = &i915->drm.mode_config;
+	struct drm_plane_size_hint hints[4];
+	int size, max_size, num_hints = 0;
+
+	max_size = min(config->cursor_width, config->cursor_height);
+
+	/* for simplicity only enumerate the supported square+POT sizes */
+	for (size = 64; size <= max_size; size *= 2) {
+		if (drm_WARN_ON(&i915->drm, num_hints >= ARRAY_SIZE(hints)))
+			break;
+
+		hints[num_hints].width = size;
+		hints[num_hints].height = size;
+		num_hints++;
+	}
+
+	drm_plane_add_size_hints_property(&plane->base, hints, num_hints);
+}
+
  struct intel_plane *
  intel_cursor_plane_create(struct drm_i915_private *dev_priv,
  			  enum pipe pipe)
@@ -881,6 +903,8 @@ intel_cursor_plane_create(struct drm_i915_private *dev_priv,
  						   DRM_MODE_ROTATE_0 |
  						   DRM_MODE_ROTATE_180);
 
+	intel_cursor_add_size_hints_property(cursor);
+
  	zpos = DISPLAY_RUNTIME_INFO(dev_priv)->num_sprites[pipe] + 1;
  	drm_plane_create_zpos_immutable_property(&cursor->base, zpos);
 
#6 lore raw

✗ Fi.CI.BAT: failure for drm: Add plane SIZE_HINTS property (rev6)

In reply to Ville Syrjala
== Series Details ==

== Series Details ==

Series: drm: Add plane SIZE_HINTS property (rev6)
URL : https://patchwork.freedesktop.org/series/113758/
State : failure

== Summary ==

CI Bug Log - changes from CI_DRM_14443 -> Patchwork_113758v6
====================================================

Summary
-------

**FAILURE**

Serious unknown changes coming with Patchwork_113758v6 absolutely need to be verified manually.

If you think the reported changes have nothing to do with the changes
introduced in Patchwork_113758v6, 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/Patchwork_113758v6/index.html

Participating hosts (35 -> 34)
------------------------------

Additional (2): bat-arls-4 bat-jsl-1
Missing (3): bat-kbl-2 bat-dg2-11 fi-snb-2520m

Possible new issues
-------------------

Here are the unknown changes that may have been introduced in Patchwork_113758v6:

### IGT changes ###

#### Possible regressions ####

* igt@i915_selftest@live@slpc:
- bat-arls-1: [PASS][1] -> [DMESG-WARN][2]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14443/bat-arls-1/igt@i915_selftest@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_113758v6/bat-arls-1/igt@i915_selftest@[email protected]

New tests
---------

New tests have been introduced between CI_DRM_14443 and Patchwork_113758v6:

### New IGT tests (23) ###

* igt@kms_cursor_crc@cursor-size-hints:
- Statuses : 7 skip(s)
- Exec time: [0.0] s

* igt@kms_cursor_crc@cursor-size-hints@pipe-a-dp-1:
- Statuses : 4 pass(s)
- Exec time: [0.42, 0.51] s

* igt@kms_cursor_crc@cursor-size-hints@pipe-a-dp-2:
- Statuses : 1 pass(s)
- Exec time: [0.47] s

* igt@kms_cursor_crc@cursor-size-hints@pipe-a-dp-3:
- Statuses : 2 pass(s)
- Exec time: [0.55, 0.56] s

* igt@kms_cursor_crc@cursor-size-hints@pipe-a-dp-6:
- Statuses : 1 pass(s)
- Exec time: [1.54] s

* igt@kms_cursor_crc@cursor-size-hints@pipe-a-edp-1:
- Statuses : 5 pass(s)
- Exec time: [0.66, 0.83] s

* igt@kms_cursor_crc@cursor-size-hints@pipe-a-hdmi-a-1:
- Statuses : 6 pass(s)
- Exec time: [0.29, 0.74] s

* igt@kms_cursor_crc@cursor-size-hints@pipe-a-hdmi-a-2:
- Statuses : 3 pass(s)
- Exec time: [0.52, 0.81] s

* igt@kms_cursor_crc@cursor-size-hints@pipe-a-vga-1:
- Statuses : 3 pass(s)
- Exec time: [0.29, 0.84] s

* igt@kms_cursor_crc@cursor-size-hints@pipe-b-hdmi-a-1:
- Statuses : 1 pass(s)
- Exec time: [0.32] s

* igt@kms_cursor_crc@cursor-size-hints@pipe-b-vga-1:
- Statuses : 2 pass(s)
- Exec time: [0.27, 0.68] s

* igt@kms_cursor_crc@cursor-size-hints@pipe-c-dp-1:
- Statuses : 3 pass(s)
- Exec time: [0.51, 0.56] s

* igt@kms_cursor_crc@cursor-size-hints@pipe-c-edp-1:
- Statuses : 3 pass(s)
- Exec time: [1.40, 1.47] s

* igt@kms_cursor_crc@cursor-size-hints@pipe-c-hdmi-a-1:
- Statuses : 3 pass(s)
- Exec time: [0.27, 0.35] s

* igt@kms_cursor_crc@cursor-size-hints@pipe-c-hdmi-a-2:
- Statuses : 1 pass(s)
- Exec time: [0.67] s

* igt@kms_cursor_crc@cursor-size-hints@pipe-c-vga-1:
- Statuses : 1 pass(s)
- Exec time: [0.23] s

* igt@kms_cursor_crc@cursor-size-hints@pipe-d-dp-1:
- Statuses : 1 pass(s)
- Exec time: [0.39] s

* igt@kms_cursor_crc@cursor-size-hints@pipe-d-dp-2:
- Statuses : 1 pass(s)
- Exec time: [0.44] s

* igt@kms_cursor_crc@cursor-size-hints@pipe-d-dp-3:
- Statuses : 2 pass(s)
- Exec time: [0.52, 0.54] s

* igt@kms_cursor_crc@cursor-size-hints@pipe-d-dp-6:
- Statuses : 1 pass(s)
- Exec time: [0.79] s

* igt@kms_cursor_crc@cursor-size-hints@pipe-d-edp-1:
- Statuses : 2 pass(s)
- Exec time: [1.34, 1.40] s

* igt@kms_cursor_crc@cursor-size-hints@pipe-d-hdmi-a-1:
- Statuses : 2 pass(s)
- Exec time: [0.23, 0.34] s

* igt@kms_cursor_crc@cursor-size-hints@pipe-d-hdmi-a-2:
- Statuses : 3 pass(s)
- Exec time: [0.40, 0.67] s

Known issues
------------

Here are the changes found in Patchwork_113758v6 that come from known issues:

### CI changes ###

#### Possible fixes ####

* boot:
- fi-cfl-8109u: [FAIL][3] ([i915#8293]) -> [PASS][4]
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14443/fi-cfl-8109u/boot.html
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_113758v6/fi-cfl-8109u/boot.html

### IGT changes ###

#### Issues hit ####

* igt@debugfs_test@basic-hwmon:
- bat-jsl-1: NOTRUN -> [SKIP][5] ([i915#9318])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_113758v6/bat-jsl-1/igt@[email protected]

* igt@gem_huc_copy@huc-copy:
- fi-cfl-8109u: NOTRUN -> [SKIP][6] ([i915#2190])
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_113758v6/fi-cfl-8109u/igt@[email protected]
- bat-jsl-1: NOTRUN -> [SKIP][7] ([i915#2190])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_113758v6/bat-jsl-1/igt@[email protected]

* igt@gem_lmem_swapping@parallel-random-engines:
- bat-jsl-1: NOTRUN -> [SKIP][8] ([i915#4613]) +3 other tests skip
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_113758v6/bat-jsl-1/igt@[email protected]

* igt@gem_lmem_swapping@verify-random:
- fi-cfl-8109u: NOTRUN -> [SKIP][9] ([i915#4613]) +3 other tests skip
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_113758v6/fi-cfl-8109u/igt@[email protected]

* igt@i915_selftest@live@guc_multi_lrc:
- bat-arls-1: [PASS][10] -> [DMESG-FAIL][11] ([i915#10262]) +3 other tests dmesg-fail
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14443/bat-arls-1/igt@i915_selftest@live@guc_multi_lrc.html
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_113758v6/bat-arls-1/igt@i915_selftest@live@guc_multi_lrc.html

* {igt@kms_cursor_crc@cursor-size-hints} (NEW):
- bat-dg2-8: NOTRUN -> [SKIP][12] ([i915#9197])
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_113758v6/bat-dg2-8/igt@[email protected]
- fi-kbl-guc: NOTRUN -> [SKIP][13]
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_113758v6/fi-kbl-guc/igt@[email protected]
- bat-adlm-1: NOTRUN -> [SKIP][14] ([i915#9900])
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_113758v6/bat-adlm-1/igt@[email protected]
- bat-dg2-9: NOTRUN -> [SKIP][15] ([i915#9197])
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_113758v6/bat-dg2-9/igt@[email protected]
- fi-kbl-x1275: NOTRUN -> [SKIP][16]
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_113758v6/fi-kbl-x1275/igt@[email protected]
- fi-kbl-8809g: NOTRUN -> [SKIP][17]
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_113758v6/fi-kbl-8809g/igt@[email protected]
- bat-atsm-1: NOTRUN -> [SKIP][18] ([i915#6078])
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_113758v6/bat-atsm-1/igt@[email protected]

* igt@kms_cursor_legacy@basic-busy-flip-before-cursor-legacy:
- bat-jsl-1: NOTRUN -> [SKIP][19] ([i915#4103]) +1 other test skip
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_113758v6/bat-jsl-1/igt@[email protected]

* igt@kms_dsc@dsc-basic:
- fi-cfl-8109u: NOTRUN -> [SKIP][20] +11 other tests skip
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_113758v6/fi-cfl-8109u/igt@[email protected]
- bat-jsl-1: NOTRUN -> [SKIP][21] ([i915#3555] / [i915#9886])
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_113758v6/bat-jsl-1/igt@[email protected]

* igt@kms_force_connector_basic@force-load-detect:
- bat-jsl-1: NOTRUN -> [SKIP][22]
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_113758v6/bat-jsl-1/igt@[email protected]

* igt@kms_setmode@basic-clone-single-crtc:
- bat-jsl-1: NOTRUN -> [SKIP][23] ([i915#3555])
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_113758v6/bat-jsl-1/igt@[email protected]

#### Possible fixes ####

* igt@i915_selftest@live@gem_contexts:
- fi-apl-guc: [ABORT][24] -> [PASS][25]
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14443/fi-apl-guc/igt@i915_selftest@live@gem_contexts.html
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_113758v6/fi-apl-guc/igt@i915_selftest@live@gem_contexts.html

* igt@i915_selftest@live@hangcheck:
- bat-adlp-6: [ABORT][26] ([i915#10021]) -> [PASS][27]
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14443/bat-adlp-6/igt@i915_selftest@[email protected]
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_113758v6/bat-adlp-6/igt@i915_selftest@[email protected]
- bat-rpls-3: [DMESG-WARN][28] ([i915#5591]) -> [PASS][29]
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14443/bat-rpls-3/igt@i915_selftest@[email protected]
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_113758v6/bat-rpls-3/igt@i915_selftest@[email protected]

{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).

[i915#10021]: https://gitlab.freedesktop.org/drm/intel/issues/10021
[i915#10196]: https://gitlab.freedesktop.org/drm/intel/issues/10196
[i915#10197]: https://gitlab.freedesktop.org/drm/intel/issues/10197
[i915#10200]: https://gitlab.freedesktop.org/drm/intel/issues/10200
[i915#10202]: https://gitlab.freedesktop.org/drm/intel/issues/10202
[i915#10206]: https://gitlab.freedesktop.org/drm/intel/issues/10206
[i915#10207]: https://gitlab.freedesktop.org/drm/intel/issues/10207
[i915#10208]: https://gitlab.freedesktop.org/drm/intel/issues/10208
[i915#10209]: https://gitlab.freedesktop.org/drm/intel/issues/10209
[i915#10211]: https://gitlab.freedesktop.org/drm/intel/issues/10211
[i915#10212]: https://gitlab.freedesktop.org/drm/intel/issues/10212
[i915#10213]: https://gitlab.freedesktop.org/drm/intel/issues/10213
[i915#10214]: https://gitlab.freedesktop.org/drm/intel/issues/10214
[i915#10216]: https://gitlab.freedesktop.org/drm/intel/issues/10216
[i915#10262]: https://gitlab.freedesktop.org/drm/intel/issues/10262
[i915#2190]: https://gitlab.freedesktop.org/drm/intel/issues/2190
[i915#3555]: https://gitlab.freedesktop.org/drm/intel/issues/3555
[i915#3708]: https://gitlab.freedesktop.org/drm/intel/issues/3708
[i915#4077]: https://gitlab.freedesktop.org/drm/intel/issues/4077
[i915#4079]: https://gitlab.freedesktop.org/drm/intel/issues/4079
[i915#4083]: https://gitlab.freedesktop.org/drm/intel/issues/4083
[i915#4103]: https://gitlab.freedesktop.org/drm/intel/issues/4103
[i915#4613]: https://gitlab.freedesktop.org/drm/intel/issues/4613
[i915#5591]: https://gitlab.freedesktop.org/drm/intel/issues/5591
[i915#6078]: https://gitlab.freedesktop.org/drm/intel/issues/6078
[i915#8293]: https://gitlab.freedesktop.org/drm/intel/issues/8293
[i915#8809]: https://gitlab.freedesktop.org/drm/intel/issues/8809
[i915#9197]: https://gitlab.freedesktop.org/drm/intel/issues/9197
[i915#9318]: https://gitlab.freedesktop.org/drm/intel/issues/9318
[i915#9732]: https://gitlab.freedesktop.org/drm/intel/issues/9732
[i915#9812]: https://gitlab.freedesktop.org/drm/intel/issues/9812
[i915#9886]: https://gitlab.freedesktop.org/drm/intel/issues/9886
[i915#9900]: https://gitlab.freedesktop.org/drm/intel/issues/9900

Build changes
-------------

* IGT: IGT_7769 -> IGTPW_10848
* Linux: CI_DRM_14443 -> Patchwork_113758v6

CI-20190529: 20190529
CI_DRM_14443: ce8cc731d53f9197a853b0d00386d7835f2b80e6 @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_10848: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10848/index.html
IGT_7769: 7769
Patchwork_113758v6: ce8cc731d53f9197a853b0d00386d7835f2b80e6 @ git://anongit.freedesktop.org/gfx-ci/linux

### Linux commits

3ebe7f36efb4 drm/i915: Add SIZE_HINTS property for cursors 90a85e9601b4 drm: Introduce plane SIZE_HINTS property

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_113758v6/index.html

#7 lore raw
In reply to Ville Syrjala
Quoted 10 lines · Ville Syrjala

From: Ville Syrjälä <[email protected]>

Final final version I hope. Mainly for CI to test against the new IGTs.

Real userspace implementation:
https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3165

IGT:
https://patchwork.freedesktop.org/series/131199/

CI said the IGT was correctly skipping without the kernel patches, and passed on all i915 supported machines with the kernel patches in place.

So looks like we're all good to merge this, as soon as I get someone to review thew i915 patch...

PS. I forgot to cc dri-devel with this series, but bounced
the whole thing there now.

Quoted 27 lines

Changes from v2:
- Limit to cursor planes only (Simon)

Test-with: [email protected]
Cc: Simon Ser <[email protected]>
Cc: Jonas Ådahl <[email protected]>
Cc: Daniel Stone <[email protected]>
Cc: Sameer Lattannavar <[email protected]>
Cc: Sebastian Wick <[email protected]>
Cc: Harry Wentland <[email protected]>
Cc: Pekka Paalanen <[email protected]>

Ville Syrjälä (2):
drm: Introduce plane SIZE_HINTS property
drm/i915: Add SIZE_HINTS property for cursors

 drivers/gpu/drm/drm_mode_config.c           |  7 +++
 drivers/gpu/drm/drm_plane.c                 | 56 +++++++++++++++++++++
 drivers/gpu/drm/i915/display/intel_cursor.c | 24 +++++++++
 include/drm/drm_mode_config.h               |  5 ++
 include/drm/drm_plane.h                     |  4 ++
 include/uapi/drm/drm_mode.h                 | 11 ++++
 6 files changed, 107 insertions(+)
Signature · 1 line
2.43.2
Signature · 2 lines
Ville Syrjälä
Intel