Re: [Intel-gfx] [PATCH 1/2] drm: Introduce plane SIZE_HINTS property

2023-02-14 Thread Ville Syrjälä
On Tue, Feb 14, 2023 at 01:17:45PM +0200, Pekka Paalanen wrote: > On Tue, 14 Feb 2023 12:27:45 +0200 > Ville Syrjälä wrote: > > > On Tue, Feb 14, 2023 at 11:42:27AM +0200, Pekka Paalanen wrote: > > > On Thu, 9 Feb 2023 13:51:05 +0200 > > > Pekka Paalanen wrote: > > > > > > > Maybe we could re

Re: [Intel-gfx] [PATCH 1/2] drm: Introduce plane SIZE_HINTS property

2023-02-14 Thread Pekka Paalanen
On Tue, 14 Feb 2023 12:27:45 +0200 Ville Syrjälä wrote: > On Tue, Feb 14, 2023 at 11:42:27AM +0200, Pekka Paalanen wrote: > > On Thu, 9 Feb 2023 13:51:05 +0200 > > Pekka Paalanen wrote: > > > > > Maybe we could refine this so that userspace uses the stride and height > > > implied by the caps

Re: [Intel-gfx] [PATCH 1/2] drm: Introduce plane SIZE_HINTS property

2023-02-14 Thread Ville Syrjälä
On Tue, Feb 14, 2023 at 11:42:27AM +0200, Pekka Paalanen wrote: > On Thu, 9 Feb 2023 13:51:05 +0200 > Pekka Paalanen wrote: > > > Maybe we could refine this so that userspace uses the stride and height > > implied by the caps for allocation, and then use the exact cursor image > > size for AddFB2

Re: [Intel-gfx] [PATCH 1/2] drm: Introduce plane SIZE_HINTS property

2023-02-14 Thread Pekka Paalanen
On Thu, 9 Feb 2023 13:51:05 +0200 Pekka Paalanen wrote: > Maybe we could refine this so that userspace uses the stride and height > implied by the caps for allocation, and then use the exact cursor image > size for AddFB2? And have drivers pick any size between those two they > can use. The kerne

Re: [Intel-gfx] [PATCH 1/2] drm: Introduce plane SIZE_HINTS property

2023-02-13 Thread Pekka Paalanen
On Wed, 8 Feb 2023 23:16:56 +0200 Ville Syrjälä wrote: > On Wed, Feb 08, 2023 at 03:03:49PM +0200, Ville Syrjälä wrote: > > On Wed, Feb 08, 2023 at 02:13:12PM +0200, Pekka Paalanen wrote: > > > On Wed, 8 Feb 2023 06:09:10 +0200 > > > Ville Syrjala wrote: > > > > > > > From: Ville Syrjälä

Re: [Intel-gfx] [PATCH 1/2] drm: Introduce plane SIZE_HINTS property

2023-02-13 Thread Pekka Paalanen
On Wed, 8 Feb 2023 06:09:10 +0200 Ville Syrjala wrote: > From: Ville Syrjälä > > 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_CU

Re: [Intel-gfx] [PATCH 1/2] drm: Introduce plane SIZE_HINTS property

2023-02-08 Thread Ville Syrjälä
On Wed, Feb 08, 2023 at 03:03:49PM +0200, Ville Syrjälä wrote: > On Wed, Feb 08, 2023 at 02:13:12PM +0200, Pekka Paalanen wrote: > > On Wed, 8 Feb 2023 06:09:10 +0200 > > Ville Syrjala wrote: > > > > > From: Ville Syrjälä > > > > > > Add a new immutable plane property by which a plane can adve

Re: [Intel-gfx] [PATCH 1/2] drm: Introduce plane SIZE_HINTS property

2023-02-08 Thread Harry Wentland
On 2/7/23 23:09, Ville Syrjala wrote: From: Ville Syrjälä 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, whi

Re: [Intel-gfx] [PATCH 1/2] drm: Introduce plane SIZE_HINTS property

2023-02-08 Thread Ville Syrjälä
On Wed, Feb 08, 2023 at 02:13:12PM +0200, Pekka Paalanen wrote: > On Wed, 8 Feb 2023 06:09:10 +0200 > Ville Syrjala wrote: > > > From: Ville Syrjälä > > > > Add a new immutable plane property by which a plane can advertise > > a handful of recommended plane sizes. This would be mostly exposed

Re: [Intel-gfx] [PATCH 1/2] drm: Introduce plane SIZE_HINTS property

2023-02-07 Thread kernel test robot
patch link: https://lore.kernel.org/r/20230208040911.12590-2-ville.syrjala%40linux.intel.com patch subject: [Intel-gfx] [PATCH 1/2] drm: Introduce plane SIZE_HINTS property config: m68k-allyesconfig (https://download.01.org/0day-ci/archive/20230208/202302081339.rlz6hx1b-...@intel.com/config

Re: [Intel-gfx] [PATCH 1/2] drm: Introduce plane SIZE_HINTS property

2023-02-07 Thread kernel test robot
patch link: https://lore.kernel.org/r/20230208040911.12590-2-ville.syrjala%40linux.intel.com patch subject: [Intel-gfx] [PATCH 1/2] drm: Introduce plane SIZE_HINTS property config: x86_64-rhel-8.3-kselftests (https://download.01.org/0day-ci/archive/20230208/202302081454.aonxo1kr-...@intel.com

[Intel-gfx] [PATCH 1/2] drm: Introduce plane SIZE_HINTS property

2023-02-07 Thread Ville Syrjala
From: Ville Syrjälä 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 lim