Re: [PATCH 5/5] drm/vmwgfx: Sort primary plane formats by order of preference

2024-04-04 Thread Pekka Paalanen
On Wed, 3 Apr 2024 07:44:54 -0400 Zack Rusin wrote: > On Wed, Apr 3, 2024 at 3:43 AM Pekka Paalanen > wrote: > > > > On Tue, 2 Apr 2024 19:28:13 -0400 > > Zack Rusin wrote: > > > > > The table of primary plane formats wasn't sorted at all, leading to > > > applications picking our least desi

Re: [PATCH 5/5] drm/vmwgfx: Sort primary plane formats by order of preference

2024-04-03 Thread Zack Rusin
On Wed, Apr 3, 2024 at 3:43 AM Pekka Paalanen wrote: > > On Tue, 2 Apr 2024 19:28:13 -0400 > Zack Rusin wrote: > > > The table of primary plane formats wasn't sorted at all, leading to > > applications picking our least desirable formats by defaults. > > > > Sort the primary plane formats accord

Re: [PATCH 5/5] drm/vmwgfx: Sort primary plane formats by order of preference

2024-04-03 Thread Pekka Paalanen
On Tue, 2 Apr 2024 19:28:13 -0400 Zack Rusin wrote: > The table of primary plane formats wasn't sorted at all, leading to > applications picking our least desirable formats by defaults. > > Sort the primary plane formats according to our order of preference. This is good. > Fixes IGT's kms_at

[PATCH 5/5] drm/vmwgfx: Sort primary plane formats by order of preference

2024-04-02 Thread Zack Rusin
The table of primary plane formats wasn't sorted at all, leading to applications picking our least desirable formats by defaults. Sort the primary plane formats according to our order of preference. Fixes IGT's kms_atomic plane-invalid-params which assumes that the preferred format is a 32bpp form