summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSimon Glass <[email protected]>2025-01-10 17:00:19 -0700
committerTom Rini <[email protected]>2025-01-22 17:08:23 -0600
commit97425461e7be88c047f7acb3d701c74cf2acac39 (patch)
tree3491197a0c081935319284f5a56ddd872d4487b7 /include
parentd56c761ca29e420fde7ad464fcf515564932a952 (diff)
pci: video: Set up the pixel-format field
Add this information to the handoff structure so that it is available to U-Boot proper. Update bochs and the video handoff. Signed-off-by: Simon Glass <[email protected]>
Diffstat (limited to 'include')
-rw-r--r--include/video.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/video.h b/include/video.h
index 4ec71ab16da..a1f7fd7e839 100644
--- a/include/video.h
+++ b/include/video.h
@@ -150,6 +150,7 @@ struct video_ops {
* set by the driver, but if not, the uclass will set it after
* probing
* @bpix: Encoded bits per pixel (enum video_log2_bpp)
+ * @format: Video format (enum video_format)
*/
struct video_handoff {
u64 fb;
@@ -158,6 +159,7 @@ struct video_handoff {
u16 ysize;
u32 line_length;
u8 bpix;
+ u8 format;
};
/** enum colour_idx - the 16 colors supported by consoles */