CVS log for src/sys/arch/arm/allwinner/Attic/awin_debe.c
Up to [cvs.NetBSD.org] / src / sys / arch / arm / allwinner
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.21.2.1
Mon Apr 16 01:59:52 2018 UTC (6 years, 10 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
FILE REMOVED
Changes since revision 1.21: +2 -2
lines
Sync with HEAD, resolve some conflicts
Revision 1.22
Sun Apr 8 13:19:17 2018 UTC (6 years, 10 months ago) by jmcneill
Branches: MAIN
CVS tags: thorpej-futex-base,
phil-wifi-20200421,
phil-wifi-20200411,
phil-wifi-20200406,
pgoyette-compat-20190127,
pgoyette-compat-20190118,
pgoyette-compat-1226,
pgoyette-compat-1126,
pgoyette-compat-1020,
pgoyette-compat-0930,
pgoyette-compat-0906,
pgoyette-compat-0728,
pgoyette-compat-0625,
pgoyette-compat-0521,
pgoyette-compat-0502,
pgoyette-compat-0422,
pgoyette-compat-0415,
perseant-exfatfs-base-20240630,
perseant-exfatfs-base,
perseant-exfatfs,
isaki-audio2-base,
isaki-audio2,
cjep_sun2x-base,
cjep_sun2x,
cjep_staticlib_x-base1,
cjep_staticlib_x-base,
cjep_staticlib_x,
bouyer-xenpvh-base2,
bouyer-xenpvh-base1,
bouyer-xenpvh-base,
bouyer-xenpvh,
bouyer-sunxi-drm-base,
bouyer-sunxi-drm,
ad-namecache-base3,
ad-namecache-base2,
ad-namecache-base1,
ad-namecache-base,
ad-namecache,
HEAD
FILE REMOVED
Changes since revision 1.21: +2 -2
lines
Remove old Allwinner port.
Revision 1.21: download - view: text, markup, annotated - select for diffs
Wed Jan 24 05:35:58 2018 UTC (7 years ago) by riastradh
Branches: MAIN
CVS tags: pgoyette-compat-base,
pgoyette-compat-0407,
pgoyette-compat-0330,
pgoyette-compat-0322,
pgoyette-compat-0315
Branch point for: pgoyette-compat
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +3 -3
lines
Fix integer overflows noted by Silvio Cesare of InfoSect.
Someone^TM should name these idioms so we can eliminate this class of
copypasta bug.
Revision 1.20.16.2: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:35:50 2017 UTC (7 years, 2 months ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.20.16.1: preferred, colored; branchpoint 1.20: preferred, colored; next MAIN 1.21: preferred, colored
Changes since revision 1.20.16.1: +634 -0
lines
update from HEAD
Revision 1.8.2.2: download - view: text, markup, annotated - select for diffs
Sun Dec 27 12:09:29 2015 UTC (9 years, 1 month ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.8.2.1: preferred, colored; branchpoint 1.8: preferred, colored; next MAIN 1.9: preferred, colored
Changes since revision 1.8.2.1: +35 -10
lines
Sync with HEAD (as of 26th Dec)
Revision 1.20.16.1
Sun Nov 22 17:50:48 2015 UTC (9 years, 2 months ago) by jdolecek
Branches: tls-maxphys
FILE REMOVED
Changes since revision 1.20: +0 -634
lines
file awin_debe.c was added on branch tls-maxphys on 2017-12-03 11:35:50 +0000
Revision 1.20: download - view: text, markup, annotated - select for diffs
Sun Nov 22 17:50:48 2015 UTC (9 years, 2 months ago) by aymeric
Branches: MAIN
CVS tags: tls-maxphys-base-20171202,
prg-localcount2-base3,
prg-localcount2-base2,
prg-localcount2-base1,
prg-localcount2-base,
prg-localcount2,
pgoyette-localcount-base,
pgoyette-localcount-20170426,
pgoyette-localcount-20170320,
pgoyette-localcount-20170107,
pgoyette-localcount-20161104,
pgoyette-localcount-20160806,
pgoyette-localcount-20160726,
pgoyette-localcount,
perseant-stdc-iso10646-base,
perseant-stdc-iso10646,
nick-nhusb-base-20170825,
nick-nhusb-base-20170204,
nick-nhusb-base-20161204,
nick-nhusb-base-20161004,
nick-nhusb-base-20160907,
nick-nhusb-base-20160529,
nick-nhusb-base-20160422,
nick-nhusb-base-20160319,
nick-nhusb-base-20151226,
netbsd-8-base,
netbsd-8-3-RELEASE,
netbsd-8-2-RELEASE,
netbsd-8-1-RELEASE,
netbsd-8-1-RC1,
netbsd-8-0-RELEASE,
netbsd-8-0-RC2,
netbsd-8-0-RC1,
netbsd-8,
matt-nb8-mediatek-base,
matt-nb8-mediatek,
localcount-20160914,
jdolecek-ncq-base,
jdolecek-ncq,
bouyer-socketcan-base1,
bouyer-socketcan-base,
bouyer-socketcan
Branch point for: tls-maxphys
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +5 -2
lines
do not fail if no awintcon is present so that ALLWINNER_A80 compiles again
Revision 1.19: download - view: text, markup, annotated - select for diffs
Thu Nov 19 18:48:22 2015 UTC (9 years, 2 months ago) by bouyer
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +12 -2
lines
Turn off video output on WSDISPLAYIO_SVIDEO.
For LCD/LVDS, just stop the tcon0.
For HDMI, turn off tcon and hdmi (so that the monitor goes to sleeo)
if the audio output is inactive.
For this, add a lock-protected refcount in awin_hdmi, incremented when
audio and/or video is active.
Tested with an audio-enabled HDMI display.
Revision 1.18: download - view: text, markup, annotated - select for diffs
Tue Nov 3 18:38:03 2015 UTC (9 years, 3 months ago) by bouyer
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +16 -4
lines
A debe can't feed both tcon at the same time.
AWIN_DEBE_MODCTL_OUT_SEL will select which tcon instance will get data
(0 for tcon0, 1 for tcon1).
In tcon, AWIN_TCON_CTL_SRC_SEL_DE0 selects the default debe for this
tcon instance: debe0 for tcon0, debe1 for tcon1.
So always connect tcon0 to debe0 and tcon1 to debe1.
now display modes 0, 1 and 2 works; display modes 3 and 4 needs more work.
Revision 1.17: download - view: text, markup, annotated - select for diffs
Sun Oct 25 20:54:19 2015 UTC (9 years, 3 months ago) by bouyer
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +8 -8
lines
Snapshot of work in progress on support for multiple display outputs.
The display configuration comes from the fex script as defined
in http://linux-sunxi.org/Fex_Guide, section disp_init.
There is some code to convert lcd0_para/lcd1_para to properties but
it's not used yet.
At this time only mode 0 (debe0->tcon0->hdmi) works.
debe0->tcon1->hdmi and debe1->tcon0->hdmi both gives a valid HDMI
signal but completely blank screen. AWIN_TCON1_BLUEDATA gives a blue screen
in both cases so tcon1->hdmi works. I suspect that, for some reason
setups other than debe0->tcon0 are not configured properly, and
the tcon is reading all-1 bits instead of the expected debe output.
Revision 1.16: download - view: text, markup, annotated - select for diffs
Fri Oct 9 07:23:33 2015 UTC (9 years, 4 months ago) by bouyer
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +0 -1
lines
revert previous (turn off tcon when disabling video output).
I found it's better to do it in the hdmi driver, but the hdmi audio issue
needs to be fixed as well.
Revision 1.15: download - view: text, markup, annotated - select for diffs
Mon Oct 5 14:42:19 2015 UTC (9 years, 4 months ago) by bouyer
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +3 -2
lines
When disabling video ouput also turn off the tcon. This will cause the
HDMI output to stop too, and the monitor will go to sleep.
Revision 1.8.2.1: download - view: text, markup, annotated - select for diffs
Mon Apr 6 15:17:51 2015 UTC (9 years, 10 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +237 -18
lines
Sync with HEAD
Revision 1.14: download - view: text, markup, annotated - select for diffs
Sun Dec 21 18:36:05 2014 UTC (10 years, 1 month ago) by jmcneill
Branches: MAIN
CVS tags: nick-nhusb-base-20150921,
nick-nhusb-base-20150606,
nick-nhusb-base-20150406
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +3 -2
lines
actually initialize mode.vdisplay
Revision 1.13: download - view: text, markup, annotated - select for diffs
Sun Dec 21 17:40:59 2014 UTC (10 years, 1 month ago) by jmcneill
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +57 -16
lines
add support for re-using a display mode setup by the bootloader
Revision 1.6.2.6: download - view: text, markup, annotated - select for diffs
Tue Dec 9 19:21:09 2014 UTC (10 years, 2 months ago) by martin
Branches: netbsd-7
CVS tags: netbsd-7-nhusb-base-20170116,
netbsd-7-nhusb-base,
netbsd-7-nhusb,
netbsd-7-2-RELEASE,
netbsd-7-1-RELEASE,
netbsd-7-1-RC2,
netbsd-7-1-RC1,
netbsd-7-1-2-RELEASE,
netbsd-7-1-1-RELEASE,
netbsd-7-1,
netbsd-7-0-RELEASE,
netbsd-7-0-RC3,
netbsd-7-0-RC2,
netbsd-7-0-RC1,
netbsd-7-0-2-RELEASE,
netbsd-7-0-1-RELEASE,
netbsd-7-0
Diff to: previous 1.6.2.5: preferred, colored; next MAIN 1.7: preferred, colored
Changes since revision 1.6.2.5: +9 -2
lines
Pull up following revision(s) (requested by jmcneill in ticket #301):
sys/arch/arm/allwinner/awin_reg.h: revision 1.72
sys/arch/arm/allwinner/awin_debe.c: revision 1.12
Set BGRA pixel sequence if __ARMEB__ is defined.
Revision 1.12: download - view: text, markup, annotated - select for diffs
Mon Dec 8 10:48:22 2014 UTC (10 years, 2 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +9 -2
lines
Set BGRA pixel sequence if __ARMEB__ is defined.
Revision 1.11: download - view: text, markup, annotated - select for diffs
Thu Dec 4 11:16:38 2014 UTC (10 years, 2 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +16 -2
lines
Add awinmp(4) glue.
It won't compile (uses nonexistent ioctls) but adding this for posterity.
In my testing, 2D accel for solid fill and copy is considerably slower than
with software rendering, so no sense in turning this on.
Revision 1.6.2.5: download - view: text, markup, annotated - select for diffs
Mon Dec 1 13:23:49 2014 UTC (10 years, 2 months ago) by martin
Branches: netbsd-7
Diff to: previous 1.6.2.4: preferred, colored
Changes since revision 1.6.2.4: +160 -4
lines
Pull up following revision(s) (requested by jmcneill in ticket #284):
sys/arch/arm/allwinner/awin_reg.h: revision 1.56
sys/arch/arm/allwinner/awin_debe.c: revision 1.9-1.10
sys/arch/arm/allwinner/awin_mp.c: revision 1.1
sys/arch/arm/allwinner/awin_fb.c: revision 1.7
hardware cursor support
hide the hw cursor when blanking the screen
Revision 1.10: download - view: text, markup, annotated - select for diffs
Sun Nov 30 20:04:57 2014 UTC (10 years, 2 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +14 -4
lines
hide the hw cursor when blanking the screen
Revision 1.9: download - view: text, markup, annotated - select for diffs
Sun Nov 30 19:15:53 2014 UTC (10 years, 2 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +148 -2
lines
hardware cursor support
Revision 1.6.2.4: download - view: text, markup, annotated - select for diffs
Sat Nov 15 11:31:40 2014 UTC (10 years, 3 months ago) by martin
Branches: netbsd-7
Diff to: previous 1.6.2.3: preferred, colored
Changes since revision 1.6.2.3: +30 -2
lines
Pull up following revision(s) (requested by jmcneill in ticket #239):
sys/arch/arm/allwinner/awin_debe.c: revision 1.8
sys/arch/arm/allwinner/awin_var.h: revision 1.24
sys/arch/arm/allwinner/awin_fb.c: revision 1.6
Implement WSDISPLAYIO_SVIDEO, WSDISPLAYIO_GVIDEO for screen blanking
Revision 1.8: download - view: text, markup, annotated - select for diffs
Fri Nov 14 23:45:02 2014 UTC (10 years, 3 months ago) by jmcneill
Branches: MAIN
CVS tags: nick-nhusb-base
Branch point for: nick-nhusb
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +30 -2
lines
Implement WSDISPLAYIO_SVIDEO, WSDISPLAYIO_GVIDEO for screen blanking
Revision 1.6.2.3: download - view: text, markup, annotated - select for diffs
Fri Nov 14 22:23:28 2014 UTC (10 years, 3 months ago) by martin
Branches: netbsd-7
Diff to: previous 1.6.2.2: preferred, colored
Changes since revision 1.6.2.2: +26 -8
lines
Pull up following revision(s) (requested by jmcneill in ticket #238):
sys/arch/evbarm/awin/awin_machdep.c: revision 1.28
sys/arch/arm/allwinner/awin_debe.c: revision 1.7
sys/arch/arm/allwinner/awin_var.h: revision 1.23
sys/arch/arm/allwinner/awin_fb.c: revision 1.5
Allow the DEBE layer and output sizes to be set independently. Now you can
pass fb.margin=<n> in bootargs to add a border to the framebuffer, in case
your display doesn't let you turn off overscan and you really want to see
the whole screen.
Revision 1.7: download - view: text, markup, annotated - select for diffs
Fri Nov 14 19:47:36 2014 UTC (10 years, 3 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +26 -8
lines
Allow the DEBE layer and output sizes to be set independently. Now you can
pass fb.margin=<n> in bootargs to add a border to the framebuffer, in case
your display doesn't let you turn off overscan and you really want to see
the whole screen.
Revision 1.6.2.2: download - view: text, markup, annotated - select for diffs
Fri Nov 14 13:26:46 2014 UTC (10 years, 3 months ago) by martin
Branches: netbsd-7
Diff to: previous 1.6.2.1: preferred, colored
Changes since revision 1.6.2.1: +344 -0
lines
Pull up following revision(s) (requested by jmcneill in ticket #210):
sys/arch/arm/allwinner/awin_board.c: revisions 1.26-1.27
sys/arch/arm/allwinner/awin_debe.c: revisions 1.1-1.6
sys/arch/arm/allwinner/awin_fb.c: revisions 1.1-1.4
sys/arch/arm/allwinner/awin_hdmi.c: revisions 1.3-1.6,1.9-1.12
sys/arch/arm/allwinner/awin_io.c: revision 1.27
sys/arch/arm/allwinner/awin_reg.h: revisions 1.46-1.47,1.49
sys/arch/arm/allwinner/awin_tcon.c: revisions 1.1-1.5
sys/arch/arm/allwinner/awin_var.h: revisions 1.20-1.22
sys/arch/arm/allwinner/files.awin: revisions 1.22-1.23,1.25
sys/arch/evbarm/awin/awin_machdep.c: revision 1.26
sys/arch/evbarm/conf/BPI: revision 1.10
sys/arch/evbarm/conf/CUBIEBOARD: revision 1.32
sys/arch/evbarm/conf/HUMMINGBIRD_A31: revisions 1.17-1.18
sys/dev/wscons/wsconsio.h: revision 1.109
HDMI framebuffer for Allwinner boards.
Revision 1.6.2.1
Fri Nov 14 00:31:54 2014 UTC (10 years, 3 months ago) by martin
Branches: netbsd-7
FILE REMOVED
Changes since revision 1.6: +0 -344
lines
file awin_debe.c was added on branch netbsd-7 on 2014-11-14 13:26:46 +0000
Revision 1.6: download - view: text, markup, annotated - select for diffs
Fri Nov 14 00:31:54 2014 UTC (10 years, 3 months ago) by jmcneill
Branches: MAIN
Branch point for: netbsd-7
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +17 -9
lines
Add support for interlaced video modes.
Revision 1.5: download - view: text, markup, annotated - select for diffs
Wed Nov 12 23:12:27 2014 UTC (10 years, 3 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +12 -6
lines
On 2GB systems, we have to subtract AWIN_SDRAM_PBASE from the physical address.
Revision 1.4: download - view: text, markup, annotated - select for diffs
Tue Nov 11 19:22:32 2014 UTC (10 years, 3 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +5 -4
lines
defflag AWIN_HDMI_DEBUG, AWIN_TCON_DEBUG, AWIN_DEBE_DEBUG, and defparam AWIN_DEBE_VIDEOMEM
Revision 1.3: download - view: text, markup, annotated - select for diffs
Mon Nov 10 17:55:25 2014 UTC (10 years, 3 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +60 -32
lines
HDMI framebuffer support, tested on Cubieboard2 and Hummingbird A31.
Revision 1.2: download - view: text, markup, annotated - select for diffs
Sun Nov 9 14:30:55 2014 UTC (10 years, 3 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +7 -7
lines
If we can't determine the preferred display mode for some reason, fallback
to 640x480.
Revision 1.1: download - view: text, markup, annotated - select for diffs
Sun Nov 9 14:10:54 2014 UTC (10 years, 3 months ago) by jmcneill
Branches: MAIN
awin framebuffer support, not sure if this works yet because hdmi is not working yet
CVSweb <webmaster@jp.NetBSD.org>