Commit e22b86e9 authored by Ville Syrjälä's avatar Ville Syrjälä
Browse files

drm/rect: Add drm_rect_init()



Add a helper to initialize a rectangle from x/y/w/h information.

Signed-off-by: default avatarVille Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190930134214.24702-2-ville.syrjala@linux.intel.com


Reviewed-by: default avatarJani Nikula <jani.nikula@intel.com>
parent 763ba2ec
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment