All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] drm: Make some resolution info unsigned
@ 2025-03-25 21:27 Lyude Paul
  2025-03-25 21:27 ` [PATCH 1/2] drm/edid: Use unsigned int in drm_add_modes_noedid() Lyude Paul
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Lyude Paul @ 2025-03-25 21:27 UTC (permalink / raw)
  To: Maxime Ripard, Greg Kroah-Hartman, dri-devel, linux-kernel
  Cc: Miguel Ojeda, Alex Gaynor, Boqun Feng, Gary Guo,
	Björn Roy Baron, Benno Lossin, Andreas Hindborg, Alice Ryhl,
	Trevor Gross, open list:RUST:Keyword:b(?i:rust)b

During the review of some of my patches for KMS bindings in Rust, it was
pointed out we have some areas of DRM that are storing resolutions as
signed integers when it doesn't really make sense. Since there's no real
usecase for this and it's a bit more obvious when writing rust code then
it is in C, let's fix this.

Lyude Paul (2):
  drm/edid: Use unsigned int in drm_add_modes_noedid()
  drm/mode_config: Make drm_mode_config.(max|min)_(width|height) signed

 drivers/gpu/drm/drm_edid.c    | 2 +-
 include/drm/drm_edid.h        | 2 +-
 include/drm/drm_mode_config.h | 4 ++--
 3 files changed, 4 insertions(+), 4 deletions(-)


base-commit: 5da39dce1fa3c81dc6552a16a9f748ba2980d630
-- 
2.48.1


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

end of thread, other threads:[~2025-03-29 12:04 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-25 21:27 [PATCH 0/2] drm: Make some resolution info unsigned Lyude Paul
2025-03-25 21:27 ` [PATCH 1/2] drm/edid: Use unsigned int in drm_add_modes_noedid() Lyude Paul
2025-03-26  9:29   ` Thomas Zimmermann
2025-03-26 10:39   ` Jani Nikula
2025-03-26 11:06     ` Miguel Ojeda
2025-03-28 22:27     ` Lyude Paul
2025-03-29 12:04       ` Miguel Ojeda
2025-03-25 21:27 ` [PATCH 2/2] drm/mode_config: Make drm_mode_config.(max|min)_(width|height) signed Lyude Paul
2025-03-26  9:32   ` Thomas Zimmermann
2025-03-26  9:07 ` [PATCH 0/2] drm: Make some resolution info unsigned Maxime Ripard

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.