diff options
author | Andreas Sandberg <andreas.sandberg@arm.com> | 2015-05-23 13:37:04 +0100 |
---|---|---|
committer | Andreas Sandberg <andreas.sandberg@arm.com> | 2015-05-23 13:37:04 +0100 |
commit | cba3a125e1b7af015a736d44ab84a36129ee6890 (patch) | |
tree | 2ca284b6bd6d78d29f0aac37bb083d7acb1f5a03 /src/dev/arm/hdlcd.hh | |
parent | db5c9a5f9028fd87a74e1750068511bd311435ae (diff) | |
download | gem5-cba3a125e1b7af015a736d44ab84a36129ee6890.tar.xz |
arm: Workaround incorrect HDLCD register order in kernel
Some versions of the kernel incorrectly swap the red and blue color
select registers. This changeset adds a workaround for that by
swapping them when instantiating a PixelConverter.
Diffstat (limited to 'src/dev/arm/hdlcd.hh')
-rw-r--r-- | src/dev/arm/hdlcd.hh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/dev/arm/hdlcd.hh b/src/dev/arm/hdlcd.hh index 61d2dc5d7..519afeba6 100644 --- a/src/dev/arm/hdlcd.hh +++ b/src/dev/arm/hdlcd.hh @@ -486,6 +486,8 @@ class HDLcd: public AmbaDmaDevice bool enableCapture; + const bool workaround_swap_rb; + public: typedef HDLcdParams Params; |