[RFC][PATCH v2 0/3] drm: Add plane SIZE_HINTS property
Ville Syrjala
ville.syrjala at linux.intel.com
Tue Mar 21 14:36:40 UTC 2023
From: Ville Syrjälä <ville.syrjala at 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 at emersion.fr>
Cc: Jonas Ådahl <jadahl at redhat.com>
Cc: Daniel Stone <daniel at fooishbar.org>
Cc: Pekka Paalanen <pekka.paalanen at 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
More information about the dri-devel
mailing list