commit | b9f210a35c39a191ca375e541e09686a3303e428 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Tue Nov 06 15:21:36 2018 -0700 |
committer | Simon Glass <sjg@chromium.org> | Tue Nov 20 19:14:22 2018 -0700 |
tree | c05683e349d9457917c606225d77fdaac0a1aeae | |
parent | 4b6dbaa3073adb24f8c67f89d0f70dbcf00808b9 [diff] |
video: Update video_set_default_colors() to support invert It is useful to be able to invert the colours in some cases so that the text matches the background colour. Add a parameter to the function to support this. It is strange that function takes a private data structure from another driver as an argument. It seems better to pass the device and have the function internally work out how to find its required information. Signed-off-by: Simon Glass <sjg@chromium.org>