commit | 2b063b85baacfa0d0630a4b5b3649e8fad2fedd9 | [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 | f109e776cdd5c137f908ede0f29523d019215276 [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>