Skip to content
Commit 84509eed authored by José Expósito's avatar José Expósito
Browse files

drm/rect: Add DRM_RECT_INIT() macro



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

Reviewed-by: default avatarJani Nikula <jani.nikula@intel.com>
Reviewed-by: default avatarDavid Gow <davidgow@google.com>
Acked-by: default avatarThomas Zimmermann <tzimmermann@suse.de>
Signed-off-by: default avatarJosé Expósito <jose.exposito89@gmail.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220620160640.3790-2-jose.exposito89@gmail.com
parent 016a14be
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment