Skip to content
Commit 3fdc1777 authored by Laurent Pinchart's avatar Laurent Pinchart Committed by Rob Clark
Browse files

modetest: Unify buffer allocation



Merge the create_test_buffer() and create_grey_buffer() functions into a
single buffer allocation function that takes the pixel format and fill
pattern as parameters.

Signed-off-by: default avatarLaurent Pinchart <laurent.pinchart@ideasonboard.com>
parent faf26b68
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment