Re: simpledrm, running display servers, and drivers replacing simpledrm while the display server is running

2024-05-10 Thread Jonas Ådahl
On Fri, May 10, 2024 at 02:45:48PM +0200, Thomas Zimmermann wrote: > Hi > > > (This was discussed on #dri-devel, but I'll reiterate here as well). > > > > There are two problems at hand; one is the race condition during boot > > when the login screen (or whatever display server appears first) is

Re: simpledrm, running display servers, and drivers replacing simpledrm while the display server is running

2024-05-10 Thread Jonas Ådahl
On Fri, May 10, 2024 at 09:32:02AM +0200, Thomas Zimmermann wrote: > Hi > > Am 09.05.24 um 15:06 schrieb nerdopolis: > > > > Hi > > > > > > So I have been made aware of an apparent race condition of some drivers > > taking a bit longer to load, which could lead to a possible race > > condition

Re: [RFC] Plane color pipeline KMS uAPI

2023-05-11 Thread Jonas Ådahl
like that in Gamescope. > That's not to be rude, we are just picky and want freedom to do what > we want and iterate on it easily. > > I guess this all comes back to my initial point... having some > userspace to handle stuff that is either kinda or entirely vendor > specific is the ri

Re: [RFC] Plane color pipeline KMS uAPI

2023-05-10 Thread Jonas Ådahl
On Tue, May 09, 2023 at 08:22:30PM +, Simon Ser wrote: > On Tuesday, May 9th, 2023 at 21:53, Dave Airlie wrote: > > > There are also other vendor side effects to having this in userspace. > > > > Will the library have a loader? > > Will it allow proprietary plugins? > > Will it allow

Re: [RFC] Plane color pipeline KMS uAPI

2023-05-08 Thread Jonas Ådahl
On Mon, May 08, 2023 at 09:14:18AM +1000, Dave Airlie wrote: > On Sat, 6 May 2023 at 08:21, Sebastian Wick wrote: > > > > On Fri, May 5, 2023 at 10:40 PM Dave Airlie wrote: > > > > > > On Fri, 5 May 2023 at 01:23, Simon Ser wrote: > > > > > > > > Hi all, > > > > > > > > The goal of this RFC is

Re: [PATCH v2 1/8] drm: Disable the cursor plane on atomic contexts with virtualized drivers

2023-05-04 Thread Jonas Ådahl
On Thu, May 04, 2023 at 01:39:04PM +0300, Pekka Paalanen wrote: > On Thu, 4 May 2023 01:50:25 + > Zack Rusin wrote: > > > On Wed, 2023-05-03 at 09:48 +0200, Javier Martinez Canillas wrote: > > > Zack Rusin writes: > > > > > > > On Tue, 2023-05-02 at 11:32 +0200, Javier Martinez Canillas

Re: [PATCH v10 01/15] dma-buf/dma-fence: Add deadline awareness

2023-03-21 Thread Jonas Ådahl
On Fri, Mar 17, 2023 at 08:59:48AM -0700, Rob Clark wrote: > On Fri, Mar 17, 2023 at 3:23 AM Jonas Ådahl wrote: > > > > On Thu, Mar 16, 2023 at 09:28:55AM -0700, Rob Clark wrote: > > > On Thu, Mar 16, 2023 at 2:26 AM Jonas Ådahl wrote: > > > > > > &g

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

2023-03-17 Thread Jonas Ådahl
On Fri, Mar 17, 2023 at 03:15:56PM +0200, Ville Syrjälä wrote: > On Fri, Mar 17, 2023 at 01:29:13PM +0100, Jonas Ådahl wrote: > > On Fri, Mar 17, 2023 at 01:21:43PM +0100, Jonas Ådahl wrote: > > > On Fri, Mar 17, 2023 at 01:33:25PM +0200, Ville Syrjälä wrote: > > > >

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

2023-03-17 Thread Jonas Ådahl
On Fri, Mar 17, 2023 at 01:21:43PM +0100, Jonas Ådahl wrote: > On Fri, Mar 17, 2023 at 01:33:25PM +0200, Ville Syrjälä wrote: > > On Fri, Mar 17, 2023 at 11:34:16AM +0100, Jonas Ådahl wrote: > > > On Mon, Mar 13, 2023 at 06:33:11PM +0200, Ville Syrjala wrote: > >

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

2023-03-17 Thread Jonas Ådahl
On Fri, Mar 17, 2023 at 01:33:25PM +0200, Ville Syrjälä wrote: > On Fri, Mar 17, 2023 at 11:34:16AM +0100, Jonas Ådahl wrote: > > On Mon, Mar 13, 2023 at 06:33:11PM +0200, Ville Syrjala wrote: > > > From: Ville Syrjälä > > > > > > Add a new immutable plane pro

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

2023-03-17 Thread Jonas Ådahl
; v3: Specify that value 0 is reserved for future use (basic idea from Jonas) > Drop the note about typical hardware (Pekka) > > Cc: Simon Ser > Cc: Jonas Ådahl > Cc: Daniel Stone > Cc: Pekka Paalanen > Acked-by: Harry Wentland > Acked-by: Pekka Paalanen

Re: [PATCH v10 01/15] dma-buf/dma-fence: Add deadline awareness

2023-03-17 Thread Jonas Ådahl
On Thu, Mar 16, 2023 at 09:28:55AM -0700, Rob Clark wrote: > On Thu, Mar 16, 2023 at 2:26 AM Jonas Ådahl wrote: > > > > On Wed, Mar 15, 2023 at 09:19:49AM -0700, Rob Clark wrote: > > > On Wed, Mar 15, 2023 at 6:53 AM Jonas Ådahl wrote: > > > > > > &g

Re: [PATCH v10 01/15] dma-buf/dma-fence: Add deadline awareness

2023-03-16 Thread Jonas Ådahl
On Wed, Mar 15, 2023 at 09:19:49AM -0700, Rob Clark wrote: > On Wed, Mar 15, 2023 at 6:53 AM Jonas Ådahl wrote: > > > > On Fri, Mar 10, 2023 at 09:38:18AM -0800, Rob Clark wrote: > > > On Fri, Mar 10, 2023 at 7:45 AM Jonas Ådahl wrote: > > > > > > &g

Re: [PATCH v10 01/15] dma-buf/dma-fence: Add deadline awareness

2023-03-15 Thread Jonas Ådahl
On Fri, Mar 10, 2023 at 09:38:18AM -0800, Rob Clark wrote: > On Fri, Mar 10, 2023 at 7:45 AM Jonas Ådahl wrote: > > > > On Wed, Mar 08, 2023 at 07:52:52AM -0800, Rob Clark wrote: > > > From: Rob Clark > > > > > > Add a way to hint to

Re: [PATCH v10 01/15] dma-buf/dma-fence: Add deadline awareness

2023-03-10 Thread Jonas Ådahl
On Wed, Mar 08, 2023 at 07:52:52AM -0800, Rob Clark wrote: > From: Rob Clark > > Add a way to hint to the fence signaler of an upcoming deadline, such as > vblank, which the fence waiter would prefer not to miss. This is to aid > the fence signaler in making power management decisions, like

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

2023-02-14 Thread Jonas Ådahl
On Tue, Feb 14, 2023 at 12:28:44PM +0200, Ville Syrjälä wrote: > On Tue, Feb 14, 2023 at 10:54:27AM +0100, Jonas Ådahl wrote: > > On Tue, Feb 14, 2023 at 11:25:56AM +0200, Ville Syrjälä wrote: > > > On Thu, Feb 09, 2023 at 03:16:23PM +0100, Jonas Ådahl wrote: > > > >

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

2023-02-14 Thread Jonas Ådahl
On Tue, Feb 14, 2023 at 11:25:56AM +0200, Ville Syrjälä wrote: > On Thu, Feb 09, 2023 at 03:16:23PM +0100, Jonas Ådahl wrote: > > On Wed, Feb 08, 2023 at 11:10:16PM +0200, Ville Syrjala wrote: > > > From: Ville Syrjälä > > > > > > Add a new immutable plane pro

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

2023-02-09 Thread Jonas Ådahl
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. > > v2: Try to add some docs > &

Re: [PATCH 1/2] Revert "drm: hide unregistered connectors from GETCONNECTOR IOCTL"

2022-11-15 Thread Jonas Ådahl
On Tue, Nov 15, 2022 at 08:55:12AM +, Simon Ser wrote: > I've already pushed both patches to drm-misc-next. It's not in any 6.1 rc yet, and apparently it needs to be pushed to drm-misc-fixes to get into 6.1.

Re: [PATCH 1/2] Revert "drm: hide unregistered connectors from GETCONNECTOR IOCTL"

2022-11-15 Thread Jonas Ådahl
: > This reverts commit 981f09295687f856d5345e19c7084aca481c1395. > > It turns out this breaks Mutter. > > Signed-off-by: Simon Ser > Cc: Daniel Vetter > Cc: Lyude Paul > Cc: Jonas Ådahl > --- > drivers/gpu/drm/drm_mode_config.c | 3 --- > 1 file changed, 3 deletions(-)

Re: [PATCH 1/2] Revert "drm: hide unregistered connectors from GETCONNECTOR IOCTL"

2022-10-18 Thread Jonas Ådahl
On Tue, Oct 18, 2022 at 12:58:53PM +0300, Ville Syrjälä wrote: > On Tue, Oct 18, 2022 at 11:27:19AM +0200, Jonas Ådahl wrote: > > On Tue, Oct 18, 2022 at 12:14:09PM +0300, Ville Syrjälä wrote: > > > On Mon, Oct 17, 2022 at 03:31:57PM +, Simon Ser wrote: > >

Re: [PATCH 1/2] Revert "drm: hide unregistered connectors from GETCONNECTOR IOCTL"

2022-10-18 Thread Jonas Ådahl
nas > > > > > Signed-off-by: Simon Ser > > Cc: Daniel Vetter > > Cc: Lyude Paul > > Cc: Jonas Ådahl > > --- > > drivers/gpu/drm/drm_mode_config.c | 3 --- > > 1 file changed, 3 deletions(-) > > > > diff --git a/drivers/gpu/drm/drm_m

Re: [PATCH 2/2] drm/connector: send hotplug uevent on connector cleanup

2022-10-17 Thread Jonas Ådahl
gt; > Signed-off-by: Simon Ser > Cc: sta...@vger.kernel.org > Cc: Daniel Vetter > Cc: Lyude Paul > Cc: Jonas Ådahl Tested-by: Jonas Ådahl Jonas

Re: [PATCH 0/6] drm: Add mouse cursor hotspot support to atomic KMS

2022-06-10 Thread Jonas Ådahl
On Fri, Jun 10, 2022 at 10:49:31AM +0300, Pekka Paalanen wrote: > On Thu, 9 Jun 2022 19:39:39 + > Zack Rusin wrote: > > > On Wed, 2022-06-08 at 10:53 +0300, Pekka Paalanen wrote: > > > On Tue, 7 Jun 2022 17:50:24 + > > > Zack Rusin wrote: > > > > > > > On Tue, 2022-06-07 at 11:07

Re: Call for an EDID parsing library

2021-04-07 Thread Jonas Ådahl
On Wed, Apr 07, 2021 at 10:59:18AM +, Simon Ser wrote: > FWIW, with my Sway/wlroots hat on I think this is a great idea and I'd > definitely be interested in using such as library. A C API with no > dependencies is pretty important from my point-of-view. > > I'd prefer if C++ was not used at

Re: [PATCH v2] drm: document that blobs are ref'counted

2020-11-05 Thread Jonas Ådahl
need > > them anymore. > > > > Signed-off-by: Simon Ser > > Signed-off-by: Daniel Stone > > Reviewed-by: Jonas Ådahl > > Cc: Pekka Paalanen > > Cc: Daniel Vetter > > --- > > include/uapi/drm/drm_mode.h | 6 ++ > > 1 file changed, 6 i

Re: [PATCH] drm: document that blobs are ref'counted

2020-10-22 Thread Jonas Ådahl
Thanks for this! I can't review the correctness, but the description looks clear to me so, Reviewed-by: Jonas Ådahl Jonas On Thu, Oct 22, 2020 at 09:38:05AM +, Simon Ser wrote: > User-space doesn't need to keep track of blobs that might be in use by > the kernel. User-space ca

Re: Plumbing explicit synchronization through the Linux ecosystem

2020-03-17 Thread Jonas Ådahl
On Mon, Mar 16, 2020 at 10:37:04PM -0500, Jason Ekstrand wrote: > On Mon, Mar 16, 2020 at 6:39 PM Roman Gilg wrote: > > > > On Wed, Mar 11, 2020 at 8:21 PM Jason Ekstrand wrote: > > > > > > On Wed, Mar 11, 2020 at 12:31 PM Jason Ekstrand > > > wrote: > > > > > > > > All, > > > > > > > > Sorry