]> git.baikalelectronics.ru Git - kernel.git/commit
drm/rect: Add DRM_RECT_INIT() macro
authorJosé Expósito <jose.exposito89@gmail.com>
Mon, 20 Jun 2022 16:06:38 +0000 (18:06 +0200)
committerJosé Expósito <jose.exposito89@gmail.com>
Mon, 27 Jun 2022 11:45:48 +0000 (13:45 +0200)
commit531349318bfcd1b57148076bedda43dd1a46b7ea
treeb335e53c145569d1268477f1f55039f19b00f9a0
parentbd8c51af8c511f6a14efd6398582a46e294ad7ba
drm/rect: Add DRM_RECT_INIT() macro

Add a helper macro to initialize a rectangle from x, y, width and
height information.

Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: David Gow <davidgow@google.com>
Acked-by: Thomas Zimmermann <tzimmermann@suse.de>
Signed-off-by: José Expósito <jose.exposito89@gmail.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220620160640.3790-2-jose.exposito89@gmail.com
include/drm/drm_rect.h