Files
linux/include/drm
Lyude Paul 8abaa80b40 drm/mode_config: Make drm_mode_config.(max|min)_(width|height) unsigned
It doesn't make much sense to allow devices to specify their min/max
resolution as signed integers, and in Rust with CONFIG_RUST_OVERFLOW_CHECKS
enabled this provides us actual over/underflow checks. Similarly, it
doesn't really make much sense for us to allow devices to specify their
minimum/maximum resolution as signed.

Signed-off-by: Lyude Paul <lyude@redhat.com>
Reviewed-by: Maxime Ripard <mripard@kernel.org>
Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Thomas Zimmermann <tzimmermann@suse.de>
Link: https://lore.kernel.org/r/20250331222556.454334-3-lyude@redhat.com
2025-04-02 17:20:01 -04:00
..
2025-03-05 17:08:59 +01:00
2025-01-08 01:39:58 +02:00
2025-02-13 12:15:43 -05:00
2023-11-14 10:23:12 +01:00
2025-04-01 16:58:04 +02:00
2024-06-24 17:08:53 +03:00
2024-08-23 16:47:56 +02:00
2024-11-21 09:28:11 -06:00