intel-gfx.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* [Intel-gfx] [RFC][PATCH v2 0/3] drm: Add plane SIZE_HINTS property
@ 2023-03-21 14:36 Ville Syrjala
  2023-03-21 14:36 ` [Intel-gfx] [RFC][PATCH v2 1/3] drm: Introduce " Ville Syrjala
                   ` (6 more replies)
  0 siblings, 7 replies; 9+ messages in thread
From: Ville Syrjala @ 2023-03-21 14:36 UTC (permalink / raw)
  To: dri-devel
  Cc: Simon Ser, intel-gfx, Pekka Paalanen, Jonas Ådahl, Daniel Stone

From: Ville Syrjälä <ville.syrjala@linux.intel.com>

I was pondering how I'd be able to do non-square cursor
sizes without have a massive list of them in the SIZE_HINTS
blob.

So I came up with this idea of having a 2D bitmap in
there to indicate support for (mostly) POT non-square
sizes..

What does everyone think? Is this just getting too
complicated and should we just go with the original
"a list of suppored sizes" approach?

Cc: Simon Ser <contact@emersion.fr>
Cc: Jonas Ådahl <jadahl@redhat.com>
Cc: Daniel Stone <daniel@fooishbar.org>
Cc: Pekka Paalanen <pekka.paalanen@collabora.com>

Ville Syrjälä (3):
  drm: Introduce plane SIZE_HINTS property
  drm/i915: Adjust cursor_size_ok() func calling convention
  drm/i915: Add SIZE_HINTS property for cursors

 drivers/gpu/drm/drm_mode_config.c           |  7 ++
 drivers/gpu/drm/drm_plane.c                 | 96 +++++++++++++++++++++
 drivers/gpu/drm/i915/display/intel_cursor.c | 96 ++++++++++++++-------
 include/drm/drm_mode_config.h               |  5 ++
 include/drm/drm_plane.h                     |  6 ++
 include/uapi/drm/drm_mode.h                 | 29 +++++++
 6 files changed, 208 insertions(+), 31 deletions(-)

-- 
2.39.2


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2023-03-30 10:30 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-21 14:36 [Intel-gfx] [RFC][PATCH v2 0/3] drm: Add plane SIZE_HINTS property Ville Syrjala
2023-03-21 14:36 ` [Intel-gfx] [RFC][PATCH v2 1/3] drm: Introduce " Ville Syrjala
2023-03-30 10:29   ` Pekka Paalanen
2023-03-21 14:36 ` [Intel-gfx] [RFC][PATCH v2 2/3] drm/i915: Adjust cursor_size_ok() func calling convention Ville Syrjala
2023-03-21 14:36 ` [Intel-gfx] [RFC][PATCH v2 3/3] drm/i915: Add SIZE_HINTS property for cursors Ville Syrjala
2023-03-21 16:12 ` [Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm: Add plane SIZE_HINTS property (rev4) Patchwork
2023-03-21 16:12 ` [Intel-gfx] ✗ Fi.CI.SPARSE: " Patchwork
2023-03-21 16:12 ` [Intel-gfx] ✗ Fi.CI.DOCS: " Patchwork
2023-03-21 16:29 ` [Intel-gfx] ✗ Fi.CI.BAT: failure " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).