changeset 2d5d847aab27 in /z/repo/gem5
details: http://repo.gem5.org/gem5?cmd=changeset;node=2d5d847aab27
description:
dev, arm: Disable R/B swap in HDLCD by default
The HDLCD model implements a workaround that swaps the red and blue
channels. This works around an issue in certain old kernels. The new
driver doesn't seem to have this behavior, so disable the workaround
by default and enable it in the affected platforms.
diffstat:
src/dev/arm/RealView.py | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (22 lines):
diff -r 3232a75ed9c0 -r 2d5d847aab27 src/dev/arm/RealView.py
--- a/src/dev/arm/RealView.py Fri Dec 04 00:19:05 2015 +0000
+++ b/src/dev/arm/RealView.py Fri Dec 04 00:19:05 2015 +0000
@@ -240,7 +240,7 @@
vnc = Param.VncInput(Parent.any, "Vnc server for remote frame buffer "
"display")
amba_id = 0x00141000
- workaround_swap_rb = Param.Bool(True, "Workaround incorrect color "
+ workaround_swap_rb = Param.Bool(False, "Workaround incorrect color "
"selector order in some kernels")
workaround_dma_line_count = Param.Bool(True, "Workaround incorrect "
"DMA line count (off by 1)")
@@ -541,7 +541,8 @@
timer1 = Sp804(int_num0=35, int_num1=35, pio_addr=0x1C120000,
clock0='1MHz', clock1='1MHz')
clcd = Pl111(pio_addr=0x1c1f0000, int_num=46)
hdlcd = HDLcd(pxl_clk=dcc.osc_pxl,
- pio_addr=0x2b000000, int_num=117)
+ pio_addr=0x2b000000, int_num=117,
+ workaround_swap_rb=True)
kmi0 = Pl050(pio_addr=0x1c060000, int_num=44)
kmi1 = Pl050(pio_addr=0x1c070000, int_num=45, is_mouse=True)
vgic = VGic(vcpu_addr=0x2c006000, hv_addr=0x2c004000, ppint=25)
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev